
Game Development with C++ and Javascript
CppCast
00:00
The Performance Differences Between Native C++ and C++
In general, I would say, you know, going from idiomatic JavaScript to C++ that's compiled back into JavaScript, you can somewhere between five and 20 X depending on depending on them. And then in script and is or as a asm.js is commonly measured to be like 1.5 X to 2 X slower than native C ++ code. But that's kind of a moving target because V8 and Spider Monkey, they just keep getting better and making things faster. Right? So it was hugely, hugely faster and almost everything that we ported in this way we just suddenly didn't have to worry about it anymore. It just became almost too small to measure. Yeah, which
Transcript
Play full episode