6 ms·
Having a hard time finding it now, but someone put together a benchmark with two categories - naive and optimized - comparing implementations across languages w
by lamp_book 1y ago
Having a hard time finding it now, but someone put together a benchmark with two categories - naive and optimized - comparing implementations across languages with a workload vaguely resembling a real-world business application server with a mix of long and short lived objects. Java was at the top of the naive benchmark by a landslide and behind C and C++ (edit: and probably Rust) for the optimized ranking, but with a gap before the rest of the field.
With the JVM you basically outsource all the work you need to do in C/C++ to optimize memory management and a typical developer is going to have a hell of a time beating it for non-trivial, heterogenous workloads. The main disadvantage (at least as I understand) is the memory overhead that Java objects incur which prevent it from being fully optimized the way you can with C/C++.
- igouy 1y ago> Having a hard time finding it now So — Fastest at what, exactly? — is unanswered.
- lycopodiopsida 1y agoI think it was this blog: https://renato.athaydes.com/all-posts https://renato.athaydes.com/all-posts They also tested common lisp!
- igouy 1y agoWhich post? Some of those posts "404 The page you have entered does not exist"