News for hackers. Stuff that matters.
Re:JavaScript Structs by pier25 on Thursday October 10, 2024 @03:56PM (#41802851)
> or more performant

Obviously then can't make TS more performance (since it doesn't execute) but C# is very performant and even surpasses Go in the TechEmpower benchmarks.

Re:JavaScript Structs by leetharris on Thursday October 10, 2024 @04:08PM (#41802979)
Absolutely. I love C# and .NET, they are incredible and very fast. I just meant to say that they aren't only focused on performance, but also focused on new features.

One of the best things .NET did was adding minimal APIs in .NET 6 (I think) that are more like Express. They removed a lot of boilerplate and unnecessary stuff, making it easier to start building an API.

Re:JavaScript Structs by o11c on Friday October 11, 2024 @01:24AM (#41806439)
TS is pretty impressive in that its compiler is slower than C++ compilers though.