top | item 36712115

(no title)

nmhancoc | 2 years ago

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.

discuss

order

No comments yet.