News for hackers. Stuff that matters.
Re:Comparing Rust and JavaScript by azangru on Friday July 15, 2022 @10:00AM (#32108296)
> There's quite a bit of overhead in calling out from WASM to the DOM; how are you making WASM faster?

If you check out the code, you will notice that wasm isn't talking to the DOM. Its purpose is to generate the image data as a Uint8Array, which is then passed to the canvas [0], same way the javascript implementation does it

[0] - https://github.com/dmaynard/chaos-screen-saver/blob/93187f84...

Re:Comparing Rust and JavaScript by gwbas1c on Friday July 15, 2022 @01:13PM (#32110434)
> If you check out the code

That's why you need an "about" blurb.