News for hackers. Stuff that matters.
Re:Show HN: Zaplib – Speed up your webapp with Rust+Wasm by janpaul123 on Friday April 08, 2022 @03:19PM (#30961372)
Great question! I wrote a blog post yesterday going into the nuances of this a bit: https://zaplib.com/docs/blog_ts++.html The short of it is that Rust+Wasm isn't much faster than highly optimized JS in most situations, but it's hard to optimize it. In Rust it's a lot easier to get to the same level of performance as highly optimized JS.

We also support building compiling to native though, and we've found that the typical difference between Wasm and native apps is about 2x (on most metrics).

Re:Show HN: Zaplib – Speed up your webapp with Rust+Wasm by mattgreenrocks on Friday April 08, 2022 @03:44PM (#30961622)
Wow, only a 2x difference? That is fantastic on the Wasm side.
Re:Show HN: Zaplib – Speed up your webapp with Rust+Wasm by janpaul123 on Saturday April 09, 2022 @02:02AM (#30965589)
Yeah, Wasm is quite fast these days, and there is still more room to grow!