3 ms·
> There’s no contest between the Java runtime vs the JavaScript runtime for that kind of work. I don't mean to be facetious here, but... citation needed. Ther
by lucideer 3y ago
> There’s no contest between the Java runtime vs the JavaScript runtime for that kind of work.
I don't mean to be facetious here, but... citation needed.
There are a lot of assumptions about language performance being made throughout comments threads on this page that seem more based on age-old mythology rather than being grounded in reality.
- apantel 3y agoHere is a presentation by a team that did benchmarking of different runtimes: https://youtu.be/sRCgu1ng6Bo?si=SV_Mcinuqh_c-nuX https://youtu.be/sRCgu1ng6Bo?si=SV_Mcinuqh_c-nuX JavaScript is ~8x slower and Python ~30x slower on average vs Java / Go / C++ that are all quite close. A funny aside: I always believed that Java is slow because I heard it repeated so many times. I internalized that bit of age-old mythology. But lately as I’ve gotten more focused on performance, I’ve come across a lot of hints in various talks and articles that Java has become one of the go-to languages for high-performance programming (e.g. high frequency trading). So, I hear you about the mythology point.