3 ms·
I hope Rust comes of age in a few years. Java, Go, and C# are above 50% "native" speed in every benchmark I've run across, but the mantra continues to be "why w
by spricket 8y ago
I hope Rust comes of age in a few years. Java, Go, and C# are above 50% "native" speed in every benchmark I've run across, but the mantra continues to be "why would I pick something slower?".
Rust is the answer everyone wants, even if they don't really need it.
An aside, C# in .NET core is getting very close to native speed. It's passed Java in many benchmarks, mostly due to type reification and lack of boxed primitives.
Java is trying to catch up, with active research projects for copying C#'s native types, a "Java on Java JIT" (Graal). And most interesting to me, fiber based green threads.
If these projects bear fruit, we may be only a few years away from Java exceeding native code speed in most applications
- drainyard 8y agoUnity's work on HPC# (High Performance C#) seems like a good possibility of a middle ground: Use C# where performance is not critical but you want safety, use HPC# when you absolutely need restrictions on performance.
- pjmlp 8y agoI hardly use C++ since 2006, only when I am forced to step outside Java/.NET or happen to actually do some hobby projects in C++. Meanwhile at work, a couple of C++ servers have been replaced by managed ones across a couple of projects. Even with the current stacks, not every business needs the ultimate performance across all stack, as an example Siemens and Zeiss use .NET on their digital imagining solutions, with native code only in the hotspots.
- deleted 8y ago[deleted]