Open maniart opened 7 years ago
@yatriks -- for some reason I couldn't assign this to you. but FYI ^
Maybe even a progressive-enhancement to WebAssembly? Get some C hacking in there? Browser support is pretty good now: http://caniuse.com/#feat=wasm
Good thought @bronzehedwick. Another promising road for progressive-enhancement to WebAssembly is Rust (which also compiles to wasm I think). This Rust+wasm+webpack guide looks like a promising toolchain.
I should set up something like benchmark.js so we can evaluate these approaches.
@yatriks @bronzehedwick Aaaaah this is getting exciting!
Oh interesting I didn’t know that rust compiled to wasm yet. If it does that seems like a good bet.
@yatriks I was following a rust issue about compiling to wasm, which i can't find now, but you're right, it looks like you can compile rust to wasm. Here's another repo with some examples: https://github.com/mrfr0g/rust-webassembly
Seems like a relevant article to the Rust + WASM subject: https://hacks.mozilla.org/2018/01/oxidizing-source-maps-with-rust-and-webassembly/
@maniart this repo might help: https://github.com/mbasso/awesome-wasm
Thank you @behnood-eghbali — i'm gonna give it a try. Been meaning to get into Rust + WASM for quite a while now. 🙏🏼
Spike to see if we can improve performance by delegating diffing math to GPU via libraries like