I like modern C# a lot, but would not pick .Net for a CLI tool due to the slow startup times I experienced compared to rust or go. And packaging the runtime has always felt a bit too annoying compared to a native compilation. I would be interested to learn if you had a good experience, I haven’t dealt with .Net CLI apps since a while, I’m sure things improved.
Edit: I read the docs, seems to be available with .net 8 if I understand correctly
https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...
I’ve never experienced any startup time delays at all with recent .NET development, even when running on underpowered cloud VMs. Nothing that would have any tangible real world effect anyway.
There are also lots of optimisations available now and much more work is being done to reduce binary sizes, AOT etc
They are native code and generally between around 11MB and 20MB depending upon what they do.