Hacker News new | ask | show | jobs
by circuit10 80 days ago
Not sure why this is downvoted, it's true:

https://apps.apple.com/us/app/ish-shell/id1436902243

https://apps.apple.com/us/app/a-shell/id1473805438

1 comments

Those are terminal emulators, not actual terminals. You can't fork or exec on iOS/iPadOS, so they're not actually running e.g. a python process, they're just running python interpreter.
ish runs a full blown x86 alpine linux distro.
As I understand it, ish implements x86 instructions and Linux syscalls as functions and translates running programs into arrays of calls to these functions, so all the machine code that will ever run is included in the app bundle, which at least satisfies the rules iOS enforces at runtime.

As for the rules as written, I suppose you could make reasonable arguments either way.

I don't think it matters if you can fork or exec, they're still running custom code