Post #2745829
2026-05-21 05:25 UTC
@screwlisp@gamerplus.org @marcoxa@mastodon.social @mdhughes@appdot.net @me Native compilation, AFAIR, is since Emacs 28. It is utilizing libgccjit to compile ELisp into native binaries (just in time). Since Emacs 28 there have been slow developments on optimizing it even further - there is a work on type system and potentially type hints that may then be translated to better type-aware optimization.
Replies (1)
-
@yantar92@fosstodon.org 2026-05-21 05:29
@screwlisp@gamerplus.org @marcoxa@mastodon.social @mdhughes@appdot.net @me The constant (often redundant) type checking in Elisp is one of the bottlenecks for performance. It is necessary to avoid runtime crashes on C level, and type optimizations have a lot of potential here (IMHO). I think this area may benefit from input from someone familiar with compilers. I do not recall anyone apart from the author - Andrea Corallo who seriously works on these things in Emacs.