CppCast cover image

Game Development with C++ and Javascript

CppCast

00:00

C++ Compiling Asm.js to JavaScript

C++ compiled asm.js was actually faster than the equivalent native, if you will, JavaScript. There's a couple of reasons for that. If you're just writing idiomatic JavaScript, there's very little you can do to get cache coherency. The other thing is that when you compile C ++ to JS it can be type monomorphic. That means that a lot of the dynamic nature of JavaScript is gone.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app