September 2018
Intermediate to advanced
328 pages
9h 10m
English
Embind is an additional feature that Emscripten offers for connecting JavaScript and C++. Emscripten's site provides the following description:
Embind is a powerful feature that allows for tight integration between JavaScript and C++. You can wrap some C++ code in an EMSCRIPTEN_BINDINGS() block and reference it through the Module object in your browser. Let's look at an example from Emscripten's site. The following file, example.cpp, is compiled with the --bind flag of emcc:
// example.cpp#include <emscripten/bind.h>using namespace ...
Read now
Unlock full access