react-use-c
react-use-c copied to clipboard
Compile to WASM and execute everywhere
Hi,
I've seen this project and looks interesting the pathway you're taking to run the C code through Zig. Instead of compiling it to native code, you could compile it to WASM ( see https://enarx.dev/docs/webassembly/zig ) and potentially expand the horizons of this project to allow the usage of C code also to Frontend using WebAssembly, as well as execute it on the backend using the native Node.js Webassembly support.
Happy to help if needed, feel free to ping me in case.
Best regards, Julian