logoalt Hacker News

CharlieDigital • yesterday at 7:31 PM • 3 replies • view on HN

    > I think C# would be a great choice for both CLI apps and server less functions.
Really? I feel those are the two areas where it falls short. CLI apps and serverless both value cold starts and C# is not great at it because of the JIT overhead. The immaturity of NativeAOT ecosystem on C# was cited by Anders as one of the reasons the TS team chose to rewrite in Go.

Replies

iceboundrock • today at 6:43 AM

.NET has a pretty good AOT compiler since .NET 8

https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

qingcharles • yesterday at 11:33 PM

I write all my CLI apps in C#, but I hear you on the startup time. I guess it depends what you are working on whether that little hiccup is a problem. I've never once noticed it with anything I've written.

➕ show 1 reply
raincole • yesterday at 8:43 PM

I think by CLI apps they mean something more like Claude Code than ripgrep.