Compiling JavaScript ahead-of-time
summary
Porffor compiles JavaScript ahead-of-time into WebAssembly and native executables, producing 20 kilobytes native and 4 kilobytes wasm example binaries, and it supports TypeScript by controlling the JS engine. The compiler pipeline emits WASM, can lower to C and then use a C toolchain, trading reimplementation cost for smaller deploys and faster startup; Test262 currently reports 58% pass (44 passes), with some benchmarks faster and some slower while the demo binaries do run.
AI-written summary · about








