vnmakarov/mir
A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 88
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2711
- days_rel: n/a
- days_push: 75
- n_releases_24m: 0
Adoption not part of the score
2647 stars · 179 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MIR is a lightweight JIT compiler project built around a strongly typed Medium Internal Representation, with a C11 JIT compiler and interpreter included. It is designed as a foundation for implementing fast, lightweight JITs for dynamic languages such as Ruby.
Use cases
- build a lightweight JIT compiler for a dynamic language
- compile and run C code at runtime with a JIT
- embed an interpreter with JIT capabilities in a language runtime
- experiment with intermediate representations for code generation
- generate machine code for x86-64, aarch64, ppc64, s390x, or riscv64
When to choose
- you need a small, embeddable JIT rather than a heavyweight VM like LLVM
- you are building a JIT for a scripting language like Ruby or MRuby
- you want to JIT-compile C code at runtime on multiple CPU architectures
When to avoid
- you need maximum peak performance from aggressive optimizations
- you require guaranteed correctness beyond the tested platforms and test suites
- you need a mature, widely production-hardened JIT infrastructure
Facets
library · maturity active
compiler interpreter developer-tools compilers programming-languages developer-tools performance cpp c jit-compiler intermediate-representation c11 x86-64 aarch64 riscv64 ppc64 s390x lightweight linux macos
1 source
- readme: https://github.com/vnmakarov/mir · fetched 2026-08-28 · 0232d4dfb54a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vnmakarov/mir | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem