Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, these are the native code compilers for Java, able to target Apple mobile platforms.

https://www.codenameone.com/

https://gluonhq.com/products/mobile/

https://github.com/MobiVM/robovm



These look like ahead-of-time compilers using llvm with obj-c bindings. This is not Java running on iOS any more than than the lengths people have gone to make Rust run on iOS.

The JVM doesn’t exist on iOS.


Sure it does, compiled to native code ahead of time.

People have to start learning not to mix languages with implementations.


This is pedantry. Clearly you acknowledge these frameworks aren't write-once-run-anywhere in the same spirit as the conversation we're having. This same trick can be performed on a number of languages that don't claim to be WORA.


Those frameworks take JVM bytecode and convert it into machine language.

Looks WORA to me.


If that’s all it takes, I’m struggling to think of a language that isn’t WORA.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: