Exploring WebAssembly

Posted

https://ziglang.org/

https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm

https://github.com/emscripten-core/emscripten/blob/667d416d84b33b5bdbf47de10a9780b85589117b/src/settings.js#L1166

https://leaningtech.com/cheerp/

https://emscripten.org/

https://jakstys.lt/2022/how-uber-uses-zig/

https://web.dev/emscripting-a-c-library/

zig cc -target wasm32-freestanding --shared -o test.wasm test.c but like no

emcc d3des.c -s EXPORTED_FUNCTIONS=_deskey,_des

https://github.com/charto/nbind

https://wasmer.io/

https://rob-blackbourn.github.io/blog/webassembly/wasm/array/arrays/javascript/c/2020/06/07/wasm-arrays.html

zig cc -target wasm32-freestanding –shared -o test.wasm test.c -Wl,–export=a,–export=b,–export=c && node bootstrap.js

Thanks Luuk

zig cc -target wasm32-freestanding –shared -o d3des.wasm d3des.c -Wl,–export=deskey,–export=des

More posts

Home VPN Gateway

Posted

(WIP) Niimbot D101 BLE

Posted