News for hackers. Stuff that matters.
Re:Using WebAssembly to turn Rust crates into fast TypeScrip... by scottgpaulin on Saturday July 01, 2023 @10:12PM (#36557498)
I guess it's best for stuff that isn't dom related

There are a few wasm libraries like finos/perspective and duckdb-wasm that are really useful in the client even though they don't interact with the dom

Re:Using WebAssembly to turn Rust crates into fast TypeScrip... by throwme_123 on Saturday July 01, 2023 @11:04PM (#36557815)
Thanks for the pointer to duckdb-wasm, didn't know about it!

> These micro benchmarks show that there is also no such thing as free lunch in the browser. We are paying for the increased processing efficiency in WebAssembly with a sightly less efficient evaluation on very small input. Our recommendation is therefore to use DuckDB-Wasm if you need SQL, the features or the raw speed on medium to large data sizes. Stick to existing frameworks if your dataset is very small or if your queries only contain simple scans and filters.