News for hackers. Stuff that matters.
Re:Show HN: I Built a Java IDE for iPad by lnxg33k1 on Tuesday April 30, 2024 @03:22PM (#40215126)
Didn't Apple recently allow to run "emulators"? So code that generates code on the app store?
Re:Show HN: I Built a Java IDE for iPad by glhaynes on Tuesday April 30, 2024 @04:37PM (#40216018)
More like code that runs code, not code that generates code. Assuming the latter means that it's generating native code and attempting to execute it natively, that's not allowed.
Re:Show HN: I Built a Java IDE for iPad by kmeisthax on Tuesday April 30, 2024 @11:51PM (#40219324)
Code that generates code - specifically user-specified code - has been allowed on the App Store for years now. They have a very patronizing term for it, too: "learn-to-code apps".

Granted, Apple's never going to give you the entitlements necessary to make this performant or let you create separate temporary containers for compiled apps like Swift Playgrounds can. But you can absolutely ship a dev environment on iPadOS as long as you're willing to deal with those limitations.

Re:Show HN: I Built a Java IDE for iPad by trollied on Tuesday April 30, 2024 @05:11PM (#40216410)
Emulators don't have to generate code. At the simplest level, a CPU emulator is a switch statement.
Re:Show HN: I Built a Java IDE for iPad by mrbungie on Tuesday April 30, 2024 @05:46PM (#40216768)
Emulators don't necessarily generate code (maybe if they use JIT). They run arbitrary code, but that's other thing.