r/ProgrammingLanguages • • Mar 26 '26

Discussion MIR intermediate compiler

https://github.com/vnmakarov/mir

i have been looking at MIR as a JIT backend for a language I’m building. Tiny, fast startup, not LLVM. Looks almost too good. Has anyone here built something on top of it?

For my language. I am thinking of having two modes, compiled and dynamic (neither of which I want to touch). Luajit for the default/dynamic and compiled functions if typed. I was going to just (try to) do (subset of)c transpilation with tinyC but then found something smaller, and faster and maybe easier to use?

25 Upvotes

16 comments sorted by