Comment by lxgr

Comment by lxgr 4 hours ago

0 replies

What I meant by "standard Hotspot" is Oracle/OpenJDK's standard JVM – I believe it only works using JIT compilation these days, and therefore can't run on iOS (since Apple doesn't allow any third-party JIT).

There does seem to be an "interpreted only" mode [1], but obviously that by itself does not make an OpenJDK port for iOS feasible either.

> but my ultimate plan was to make it run.. on the web!

WASM would actually be an interesting path to get a J2ME emulator to iOS! I believe WASM code generation at runtime might be the closest thing on iOS you could get to JIT on iOS from a performance point of view (since the iOS WASM implementation itself compiles to native code, I believe).

[1] https://docs.oracle.com/en/java/javase/11/tools/java.html#GU...