Hacker News new | ask | show | jobs
by szopa 1087 days ago
This sounds very interesting. Can you please elaborate?
1 comments

I start out with a trained ML model, transform it into equivalent C code, then compile that C code targeting WASM.

Then I have a HTTP server in Go, which loads the wasm module on startup, just like dlopen but with a small ~10% performance overhead, rips the HTTP payload out, and calls the WASM function with the arguments filled in.