from Hacker News

AI-generated JIT compilers from interpreters: Are we there yet?

by protocontrol on 2/23/25, 7:29 AM with 2 comments

Have you seen someone already using generative AI to automatically generate optimized JIT compiler frontends from interpreter definitions?
  • by johndoe0815 on 2/23/25, 8:50 AM

    I see no reason for any sort of AI to be applied here.

    There's an interesting guide on converting an interpreter into a static binary translator: https://gtoal.com/sbt/

    It would be great to see this expanded into a JIT compiler (using a generic translated code management/caching and optimization framework).