-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load time and download size ?!? #9
Comments
Note that the final product is not MicroPython but "WaPy" a spinoff based on the no_nlr (non working in its current state) personnal branch from original author. Modifications are simple though it may look like heavy changes see https://github.com/pmp-p/wapy/tree/wapy-emsdk. The final size can be as low as 188 KiB in wasm uncompressed form as that's what i was using to try to start on wasm3+esp32 until i see that there's some problems with wasm design wrt microcontrollers ecosystems. Note that performance could be horrible (because of -Os ) i did not test yet. Anyway In that you still have parser, compiler and interpreter, but not the native ffi C/C++ glue you would need for dynamic modules or the fancy emscripten stdlib. You only have WASI there ( only fd but that is what plan9 use no ?). A slightly larger version ( with bugs ) is available here https://pmp-p.github.io/wasi/wapy.html which you can build yourself with https://github.com/pmp-p/wapy-pack it still a work in progress there's a few tests ( though not all are relevant for web ) not passing
|
Seems that there is a new project that tried to fix this problem by using MicroPython: https://github.com/pyscript/MicroPyScript A DEMO is here: https://pyscript.net/tech-preview/micropython/index.html See also: https://talkpython.fm/episodes/show/391/pyscript-powered-by-micropython |
Thanks for the sum up Afaik from the talks i already engaged on pyscript discord with mainteners. pyscript will most likely have multiple runtimes in the future. Personnally i see those as : i guess @ntoll should setup a testsuite runner asap, afaik micropython javascript port did not receive extra care since a long time. Most concerning problems were probably GC and lack of standardized DOM access ( either sync or async ). i hope DOM and events stuff on the "light" runtimes will be able to follow pyscript conventions. hint for testing GC, remove |
Because I just stumbled across pyodide/pyodide#646
What's the final download size ?
The text was updated successfully, but these errors were encountered: