Rustacean Station  cover image

Game Development with Rust and WebAssembly with Eric Smith

Rustacean Station

CHAPTER

JavaScript vs WebAssembly

I think I heard some feedback saying that actually JavaScript is still better than WebAssembly for a lot of things but I'm not too sure how true that statement is. There are definitely issues when talking back and forth to the DOM from WebAssembly because you have to basically turn everything into a big old buffer memory pass it over, put it back together again and then pass it back. So we've got some benchmarking going on of how fast it's going. Maybe it's just about rendering the UI it's maybe slightly faster so I was just taking a look at I could see that. It seems like it's always faster for some reason.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner