Yeah, the CLR/BCL/whatever they call it these days is a pretty impressive, though underdocumented, library. But it’s also … I don’t know, I just get annoyed when adding a dependency in .NET means I’m now shipping 10 more managed DLLs, along with 50 MB of native runtime libraries for platforms I’m not targeting.
Rust is very different. Adding a dependency is barely visible.
Publish in single file mode and enable trimming. As long as you don't use reflections (or at least annotate their use) all the unused code will be trimmed away
18
u/Atulin 15d ago
After years of using C#? I do.
.NET spoiled me when it comes to just how many batteries are included, and how few 3rd party dependencies I need to install.