4 ms·
Since we are sharing: I've spent the last couple of years, on and off, building a physics engine from scratch. Pretty hard considering I'm not a mechanical engi
by felipemnoa 6y ago
Since we are sharing: I've spent the last couple of years, on and off, building a physics engine from scratch. Pretty hard considering I'm not a mechanical engineer. Lots of fun though.
- ChrisMarshallNY 6y agoExcellent! You should do a "Show HN," when you are done. What language are you using? What is your destination platform? UPDATE: I just looked at your HN handle. Questions answered. Good show!
- felipemnoa 6y ago>>What language are you using? Java >>What is your destination platform? Mac, Windows, iPhone, Android
- ChrisMarshallNY 6y agoI have not run Java on iPhone (that I know of). Do you know if it will pass the App Store review?
- felipemnoa 6y agoI'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.
- ChrisMarshallNY 6y agoCool. 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.
- felipemnoa 6y agoAwesome! Thanks.
- saagarjha 6y agoI 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.
- ChrisMarshallNY 6y agoNo. 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-jdk-programming/id992268206 https://apps.apple.com/in/app/pico-compiler-java-compiler-jd... [1] https://www.infoworld.com/article/3407781/a-plan-to-bring-java-to-ios.html https://www.infoworld.com/article/3407781/a-plan-to-bring-ja...
- saagarjha 6y agoEnough that Apple offered Cocoa bindings in it for a while!
- ChrisMarshallNY 6y agoAt 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.