What does HackerNews think of wasmer-python?

🐍🕸 WebAssembly runtime for Python

Language: Rust

#124 in Python
#93 in Rust
Wasmer Python can be used if you want to run Wasm in Python. Hope this helps!

https://github.com/wasmerio/wasmer-python

Not just for web either: if you ship WebAssembly bytecode as part of your python package, you can push your platform dependencies out to a wasm runtime and skip most of the build matrix.

A runtime like wasmer-python [0] is only 1.5MB.

[0]: https://github.com/wasmerio/wasmer-python

I'm excited about WASM here. https://github.com/wasmerio/wasmer-python lets you call WASM binaries from Python, which means if you can compile a C library to WASM you can then call it from Python... without having to worry about introducing crashing bugs and security vulnerabilities thanks to the WASM sandbox.
WASM is really interesting here.

https://github.com/sql-js/sql.js is SQLite complied to WASM, which means you can run it not just in the browser but also in any WASM environment.

https://github.com/wasmerio/wasmer-python lets you execute WASM compiled binaries within Python.

https://github.com/wasmerio/wasmer-ruby handles Ruby.

So it should be possible to take the WASM compiled SQLite and run it in other languages.

This is a thing that really excites me about WASM: as a mainly-Python programmer it has the potential to give me access to a much wider range of tools.