4 ms·
Zig. Zig produces extremely small, optimized WebAssembly modules. The language includes WebAssembly-specific built-ins like @wasmMemoryGrow, and its entire sta
by jedisct1 1y ago
Zig.
Zig produces extremely small, optimized WebAssembly modules. The language includes WebAssembly-specific built-ins like @wasmMemoryGrow, and its entire standard library offers first-class support for WebAssembly.
Zig can also optimize code for specific WebAssembly runtimes, making it, in my opinion, the most efficient WebAssembly compiler available today.
- 90s_dev 1y agoI forgot to mention that I'd like it to be embeddable. I was in the zig subreddit and asked about that, they said basically no it's not possible to embed it, the best that can be done is bundle zig with my app and run it as a subproc to compile zig code, but then I have to do ipc and shared memory and it's a whole other bundle of worms.