Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's true, but that doesn't mean you should use it everywhere. Using Three.js to render a single quad is like using Rust+WASM to add two numbers.


Depends how many times you're gonna add two numbers though, right?


Not necessarily. If data is moving from JS to Rust too much it may even be slower than just using JS.

Also, the simpler the operation, the higher the chance v8 optimises it pretty well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: