Enter and the web developers who took this a step further. By utilizing Emscripten , an LLVM-to-JavaScript compiler, developers were able to translate the C code of the original game into WebAssembly (WASM) and asm.js. This meant the game was no longer running inside a virtual console; it was running natively as JavaScript code within the browser environment. It utilized WebGL for graphics and the HTML5 Gamepad API for controls. The result was a version of Mario 64 that ran surprisingly smoothly, even on modest Chromebooks or office laptops. The Rise of Glitch.me While the technology was impressive, code alone does not make a game playable for the masses. The code needs a host. This is where Glitch enters the story.
The project owes its existence to the massive Super Mario 64 decompilation project, where reverse-engineers successfully transformed the game's binary machine code back into human-readable C source code. Developers realized that if they had the C source code, they could compile it for other platforms, not just the N64. Sm64-js Glitch.me
However, SM64-JS is not a traditional emulator. It is a port. Enter and the web developers who took this a step further