❔ generate WASM at runtime
I'm working on an app that generates overlays for streams (it's a bit more specific but you get the idea) and I'm wondering if anyone knows of a way to generate WASM for that at runtime?
11 Replies
you're basically asking "how do I write a WASM compiler"?
Not really (otherwise I would just generate JS ), more if there were already existing solutions for that
(as blazor is kind of out of the picture in my case)
how does a program that outputs machine code not qualify as a compiler?
ok fair
anyway, you're gonna want to look for a WASM emitter or compiler library
I sure don't know of any
yeah that's the problem I faced
the only solution I had found was blazor, but it's not exactly usable (without a tedious and bug prone workaround)
this one looks promising
Wasm 0.1.7
cs-wasm is a C# library that can read, write, interpret and optimize binary WebAssembly files.
albeit a prerelease
prerealease that's 4 years old and not touched since
Looks like a dead project sadly
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.