News for hackers. Stuff that matters.
Re:Wasmer: A Python library for executing WebAssembly binaries by KloudTrader on Tuesday April 16, 2019 @12:10AM (#19671078)
This looks really fun to use for algorithmic trading (we have to deal with and sandbox client code not written by us here at KloudTrader). Wonder how hard it is to integrate with numpy etc.
Re:Wasmer: A Python library for executing WebAssembly binaries by btown on Tuesday April 16, 2019 @01:06AM (#19671270)
I'm sure there are better ways to do this, but if you really want Python client code -> WASM -> Python host, I'd imagine you could probably run https://github.com/iodide-project/pyodide within Wasmer. But you'd likely lose a lot of the performance benefits of numpy etc. being compiled for the exact intrinsics supported by your host CPU. Container-level sandboxing still sounds like a superior bet.
Re:Wasmer: A Python library for executing WebAssembly binaries by sansnomme on Tuesday April 16, 2019 @01:38AM (#19671374)
Container level sandboxing is pretty difficult to do well without hypervisor/VM support.