Hacker News new | past | comments | ask | show | jobs | submit login

I have not run Java on iPhone (that I know of). Do you know if it will pass the App Store review?



I'm first transcoding the Java code into Objective-C code with a Java to Objective-C transcoder that I wrote for fun. Google has their own Java To Objective-C transcoder, though I've never used it.


Cool. I wrote a Pascal-to-C++ transcriber in the late 1980s. It was mostly done with RegEx, on a command line.

What a nightmare.

You have cool hobbies.


Awesome! Thanks.


I think Apple removed their restrictions on programming languages long ago. If you can get it to run on the platform, you can use it, AFAIK.


No. Apple doesn't natively support Java on iOS, but there is an app called Pico[0], that supposedly acts like a Java IDE.

It doesn't seem to be a particularly popular program, but it's the only one I've seen that does it.

I don't know if this[1] ever bore fruit.

The transcoder Java->ObjC isn't a bad idea. The languages have a lot of similarities.

[0] https://apps.apple.com/in/app/pico-compiler-java-compiler-jd...

[1] https://www.infoworld.com/article/3407781/a-plan-to-bring-ja...


Enough that Apple offered Cocoa bindings in it for a while!


At one time, I think that Steve Jobs wanted Java to be a native language for Apple development, but it ended up getting sidelined by Objective-C.

Developers had a difficult time, adjusting to ObjC. It’s very different from C, whereas Java was familiar to almost everyone.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: