News for hackers. Stuff that matters.
Re:A 10x Faster TypeScript by pjc50 on Tuesday March 11, 2025 @10:52AM (#43333033)
> 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#)

Re:A 10x Faster TypeScript by nwah1 on Tuesday March 11, 2025 @11:24AM (#43333388)
Also, 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.

Re:A 10x Faster TypeScript by dagw on Tuesday March 11, 2025 @01:13PM (#43334733)
Hejlsberg 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.
Re:A 10x Faster TypeScript by zigzag312 on Tuesday March 11, 2025 @02:05PM (#43335326)
Projects like this are needed to improve C#'s cross platform AOT. Missed opportunity IMO.
Re:A 10x Faster TypeScript by ryanjshaw on Wednesday March 12, 2025 @03:39AM (#43340739)
Absolutely. 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.
Re:A 10x Faster TypeScript by Cthulhu_ on Wednesday March 12, 2025 @05:02AM (#43341138)
Sure, 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).

Re:A 10x Faster TypeScript by Cthulhu_ on Wednesday March 12, 2025 @04:59AM (#43341120)
At 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.
Re:A 10x Faster TypeScript by aws_ls on Wednesday March 12, 2025 @07:14AM (#43342011)
Go compiler tooklit works very well on all the OSes. That would be a consideration.
Re:A 10x Faster TypeScript by nwah1 on Thursday March 13, 2025 @01:17PM (#43355375)
So does the .NET compiler. That is not the issue.
Re:A 10x Faster TypeScript by atonse on Tuesday March 11, 2025 @10:59AM (#43333128)
This 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.

Re:A 10x Faster TypeScript by pjmlp on Tuesday March 11, 2025 @11:01AM (#43333151)
All Azure contributions to CNCF are using a mix of Go and Rust, mostly.

Here is a kind of weird, given the team.

Re:A 10x Faster TypeScript by Chyzwar on Tuesday March 11, 2025 @06:20PM (#43337712)
I 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.
Re:A 10x Faster TypeScript by xanth on Tuesday March 11, 2025 @09:48PM (#43339174)
I 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