Stream: git-wasmtime

Topic: wasmtime / issue #13333 Example of how to make external f...


view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 13:20):

void4 opened issue #13333:

I came across this example: https://til.simonwillison.net/webassembly/python-in-a-wasm-sandbox which only shows how to get the result as an output at the end of Python execution.

Is it possible to have the sandboxed script call external Python functions provided by wasmtime?

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 13:22):

bjorn3 commented on issue #13333:

This would be more of a question for https://github.com/vmware-labs/webassembly-language-runtimes

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 14:35):

alexcrichton closed issue #13333:

I came across this example: https://til.simonwillison.net/webassembly/python-in-a-wasm-sandbox which only shows how to get the result as an output at the end of Python execution.

Is it possible to have the sandboxed script call external Python functions provided by wasmtime?

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 14:35):

alexcrichton commented on issue #13333:

Another example you might be interested in is https://github.com/bytecodealliance/wasmtime-py/ for a Wasmtime embedding in Python. Otherwise though it looks like this is answered, so I'm going to close. Happy to follow-up if needed, however.

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 15:52):

tschneidereit commented on issue #13333:

And you might also want to take a look at bytecodealliance/componentize-py, which is a much more fully-featured Python embedding in wasm.

view this post on Zulip Wasmtime GitHub notifications bot (May 11 2026 at 16:54):

void4 commented on issue #13333:

Thank you!


Last updated: Jun 01 2026 at 09:49 UTC