Earlier quoted context omitted.
Javascript in V8 is more performant than Java on a lot of tasks, and almost always 'sooner'. V8 is focused on 'getting going quickly' and it does, very fast. Java takes some time to optimize for most tasks. Also, 'performance' isn't really an issue once you are past 'good enough'. I don't think most devs are worried about Java/Node/Python/Golang performance on the backend for most apps. Obviously not always the case,…
> Javascript in V8 is more performant than Java on a lot of tasks, Source? I constantly see companies switching from the likes of python and javascript to compiled languages after they reach a certain scale. I find Java to be extremely developer friendly, especially nowadays with features like pattern matching, records, switch expressions, and the upcoming project Loom Modern frameworks like quarkus.io are also a ste…
But the parent poster is right that the two teams did choose a different workload to optimize for, V8 being fast faster while java taking more time to JIT compile a region, but that is mostly due to the difference between their most-common uses, running websites’ code as soon as they load vs mostly running on huge—ass servers with sometimes terabytes of RAM.