After initially rejecting it, Apple has approved the first PC emulator for iOS (www.theverge.com)
from cantankerous_cashew@lemmy.world to apple_enthusiast@lemmy.world on 14 Jul 2024 19:43
https://lemmy.world/post/17561690

#apple_enthusiast

threaded - newest

henfredemars@infosec.pub on 14 Jul 2024 20:35 next collapse

No JIT so performance will be limited, however, a massive step forward for sure.

undefined@links.hackliberty.org on 15 Jul 2024 05:04 collapse

How can it virtualize/emulate without JIT? I’m aware of what JIT is in the context of programming languages, but I’m having trouble understanding how you can virtualize something without JIT.

henfredemars@infosec.pub on 15 Jul 2024 05:06 collapse

To convert one processor architecture to another, instead of translating it into code of the correct architecture, you can also simply perform the operation in the loop by interpreting each instruction as it is encountered.

It’s the same distinction between a JIT and An interpreter. You can convert the code in chunks which is more efficient, or you can read the instructions one at the time and perform the corresponding operation.

Apple does not allow JIT of any form from third-party developers to my knowledge.

undefined@links.hackliberty.org on 15 Jul 2024 06:51 next collapse

Wow, I didn’t realize Apple was that serious. I always thought their stance was not wanting Node.js, Python, etc. (interpreted languages) running, not necessarily this.

henfredemars@infosec.pub on 15 Jul 2024 15:01 collapse

You can ship Python in an iOS app just fine. It’s dynamic code generation that is specifically disallowed, among other rules.

notthebees@reddthat.com on 15 Jul 2024 13:13 collapse

iirc they allow it in wasm, but that’s about it

henfredemars@infosec.pub on 15 Jul 2024 15:00 collapse

Correct me if I’m wrong but I think that code still technically runs as part of the browser, which is Apple code that is specially allowed to use JIT. The third-party code itself isn’t the JIT.

wreleven@lemmy.ca on 14 Jul 2024 21:56 next collapse

Test it out today. The limitations are apparent. Without the JIT it’s noticeable on my iPad compared to my mac. I actually thought it wasn’t working - turns out it was just sssuuuuppppeerrrr slow. Happy to support its development though. I’d love to be able to run my development environment on my iPad one day.

notfromhere@lemmy.ml on 14 Jul 2024 21:58 next collapse

How well does it run Half Life Alyx on the Apple Vision Pro?

B0rax@feddit.de on 15 Jul 2024 05:37 next collapse

This emulator, without JIT, struggles to run windows XP. Let alone anything newer than that.

So no Half Life Alyx anytime soon. Maybe the original Half Life.

notfromhere@lemmy.ml on 15 Jul 2024 11:51 collapse

Why is JIT not being allowed in the app store?

dwt@feddit.org on 15 Jul 2024 12:22 next collapse

Yep. I actually hate that.

B0rax@feddit.de on 15 Jul 2024 12:51 collapse

Apple only allows JIT for development. Why? Only Apple knows.

Rexios@lemm.ee on 16 Jul 2024 22:12 collapse

That wouldn’t work even if you could get a modern OS to run well

notfromhere@lemmy.ml on 16 Jul 2024 23:04 collapse

Whoosh

kinkles@sh.itjust.works on 15 Jul 2024 00:16 next collapse

I have a functional version of Windows 95 on my phone now, so that’s neat. XP setup was too slow and I got impatient.

Matriks404@lemmy.world on 15 Jul 2024 05:23 collapse

I like the direction Apple is going in. Probably not surprising given that their competitors (Microsoft and Google) make Shittier products every year, so they can try to get some consumers to switch that normally wouldn’t consider Apple products.

B0rax@feddit.de on 15 Jul 2024 05:35 collapse

To be fair: they didn’t start going this direction voluntarily, which I really hate.

They did not recognize that these things (like USB-C, alternate AppStores (and in Extension allowing emulation as people would more likely to jump on the other AppStores without it), …) would be helpful for them…