4 ms·
> Pity that they didn't go with AOT compiled .NET, though. Yeah. It seems to be unfashionable somewhat even within Microsoft. (edit: it seems to be you and me
by pjc50 2y ago
> Pity that they didn't go with AOT compiled .NET, though.
Yeah. It seems to be unfashionable somewhat even within Microsoft.
(edit: it seems to be you and me and barely anyone else on HN advocating for C#)
- atonse 2y agoThis was also surprising to me – C# is a really awesome and modern language. I happened to be doing a lot of C# and .NET dev when all this transition was happening, and it was very cool to be able to run .NET in Linux. C# is a powerful language with great and constantly evolving ideas in it. But then all the stuff between the runtimes, API surfaces, Core vs Framework, etc all got extremely confusing and off-putting. It was necessary to bring all these ecosystems together, but I wonder if that kept people away for a bit? Not sure.
- pjmlp 2y agoAll Azure contributions to CNCF are using a mix of Go and Rust, mostly. Here is a kind of weird, given the team.
- nwah1 2y agoAlso, this is surprising because this was presented and led by Anders Hejlsberg, who is the creator of both C# and Typescript. If anyone should have picked C# it would be him.
- dagw 2y agoHejlsberg seemed quite negative when it came to cross platform AOT compiled C# in several comments he's made, hinting at problems with both performance and maturity on certain platforms.
- zigzag312 2y agoProjects like this are needed to improve C#'s cross platform AOT. Missed opportunity IMO.
- ryanjshaw 2y agoAbsolutely. Go is where it is because of the parent org's commitment to dogfooding it; strange that Microsoft is wasting this opportunity AND sending a negative message to .NET devs.
- Cthulhu_ 2y agoSure, but this team's focus is on Typescript, not C# / cross-platform AOT; there's only so much time in a day. Others can pick it up I'm sure. But I think it's also an indication that Typescript may be bigger and more important for Microsoft than C#/.NET is at this time. It's definitely much more used than C# is according to this non-representative survey of Stack Overflow (https://survey.stackoverflow.co/2024/technology https://survey.stackoverflow.co/2024/technology).
- Cthulhu_ 2y agoAt the same time, if anyone can make a language choice, it's him - the fact he didn't pick his own language is high praise for both himself and his neutrality, and the Go language.
- Chyzwar 2y agoI think the main thing is that they are porting, not re-writing. Current tsc is functional by nature and that's makes go better fit.
- xanth 2y agoI think the much larger ask C# couldn't answer is the "expressive" access to low level struct layout[1] [1] https://www.youtube.com/watch?v=10qowKUW82U&t=769s https://www.youtube.com/watch?v=10qowKUW82U&t=769s