Hi, I really like libgccjit. A lot of work has gone into it and it does a really good job interfacing with gcc. That said, integrating it into Racket is a _huge_ amount of work. It is nonetheless very interesting and I would certainly like to see it done.
However, note Racket is moving to running on Chez (Racket-On-Chez). I imagine if you want to get it run over libgccjit it would be easier to target Chez. So, in principle if you get Chez-On-GCC, then you can have Racket-On-Chez-On-GCC. It's a hard project, no doubt about it but certainly interesting and possibly useful. It might be the case that there's no way to describe all of Chez features in libgccjit, meaning you'll have to coordinate with others to get things done. Good luck, Paulo Matos On 03/11/2018 20:15, Vibhav Pant wrote: > Hi, > > Has there been any interest in using libgccjit as a JIT compilation > library for Racket? Owing to the library's use of GCC as a code > generation backend, libgccjit: > > * Supports a wider range of architecture (as compared to GNU lightning) > > * Uses a C-like IR to represent code, as opposed to the virtual > instruction set used by lightning. > > * Allows JIT compilers to generate better optimized code, and generate > debugging information for running JIT compiled on a debugger. > > The library is still in alpha, but is pretty promising. While I haven't > completely understood Racket internals, I would be interested in knowing > if any effort towards writing a JIT compiler for Racket using libgccjit > is worth it. > > Best, > Vibhav Pant > > -- > You received this message because you are subscribed to the Google > Groups "Racket Developers" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-dev/7facb12c-be2a-4989-9b1d-ce1c9079de5f%40googlegroups.com > <https://groups.google.com/d/msgid/racket-dev/7facb12c-be2a-4989-9b1d-ce1c9079de5f%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/8b6137ff-5350-b6cb-7a10-c4b9e2c7bb35%40linki.tools. For more options, visit https://groups.google.com/d/optout.
