Pinned Tweet
you can now write asm-dom with a #JSX like syntax in C++ 🎉🎉🎉 Here is the repo of the parser: github.com/mbasso/gccx #webassembly #wasm
A proof-of-concept calculator completely written in C++ and compiled to WebAssembly 🚀
by Miroslav Maretic
linkedin.com/pulse/how-why-b…
5
I’m refactoring the internals of asm-dom, improving performance and some public APIs. Everything looks cleaner now 😄
1
3
script-wasm, a small library to load WebAssembly modules using HTML script tag.
Inspired by an awesome talk by @trentmwillis about service workers 😄
github.com/mbasso/script-was…
Just published a little experiment to dinamically create WebAssembly modules using tagged template literals
source code: github.com/mbasso/watpl
inspired by teapawt.org/rhmoller/status/110302… of @rhmoller
#WebAssembly #wasm
This might be taking my #webassembly experiments too far. Writing inline wasm inside of a JS/TS tagged template literal.
2
6
react-wasm has now a useWasm Hook to load WebAssembly modules 😄🎉
github.com/mbasso/react-wasm
#WebAssembly #wasm #reactjs #react
Just released react-wasm 🎉
A small component to instantiate WebAssembly modules
github.com/mbasso/react-wasm
#WebAssembly #wasm #reactjs
Amazing, DOOM 3 running in the browser thanks to #webassembly
demo: continuation-labs.com/d3wasm…
details: groups.google.com/forum/?nom…
Started experimenting with #WebAssembly and pthreads. I’ll try to separate the diffing algorithm and DOM operations in asm-dom 🔥 #cpp
Released a new version of wasm-worker 🎉
You can now run js functions into the web worker. Useful for example to access the importObject ⚙️
#webassembly #webworker
That’s awesome! 🔥 Can’t wait to benchmark asm-dom after this!
Function calls between JavaScript and WebAssembly are finally fast! 🎉
wasm » JS 🔥 ~750ms → 450ms
JS » wasm 🔥 ~5500ms → 450ms
monomorphic JS » wasm 💥 ~5250ms → 250ms
wasm » built-in 🔥 ~5750ms → 600ms
See how we did it → hacks.mozilla.org/2018/10/ca…
10
Published a new version of wasm-worker 🎉🎉
No breaking changes, it now internally uses instantiateStreaming by default (if supported) to load wasm code in the most efficient, optimized way 📈
#wasm #webassembly
4
Just released wasm-worker 🎉
Move a WebAssembly module into its own thread
Inspired by greenlet @_developit
github.com/mbasso/wasm-worke…
#WebAssembly #wasm















