←back to thread

57 points mghackerlady | 1 comments | | HN request time: 0.219s | 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 #
pjmlp ◴[] No.45990438[source]
Because developers don't like to pay for tools.

https://en.wikipedia.org/wiki/Excelsior_JET

https://www.ptc.com/en/products/developer-tools/perc

https://www.aicas.com/products-services/jamaicavm/

It is now getting adopted because GraalVM and OpenJ9 are available for free.

Also while not being proper Java, Android does AOT since version 5, mixed JIT/AOT since version 7.

EDIT: Fixed the sentence regarding Android versions.

replies(3): >>45990522 #>>45991201 #>>45992006 #
pjc50 ◴[] No.45991201[source]
You don't have to pay for dotnet AOT.
replies(2): >>45992941 #>>45995445 #
1. pjmlp ◴[] No.45992941[source]
Actually you do indirectly, via Windows licenses, Office, Azure, Visual Studio Professional and Ultimate licenses, C# DevKit.

Also you are forgetting AOT first came with NGEN, .NET Native, commercial, and on Mono side, Xamarin had some price points for AOT optimiztions, if I recall correctly.

However this is a moot point, you also don't pay for GraalVM, OpenJ9, or Android.