r/ProgrammingLanguages • u/Relevant_South_1842 • 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
View all comments
Show parent comment
3
u/Relevant_South_1842 Mar 26 '26
Thanks for taking the time to respond. I’ve looked at your work before and it has been very inspiring - quality, creativity, and quantity.