Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
11–20 of 46 posts
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#12Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#13MIR is a start; someone ought to continue with the following downstream projects: TRYD (Trace Rewriter Yielding Dynamics): reconstitutes a CFG from traces in order to not only JIT single hot paths but also multiple interlacing warm ones MAI (Machine-Agnostic Interpreter): support for mobile processes and agents
> TRYD (Trace Rewriter Yielding Dynamics): reconstitutes a CFG from traces in order to not only JIT single hot paths but also multiple interlacing warm ones Do you have more information on that? Googling didn't turn much up. It sounds similar to the Trace Tree or region based compilation approaches?
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#14Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#15Assumed this was about the other MIR: https://llvm.org/docs/MIRLangRef.html
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#16Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#17I think it would be worth mentioning GraalVM and https://github.com/oracle/truffleruby in competitors section.
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#18MIR is a start; someone ought to continue with the following downstream projects: TRYD (Trace Rewriter Yielding Dynamics): reconstitutes a CFG from traces in order to not only JIT single hot paths but also multiple interlacing warm ones MAI (Machine-Agnostic Interpreter): support for mobile processes and agents
> TRYD (Trace Rewriter Yielding Dynamics): reconstitutes a CFG from traces in order to not only JIT single hot paths but also multiple interlacing warm ones Do you have more information on that? Googling didn't turn much up. It sounds similar to the Trace Tree or region based compilation approaches?
(to be clear, what I had in mind: not just merging trace heads to form a tree, but merging their tails as well [à la NFA minimisation] to form a cyclic graph; after which one could use region-based techniques on the identified cycles.
Rpython's metatracing does a reasonable job for multiple interlacing warm paths, but there's still room for improvement)
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#19Looks like a fun project but I think the window of opportunity might have passed. The Shopify JIT seems to be the way forward for Ruby JITs, and WASM is the obvious choice for new programming languages.
Re: Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
#20Is the project still active?