News for hackers. Stuff that matters.
Re:1:60 scale Boeing 777 made from manila folders by felipemnoa on Monday July 06, 2020 @03:38PM (#23751862)
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.
Re:1:60 scale Boeing 777 made from manila folders by ChrisMarshallNY on Monday July 06, 2020 @04:01PM (#23752091)
Excellent! 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!

Re:1:60 scale Boeing 777 made from manila folders by felipemnoa on Monday July 06, 2020 @04:05PM (#23752131)
>>What language are you using?

Java

>>What is your destination platform?

Mac, Windows, iPhone, Android

Re:1:60 scale Boeing 777 made from manila folders by ChrisMarshallNY on Monday July 06, 2020 @04:08PM (#23752158)
I have not run Java on iPhone (that I know of). Do you know if it will pass the App Store review?
Re:1:60 scale Boeing 777 made from manila folders by felipemnoa on Monday July 06, 2020 @04:12PM (#23752205)
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.
Re:1:60 scale Boeing 777 made from manila folders by ChrisMarshallNY on Monday July 06, 2020 @04:21PM (#23752299)
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.

Re:1:60 scale Boeing 777 made from manila folders by felipemnoa on Monday July 06, 2020 @05:23PM (#23752928)
Awesome! Thanks.
Re:1:60 scale Boeing 777 made from manila folders by saagarjha on Monday July 06, 2020 @05:24PM (#23752932)
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.
Re:1:60 scale Boeing 777 made from manila folders by ChrisMarshallNY on Monday July 06, 2020 @08:52PM (#23754474)
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...

Re:1:60 scale Boeing 777 made from manila folders by saagarjha on Monday July 06, 2020 @10:44PM (#23755186)
Enough that Apple offered Cocoa bindings in it for a while!
Re:1:60 scale Boeing 777 made from manila folders by ChrisMarshallNY on Tuesday July 07, 2020 @06:31AM (#23757634)
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.