3 ms·
Not sure if C# can beat Go in real-life applications but C# has advanced features that can contribute to performance: - JIT and runtime optimizations - AOT co
by kovac 4y ago
Not sure if C# can beat Go in real-life applications but C# has advanced features that can contribute to performance:
- JIT and runtime optimizations
- AOT compilation if you want it (probably contends Go's native compiled code?)
- Access to raw pointers that lets you do things like pinning things in memory and intervening with normal GC
- hardware intrinsics for SIMD support
C# comes with some serious performance knobs if you're really committed to writing performant code.
- pjmlp 4y agoLess so since the ongoing improvements since version 7, but if something more beyond C# low level capabilities is required, there is C++/CLI as well. Currently compliant with C++17.