You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am interested in this project, and interested in understanding it a bit further to see if it is possible to use it on the server side. I want to see if this project can be used with the Deno runtime, which is similar to node with some additional features and APIs, and built in WASM support. Before trying to port it over, I am wonder what the viability is of a port:
Speed: What is the speed differential roughly between executing python natively versus wasm?
ESM Syntax: Is it possible to import pyodide and the underlying js modules using ESM syntax, as this is the syntax used in Deno.
If its possible to run on the server side with good speed, I am wondering what the process would be to convert everything over at a high level. Would I need to recompiler the binaries, or just update the JS code?
The text was updated successfully, but these errors were encountered:
ESM Syntax: Is it possible to import pyodide and the underlying js modules using ESM syntax, as this is the syntax used in Deno.
Would I need to recompiler the binaries, or just update the JS code?
There was an attempt to add NodeJS support in #183 if that helps.
I would imagine updating the JS code including in emscripten (see emscripten-core/emscripten#5828), then recompiling, but not fully sure. Looking at https://github.com/emscripten-core/emscripten issues it doesn't look like anyone tried to use Deno with emscripten before so it's a bit of an uncharted territory.
Apologies for the late response! Thanks for the info. So it looks like it is possible, and for some libraries this can be pretty fast. I'm most interested in seeing if pandas can be ported over, as there is a similar library for node called DataForge but in some of my tests its about 10x slower than Pandas, so if the pyodide Pandas is even 2-3x slower then it would still be a substantial gain in speed. I'll play around with the code a bit and check out what others have done for Node to see the viability of a port and how difficult it would be to port. Thanks for all the help!
I am interested in this project, and interested in understanding it a bit further to see if it is possible to use it on the server side. I want to see if this project can be used with the Deno runtime, which is similar to node with some additional features and APIs, and built in WASM support. Before trying to port it over, I am wonder what the viability is of a port:
If its possible to run on the server side with good speed, I am wondering what the process would be to convert everything over at a high level. Would I need to recompiler the binaries, or just update the JS code?
The text was updated successfully, but these errors were encountered: