canadahonk/porffor

An ahead-of-time JavaScript compiler

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 59 minutes ago
Added to GitGenius on September 13th, 2026
Created on June 25th, 2023
Open Issues & Pull Requests: 36 (+0)
GitHub issues: Enabled
Number of forks: 133
Total Stargazers: 5,171 (+0)
Total Subscribers: 40 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Porffor is an ahead-of-time JavaScript compiler that translates JavaScript to C through an intermediate representation, with no interpreted or just-in-time compilation stages.

The project addresses the need for a fully compiled JavaScript runtime by compiling to C rather than directly to machine code or bytecode. This approach enables portability across diverse environments, avoids heavyweight backend dependencies like LLVM or Cranelift, and allows straightforward post-compilation modifications for specific use cases. The intermediate representation layer provides flexibility in how the final C code is generated and optimized.

Porffor suits developers building JavaScript applications for embedded systems, resource-constrained environments, or platforms where traditional JavaScript engines are impractical. It is particularly valuable when you need predictable performance characteristics and the ability to modify the compilation pipeline for specialized requirements. The tool's focus on complete ahead-of-time compilation makes it distinct from mainstream JavaScript runtimes that rely on interpretation or JIT compilation strategies.

The project maintains an active development cycle with automated releases following each successful CI test run. Development activity shows consistent iteration on the compiler implementation and the intermediate representation design.