Mar 02, 2020 • ☕️ 1 min read
Emscripten compiles C and C++ to WebAssembly using LLVM and Binaryen. Emscripten output can run on the Web, in Node.js, and in wasm runtimes. Using Emscripten you can:
Emscripten provides Web support for popular portable APIs such as OpenGL and SDL2, allowing complex graphical native applications to be ported, such as the Unity game engine and Google Earth. It can probably port your codebase, too!
While Emscripten mostly focuses on compiling C and C++ using Clang, it can be integrated with other LLVM-using compilers (for example, Rust has Emscripten integration, with the
This is a high level view of the Emscripten toolchain, the main tool is the Emscripten Compiler Frontend (emcc). This is a drop-in replacement for a standard compiler like gcc.
The whole toolchain is delivered in the Emscripten SDK, and can be used on Linux, Windows or macOS.
Emscripten has been used to port Unreal Engine 3, SQLite, MeshLab, Bullet physics, AutoCAD,and the Qt application framework.
A hash function used in Rabin–Karp's string search algorithm
Bull is the fastest, most reliable, Redis-based queue for Node. I have been using it for years to handle async jobs and schedule messages
Scaffolding system allows for rapidly getting started on new projects and streamlines the maintenance of existing projects.