News for hackers. Stuff that matters.
Re:C# now beats Rust on WASM size by xnorswap on Wednesday October 21, 2026 @08:34AM (#50179860)
I agree completely regarding libraries, C# has never had the "libraries for everything", especially open source ones. The better libraries have moved to ( or always have been ) licensed too which doesn't help that impression.

I'd like to hear more about your issue with the JIT and where do you find it a hindrance?

I've had a few benchmarks lately that performed better under JIT than AOT compilation, and while that isn't always the case, the JIT, especially on dotnet 10, performs very well.

Re:C# now beats Rust on WASM size by jasomill on Wednesday October 21, 2026 @02:27PM (#50185399)
No, but when used in application areas where languages like C++ are the obvious alternatives, it has always had very good integration with native code and platform technologies, and in recent history both C# and the .NET ecosystem have been very focused on performance and platform support.

Put another way, "100% pure .NET" was never a goal in the same way it was in the Java world, but I never saw this as holding it back any more than the reliance on native code holds back languages like Python, because both have very good integration stories.

My only complaint is the lack of cross-platform support for C++/CLI, as it was a very useful tool for integrating with libraries that lack a non-C++ API.

Re:C# now beats Rust on WASM size by mhh__ on Wednesday October 21, 2026 @07:56PM (#50189267)
The JIT adds basically nothing to the language other than complexity and also forces a boundary between dotnet and it's peers that I think hobbles it via harder interop.

The performance in theory can be slightly better in some niches but my point is simply that it's a huge chunk of complexity for not much gain.