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
20082026
-
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 -
…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 -
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 -
▲ 7
Mir (lightweight JIT) version 1.0.0story by funny_falcon · 2024-05-28 · 0 comments
-
See also https://github.com/vnmakarov/mir
comment by karteum · 2024-05-14 · in QBE – Compiler Back End -
MIR comes from the Rubyverse and isn't related to LLVM MLIR. https://github.com/vnmakarov/mir?tab=readme-ov-file#mir
comment by matthews2 · 2024-03-18 · in Ravi is a dialect of Lua, with JIT and AOT compilers -
https://github.com/vnmakarov/mir
comment by tomcam · 2023-12-27 · in Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs -
▲ 115
Mir: Strongly typed IR to implement fast and lightweight interpreters and JITsstory by nateb2022 · 2023-12-26 · 43 comments
-
…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 -
…of the project is a machine-independent medium-level intermediate representation (MIR)." https://github.com/vnmakarov/mir https://en.wikipedia.org/wiki/Intermediate_representation
comment by irq-1 · 2023-05-10 · in How I developed a faster Ruby interpreter (2022) -
You should check https://github.com/vnmakarov/mir
comment by stefanos82 · 2022-05-15 · in Ask HN: Recommendation for general purpose JIT compiler -
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 -
> 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 -
▲ 1
The first release of MIR projectstory by ShrigmaMale · 2021-08-12 · 0 comments
-
…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]…
comment by MaxBarraclough · 2021-04-08 · in GNU lightning: generates assembly language code at run-time -
…pluggable JIT backends, maybe using MIR would be a faster and more lightweight alternative to LLVM. https://github.com/vnmakarov/mir
comment by megous · 2021-02-22 · in JIT-Compiling SQL Queries in PostgreSQL Using LLVM -
▲ 62
A light-weight JIT compiler based on MIR (Medium Internal Representation)story by bshanks · 2020-12-04 · 14 comments
-
Another similar project is https://github.com/vnmakarov/mir
comment by tln · 2020-12-02 · in QBE vs. LLVM -
https://github.com/vnmakarov/mir
comment by prirun · 2020-12-02 · in QBE vs. LLVM -
…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 -
…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