Embind is used within Emscripten to bind C++ functions and classes to JavaScript, so that the compiled code can be used in a natural way by “normal†JavaScript. Embind also supports calling JavaScript classes from C++.