Earlier quoted context omitted.
So wild that most of these points were something C# was supposed to be good at, and they all boil down to "its just not as good in C# as in Go"
I'm happy to see it to be honest; at this point C# is 25 years old, and since then there's been a lot of innovation and development in programming languages and ecosystems (as well as 10x more software developers, at least - I am guessing at this number). Current-day programming languages, including Go and Typescript, will have had a lot of learnings from C#, including in things like generics and the like.
A 10x Faster TypeScript
781–790 of 943 posts
Re: A 10x Faster TypeScript
#782Earlier quoted context omitted.
So wild that most of these points were something C# was supposed to be good at, and they all boil down to "its just not as good in C# as in Go"
I don't really get the OOP arguments from Anders. You don't need to do OOP stuff in C# - just write a bunch of static functions if you want. However, I totally get the AOT aspect. Creating a simple cli app meant for wide distribution in .NET isn't great because you either have to ship the runtime or try to use AOT which is very much a step out. I have come to the same conclusion and used Go on some occasions for the…
Re: A 10x Faster TypeScript
#783The news for me is Microsoft teams relying on Go. Strange choice to use Go for the compiler instead of C# or F#. Now if they will have problems, they will depend on the Go team at Google to fix them.
Or collaborate with Go team.
Re: A 10x Faster TypeScript
#784Few things are more Microsofty than a team reaching over to a competitor's language instead of using their own and to boot none of the reasons given so far seem credible, good job to the team nonetheless.
Re: A 10x Faster TypeScript
#785Typescript compiles to javascript, so does this not prove what people have been screaming from the rooftops for so long that there's a significant performance penalty with typescript for almost no actual benefit?
What is more important is that tsc does typechecking, which is a static analysis of sorts to ensure code correctness. But this has nothing to do with runtime performance, that's entirely in JS land and in JS transpilers / optimizers.
Re: A 10x Faster TypeScript
#786So, to me, Hejlsberg's choice sounds pretty logical.
After, why go ? why not...
Re: A 10x Faster TypeScript
#787This will be very welcome. I've been working on refactoring very large Typescript files in a very large solution in VS2022. Sometimes it gets into a state where just editing the code or copy/pasting causes it to hang for a few seconds and the fans on my workstation to take off like a jet engine. The typing advantages my team has gotten from migrating our codebase to Typescript has been invaluable, but the performance…
Re: A 10x Faster TypeScript
#788“Developers rewrite tools from dynamic language to statically compiled one - improves performance by 10x” Also, what’s up with 10x everywhere? Why not 9.5x or 11x?
Re: A 10x Faster TypeScript
#789Funny, until now I always thought that TypeScript is JavaScript with some C# vibes https://news.ycombinator.com/item?id=43320086