Comment by saghm

1 day ago

Is the support for Python code provided as a Rust library by any chance, where you could do something like pass in a simple python function, run it in wasmer, and then get back the result? I know a lot of complications would come into play around supporting C-based dependencies and support for the WASM APIs for stuff like I/O, but I recently was looking into this for a use case where the goal is to be able to prevent stuff like direct use of I/O in favor of only supporting a few specific APIs provided directly to a WASM engine for the code it's executing, and the conclusion I reached was that the only viable options for that currently available would require either shelling out to something external or manually loading in a WASM-compiled interpreter and implementing the glue code to use that to execute Python myself.

Not right now but we would love to provide it.

We have been super busy lately, but when we have a chance we will work on it!

  • Totally fair! I definitely understand the struggle of having more things that you want to do than time to work on them, and it's better to focus on the priorities and do them well than rush things just to get more of them done faster. Thanks for the response though; there's enough stuff happening in the WASM ecosystem that I don't always have confidence about whether I missed something!