In 2013, I created the cross-compilation infrastructure to thin a large C/C++ codebase and translate vertical slices to JavaScript for presentation on the web.
The project was called JSMESS. It divvied up the monolithic MESS and MAME emulators, each a large C/C++ codebase for emulating hundreds of hardware platforms in a single binary, into just enough code to run individual vintage computers and arcade games, and it was one of the earliest large-scale uses of Emscripten, the LLVM WebAssembly toolchain.
The narrative version of this gist is online here, as an archived Twitter thread:
The project started in October 2011, with the goal of making vintage software as easy to experience on the web as a YouTube video. Paul Ford wrote a nice, lay-accessible introduction for the United Airlines in-flight magazine in May 2013, shortly before I joined and all of this transpired: