Open rafi16jan opened 5 years ago
Hi though i did not check in depth the official port, probably those differences :
Things that could run better.
WIP not pushed yet:
Future:
Ok, that is very nice. Just curious, why are you using requestAnimationFrame for async instead of setTimeout or setInterval?
And maybe in the meantime I will make a benchmarks between RapydScript, MicroPython official javascript port, and your port. Currently I'm developing an ephemeral Python in a browser/node framework using RapydScript but I'm open to new possibilities.
i updated the list a bit and referenced that informative issue in the readme. @rafi16jan , web is all about visual interaction with user and requestAnimationFrame as called there is expected to be called and sync with specific refresh rate ( mobile / 50-60Hz desktop classic, (free/g)-sync etc ) the user is facing. Trying to emulate that behavior would be huge task if not impossible. also it's a emscripten provided facility for running async programs.
What is the difference between this repo and the official javascript port?
https://github.com/micropython/micropython/tree/master/ports/javascript