4 ms·
It looks interesting, great work! I'm curious why you chose x86 emulation instead of arm emulation though, provided that this is running on an arm processor?
by madushan1000 7y ago
It looks interesting, great work!
I'm curious why you chose x86 emulation instead of arm emulation though, provided that this is running on an arm processor?
- qubex 7y agoI’m not the author.
- saagarjha 7y agoNot the author, but I did write the FAQ entry for this: https://github.com/tbodt/ish/wiki/FAQ#q-why-does-ish-not-emulate-arm-or-some-other-architecture https://github.com/tbodt/ish/wiki/FAQ#q-why-does-ish-not-emu...
- fragmede 7y agoThe FAQ answer only answers one very specific aspect of things. The broader question is that emulating a foreign chipset (especially one as complex as x86), in order to have a local terminal, is ridiculous. Why be so ridiculous? The answer is that it has to be that way, due to Apple's restrictions on what is allowed to run, so iSH is a very clever hack on top of those restrictions, in order to get a "blessed" local unix environment on an iOS device.
- saagarjha 7y agoFewer people asked that question, so it never got added. Feel free to add it yourself if you think you have a good answer.
- zozbot234 7y agoIn practice, RISC-V emulation would likely show better performance than either x86 or ARM. Though Alpine support for that architecture is not there yet, so I can see why ISH isn't using it at this time.