On Tue, Dec 07, 2021 at 08:02:20AM -0800, Matt Armstrong wrote: [...] > Indeed, PhDs have been completed in this area. > > Beyond hot spot, JIT in dynamic languages can use other techniques, such > as specializing the JITed code to the concrete types the code sees in > practice, etc. I'm not an expert so I'll stop there. [...] > I don't see any technical barriers preventing Emacs and/or Guile from > taking the same kinds of approach, but it would be a large effort, > requiring deep expertise. It might make more sense to do it in Guile, > in the hopes of making Guile Emacs an attractive proposition. Guile is either nearly or already there [1]. To understand the ref one has to know that Andy Wingo, the current Guile maintainer works on Javascript implementations for browsers, for which such techniques are essential. Cheers [1] https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile -- t