Stream: general

Topic: Render GUIs on Desktop


view this post on Zulip John Wayne (Nov 24 2023 at 13:40):

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?

view this post on Zulip code red art (Nov 25 2023 at 15:50):

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: Nov 22 2024 at 16:03 UTC