Install Emacs with native compilation support on macOS
Emacs 28.1 has support for native compilation of Emacs Lisp, which is supposed to give a significant speed boost over regular Emacs Lisp.
However, to take advantage of it, Emacs must be compiled with support for the library.
I normally run the latest official version from Emacs for OS X, but version 28.1 from that website does not have support for native compilation, as the following elisp evaluation in the
*scratch* buffer shows:
(native-comp-available-p) ;;=> nil
I'm working on compiling it myself, which I've done on older versions of macOS, but it has devolved into an annoying battle with obscure macOS-specific
ld issues and header locations.
So - where I can download a build of Emacs 28.1 for macOS Monterey that has native compilation and native JSON processing via