Re:Performance of modern Java on data-heavy workloads
by haxen on Tuesday June 09, 2020 @04:21PM
(#23470457)
If you ever try to write a bash script that calls a Java program in a tight loop, you'll know the limitations of a fat interpreting runtime with JIT compilation. Another relevant use case is the Stateless Lambda server-side architecture.
[ Parent
| on HN ]
Re:Performance of modern Java on data-heavy workloads
by MaxBarraclough on Tuesday June 09, 2020 @04:31PM
(#23470566)
I believe Java (OpenJDK at least) is slow to start even if you disable the JIT and go with pure interpretation, and even if you disable runtime bytecode verification. It's just generally heavyweight and slow to get off the ground.
I imagine JIT compilation should help with this, as you suggest.
Re:Performance of modern Java on data-heavy workloads
by MaxBarraclough on Wednesday June 10, 2020 @03:19PM
(#23480950)
Oops, too late to edit, but I meant ahead-of-time compilation should help with this