Ish: Improve the Performance

Created on 26 Nov 2018  Â·  14Comments  Â·  Source: ish-app/ish

https://mobile.twitter.com/DannWai/status/1066863217752727552
Although it can't be done too fast on ios, I hope we can find a way to improve that. Not just for python.

All 14 comments

There is room for improvement, but I doubt it could be improved to the point where, say, youtube-dl --help takes less than 10 seconds. (It takes a minute right now.)

There is room for improvement, but I doubt it could be improved to the point where, say, youtube-dl --help takes less than 10 seconds. (It takes a minute right now.)

We don't have to improve it right now. But 5 seconds vs 0.1… I hope we can make it faster in the future.

Could ISH potentially link into a series of included libraries built for iOS/ARM like Pythonista does? That way you could include the standard libraries for a bunch of major languages/interpreted languages to accelerate certain things (like running Python) that don’t require x86 emulation.

That's not infinitely flexible though.

It certainly isn’t universally applicable, but it could be very helpful for many general processes like simple Python/Ruby/Lisp scripts that tend to be used as parts of other programs.

You wouldn't be able to install python C extensions, the bundled python version isn't going to be exactly the same as the one you want, etc. How even would I get it to work? If you want to try that out in a fork, feel free.

I see it using some sort of special pyemv environment, so if people need to
use that type of thing they can just switch off to a native installation.
Sadly I have no idea how a JS x86 process could call native code like that.
However, I have no idea about a lot of thing here, so wanted to bounce
ideas.

On Sun, Jun 9, 2019 at 4:43 PM Theodore Dubois notifications@github.com
wrote:

You wouldn't be able to install python C extensions, the bundled python
version isn't going to be exactly the same as the one you want, etc. How
even would I get it to work? If you want to try that out in a fork, feel
free.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tbodt/ish/issues/129?email_source=notifications&email_token=AAMJTRQL3NQBTCO7SJJGKJTPZVTOHA5CNFSM4GGI7KBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIRZRY#issuecomment-500243655,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMJTRVVSNPU45GTPZS7LA3PZVTOHANCNFSM4GGI7KBA
.

java applications are insanely slow too

java is bytecode interpretor
iSh is x86 interpretor
what did you expect ?

if you need performance, don't use a "locked in his world" smartphone, use a computer.

from my POV, even if it's slow, it work.
if I need performance, I use my computer.

you are free to do better ;-)

Hey, guys. I'm not sure about my English, but I think I just said "I hope" and "not right now". So just calm down and relax yourself.

java is bytecode interpretor
iSh is x86 interpretor
what did you expect ?

if you need performance, don't use a "locked in his world" smartphone, use a computer.

from my POV, even if it's slow, it work.
if I need performance, I use my computer.

you are free to do better ;-)

No offence to tbodt but as great as iSH is the only reason most people likely use it is because they... can’t use a computer.

@tbodt Couldn’t an ARM linux be used? Is the emulation necessary?

@NightMachinary https://go.ish.app/why-x86

Because the second question is asked frequently enough: https://github.com/ish-app/ish/wiki/FAQ#q-why-does-ish-emulate-at-all-cant-it-use-a-jit-compiler-or-virtualization

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cleverdevil picture cleverdevil  Â·  4Comments

AlZeck picture AlZeck  Â·  3Comments

ghanan94 picture ghanan94  Â·  6Comments

jcampbell05 picture jcampbell05  Â·  5Comments

sirredbeard picture sirredbeard  Â·  3Comments