←back to thread

57 points mghackerlady | 1 comments | | HN request time: 0.276s | source
Show context
larsbrinkhoff ◴[] No.45989967[source]
What happened to

1. Sun's JavaStation, 2. ARM's Jazelle, ??? 3. Profit!

replies(4): >>45990000 #>>45990288 #>>45990667 #>>45993727 #
dehrmann ◴[] No.45990000[source]
It's more like JITs got good.
replies(1): >>45990334 #
ck45 ◴[] No.45990334[source]
I never understood why AOT never took off for Java. The write once run anywhere quickly faded as an argument, the number of platforms that a software package needs to support is rather small.
replies(5): >>45990420 #>>45990438 #>>45990583 #>>45990837 #>>45994530 #
1. dehrmann ◴[] No.45994530[source]
I'm not sure how much Hotspot can do this, but JIT means you can target different CPUs, taking advantage of specific extensions or CPU quirks. It can also mean better cache performance because you don't need branches to handle different chips, so the branch is gone and the code is smaller.