Hacker GitHub

← All repos

vnmakarov/mir

View on GitHub ↗ ★ 2,671 C

A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR

21 mentions on Hacker News by 21 people: 4 stories, 17 comments · first 2020-01-20 · latest 2026-04-28

Mentions per year 21 mentions · busiest year 2020 (5)
20082026
  1. Much more interesting is Mir: https://github.com/vnmakarov/mir It has all the tools for custom JIT including a nice C compiler.
    comment by nutjob2 · 2026-04-28 · in CJIT: C, Just in Time
  2. …understanding to the machine. Now we just hope it’s right. [1] https://www.red-lang.org/ [2] https://github.com/vnmakarov/mir [3] https://us.metamath.org/
    comment by erwan577 · 2025-07-26 · in Wirth's Law
  3. https://github.com/vnmakarov/mir is also great for this, the c2m binary is an optimizing C11 JIT runner, even accept "*.c" as input.
    comment by fuhsnn · 2024-09-09 · in A tiny self-remaking C program
  4. See also https://github.com/vnmakarov/mir
    comment by karteum · 2024-05-14 · in QBE – Compiler Back End
  5. MIR comes from the Rubyverse and isn't related to LLVM MLIR. https://github.com/vnmakarov/mir?tab=readme-ov-file#mir
  6. https://github.com/vnmakarov/mir
  7. …of other options: the MIR project from RedHat [1], libjit [2], lightning [3] and Dynasm [4] 1. https://github.com/vnmakarov/mir 2. https://www.gnu.org/software/libjit/ 3. https://www.gnu.org/software/lightning/manual/lightning.html 4.…
    comment by tadkar · 2023-08-26 · in Implementing Interactive Languages
  8. …of the project is a machine-independent medium-level intermediate representation (MIR)." https://github.com/vnmakarov/mir https://en.wikipedia.org/wiki/Intermediate_representation
  9. You should check https://github.com/vnmakarov/mir
  10. More great things: - https://c9x.me/compile/ - https://github.com/vnmakarov/mir
    comment by andrewchambers · 2021-11-05 · in How to learn compilers: LLVM Edition
  11. > I wish C was scriptable C kinda can be used as scripting language with MIR project https://github.com/vnmakarov/mir It released version 0.1 just a few days ago, and I've successfully used it as an alternative and fast C compiler with…
    comment by edubart · 2021-08-25 · in Nelua Programming Language
  12. …Guile, a Scheme interpreter, uses a fork of GNU lightning, insufferably named lightening . [3] [0] https://github.com/vnmakarov/mir [1] https://lists.gnu.org/archive/html/lightning/2020-02/msg0001... [2]…
  13. …pluggable JIT backends, maybe using MIR would be a faster and more lightweight alternative to LLVM. https://github.com/vnmakarov/mir
  14. Another similar project is https://github.com/vnmakarov/mir
    comment by tln · 2020-12-02 · in QBE vs. LLVM
  15. https://github.com/vnmakarov/mir
    comment by prirun · 2020-12-02 · in QBE vs. LLVM
  16. …optimizing C compiler that is also small, and usable as a JIT see MIR project by Vladimir Makarov - https://github.com/vnmakarov/mir/tree/master/c2mir
    comment by dibyendu · 2020-10-04 · in Chibicc: A Small C Compiler
  17. …like MRuby+MIR be successful. It would be great to see an alternative to the aging LuaJIT. [1] https://github.com/vnmakarov/mir
    comment by bakery2k · 2020-01-20 · in Mir: A lightweight JIT compiler project