Im currently looking for a solution to embed programs with fully functional user interfaces (compiled to wasm) inside another desktop program.
for example i have an already existing desktop application written in c#. i have another small program written in go and want this to be displayed and interacted with inside my c# program. preferably via wasm.
is this currently possible?
you will have to basically write bindings to your host (C#) gui, and provide them to your guest. i don't think wasi support exists for c#/go yet, so you will need to write the bindings where all functions can take and returnonly i32/f32 arguments.
its possible, but it would take a lot of effort depending on which gui library you want to use. its probably easier if you can use a minimal immediate mode library like nuklear
Last updated: Dec 23 2024 at 13:07 UTC