3 ms·
> The biggest thing that doesn't run properly on here is Emacs. I am able to get a version of it via Rosetta, however there are weird hangs that will randomly e
by derefr 6y ago
> The biggest thing that doesn't run properly on here is Emacs. I am able to get a version of it via Rosetta, however there are weird hangs that will randomly eat up all my input while I am in flow. This is undesirable to say the least.
This sounds a lot like the kind of stutter Dolphin's dynamic recompiler used to suffer when it first discovered a new shader.
IIRC, for faster boot times, Emacs binaries burn in some kind of low-level memory-image that gets dumped into an mmap region and then "revivified." I wonder if that's what Rosetta is choking on.
If so, I wonder whether, until an actual AArch64 build is available, it'd be possible to work around this problem by just rebuilding Emacs (for x86!) without that optimization enabled.
- jagger27 6y agoSeems like the Homebrew version already builds on M1. People have been working on this since last year. https://amitp.blogspot.com/2020/11/building-emacs-27-on-apple-arm-m1.html?m=1 https://amitp.blogspot.com/2020/11/building-emacs-27-on-appl...
- Iwan-Zotow 6y ago> for faster boot times, Emacs binaries burn in some kind of low-level memory-image that gets dumped into an mmap region and then "revivified." unexec hack No true anymore for Emacs 27.x, they go with more portables (though a bit slower) preload
- derefr 6y agoThank you! I was so confused because I didn't remember the name, and there was no documentation about it I could find without the name (probably because it's out-of-date info now.)
- mkskm 6y agoI'm successfully running Emacs natively on M1 using the Yamamoto fork. It just needs to be installed via the formula on Homebrew currently rather than the cask. https://github.com/railwaycat/homebrew-emacsmacport/issues/230 https://github.com/railwaycat/homebrew-emacsmacport/issues/2... Haven't run any benchmarks yet, but general usage is snappier and startup time is around twice as fast as a gccemacs build running on a 2020 Intel MBA.