Ask HN: Diff in jitted versus compiled code perf

1 day ago 3

If a language gives you pointers, access to allocating value types, and útils like memcopy. What really is the perf difference for most C++/Rust use cases and code written in higher level languages like Golang and C#

I would understand jitted code written with the runtime in mind (Java, C#, Golang) will get you very close to native performance (ignoring the jitting) without having to worry about half the issues you will in C++.

Also there seems to be standard techniques to game the GC in each of the higher languages mentioned here, so I don’t see much point in writing my code in C++ or Rust anymore.

I’ve been seeing a rise in folks using Golang for storage engines of databases, over rust and c++. Even came across Garnet by Microsoft Research that led me to this line of question.

Would appreciate opinions and other perspectives.

Read Entire Article