Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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++.



I think it was this blog: https://renato.athaydes.com/all-posts They also tested common lisp!


Which post?

Some of those posts "404 The page you have entered does not exist"


> Having a hard time finding it now

So — Fastest at what, exactly? — is unanswered.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: