← Back to context

Comment by Wazako

9 months ago

But when you look at the disaster that was c++ for cloudflare, and the switch to rust.

This is precisely the argument given against rust for video games: too much typing induced by memory safe, which is too restrictive.

Is there any use if your c code works, the advantage of rust over wasm is the easy-to-use packages (which is a pain in c++), and the ease with which you can make a wasm project with wasm-pack that generates the wasm, js and ts interface.

There really are a lot of libraries that support wasm, it's even a problematic point raised in the article on bevy, with wasm support (so webgl) limiting the api.