by bakery2k · 6y ago · 0 comments
"Plans to try MIR light-weight JIT first for CRuby or/and MRuby implementation"
"MIR is strongly typed"
Is there an explanation of how the project bridges the gap between dynamically-typed Ruby and statically-typed MIR?More generally, I'd love to see something like MRuby+MIR be successful. It would be great to see an alternative to the aging LuaJIT.
Dynamic types and garbage collection would then be implemented on/for the abstract MIR machine.
My understanding is that MIR doesn’t tackle this problem, so the code does stay pretty dynamic when compiled, just like its sister project YARV MJIT.
They both need an intermediate profiling mode to specialise and monomorphise but nobody is building that as far as I know.