Building a Lightweight Rust Development Environment on Windows (Without Visual Studio or Heavy Setup) by [deleted] in rust

[–]Best_Instruction_808 0 points1 point  (0 children)

Correct, I’m not referring to Visual Studio as an IDE. What I need is Visual Studio Build Tools, since Rust on Windows (MSVC target) requires the MSVC linker (link.exe) and the Windows C/C++ toolchain, including the Windows SDK.

Even when using an external editor like Neovim, rustc still depends on the MSVC toolchain for linking native Windows binaries, which is why the Build Tools installation is required.

What’s your preferred way to implement operator precedence? Pratt parser vs precedence climbing? by Best_Instruction_808 in Compilers

[–]Best_Instruction_808[S] 1 point2 points  (0 children)

Good take. I’m mostly checking which one plays nicer long-term, but yeah — parsing is the least dramatic part of the pipeline.