
Game Development with C++ and Javascript
CppCast
00:00
The Interaction Between C++ and JavaScript
The interaction between C++ and JavaScript goes both ways. You can pass in a pointer to your class that has these virtual method implementations on it. And then you have a function of JavaScript that takes some arguments, which are handled by the binding layer. So it's a little finicky, but it works very well in practice,. It makes it quite easy to do most of the things that you typically want to do.
Transcript
Play full episode