5 ms·
Clojure and Doom Emacs on a brand new M1 computer
- casion 5y agoI use openjdk on my M1 with Clojure without a hiccup or anything beyond the standard installation process. No problem with clj-kondo or LSP either. I use Emacs with a fairly complex config. I'm curious why the author went through all this trouble.
- cyberge99 5y agoI’d be interested to see a performance test between openjdk and this native zulu jdk.
- arthurbrrs 5y agoPost author here. I couldn’t get Malli’s clj-kondo integration to work, because Flycheck wouldn’t pick up kondo. Michiel later said that if you use clj-kondo under rosetta it should work though -since I haven’t touched rosetta I didn’t know this.
- tombert 5y agoHuh, I had never heard of Doom Emacs until just now. I wonder how it compares to something like Spacemacs...I guess i have something to do tonight.
- dpeck 5y agoSimilar, less included in the distribution. Doom to me generally feels a little more opinionated but easier to reason about. They’re both quite good at what they do, and they do similar things.
- BarbaPeru 5y agoSimilar project to Spacemacs, doom-emacs seems more alive recently, some people say it is faster than Spacemacs. I like both, but I never switched to them from vim.
- emptysongglass 5y agoThe Spacemacs creator took a long break at some point and never really handed over the reins at least while I was using it. I don't know if that has since changed (I assume it must have) but that was a big reason why I switched, together with its slow time to start-up. Doom Emacs launches incredibly fast and has a ton of modules you can flip on and off to get a great Python development environment or what have you.
- yewenjie 5y agoSame for me. I wonder what has changed in Spacemacs in the last two or three years? Is there anything that Spacemacs offers that is non-trivial to do in Doom?
- wardedVibe 5y agoWhen I switched to doom several years ago was the last time I declared startup bankruptcy.
- mbil 5y agoAs others have said, Doom seems faster than Spacemacs, especially at startup. Doom has lighter weight config, but it's also less opinionated. I've been using Doom for a while now, and the only thing I missed was Spacemacs' keybindings. Those can be recreated in Doom though[0]. [0] https://github.com/chenyanming/spacemacs_module_for_doom https://github.com/chenyanming/spacemacs_module_for_doom
- 5y ago
- larusso 5y agoHmm I haven’t set JAVA_HOME in years. At least not on macOS or Linux. I use jenv if I’m really in need of multiple Java virtual machines and switch it via direnv.
- CraigJPerry 5y ago>> arch -arm64 brew install Ahh i think these are old instructions, maybe copied from an old blog post or something. You don’t need the arch command anymore (provided you haven’t done something unexpected like run your terminal emulator of choice under rosetta - universal binaries make it easy to make that mistake!). This form of instruction was popular the first few weeks after m1 launched but homebrew got native support fairly quickly. Initially i had an arm install, /opt/homebrew and an Intel “ibrew” alias for /usr/local/homebrew but even the stubborn binaries now have m1 builds. I think the last hold out for me was the D compiler - not that i write any D, but i have a tool i find handy written in D.
- chisquared 5y agoPrefixing `arch -arm64` is pretty solid advice still, I think. It's really easy to inadvertently run your terminal in Rosetta, and not notice that you're running a non-native version of `brew`.
- lewurm 5y agoGraalVM will have a stable release that includes Apple Silicon support next week. Glad to see the snapshot did the job for you though :-)
- KSPAtlas 5y agoMore of a common lisp person here.
- Maursault 5y agowhile :; do sleep 0 `#get dev acct,dL&install Xcode`;done;/ tar -xf $(curl -Ok https://distfiles.macports.org/MacPorts/MacPorts-2.7.2.tar.bz2); / cd MacPorts-2.7.2/;./configure;make; / echo -e "\n\n\tBye-bye...\n\t\tSo I sez to him... The real way\n\t\tthat it should be done is to...\n\n\n";sleep 3; sudo make install; / sudo mv /opt/local/etc/macports/macports.conf /opt/local/etc/macports/macports.conf.bak;/ `# remove comments, hashes and ticks# sudo vi /opt/local/etc/macports/macports.conf #if necessary, edit`;cd; / echo "export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/opt/local/share/man:/usr/X11/bin" >> ~/.bash_profile;source ~/.bash_profile; / sudo port -vsN selfupdate; sudo port -vsN upgrade oudated; / sudo port -vsN install emacs clojure openjdk17-zulu; / sudo port -vsN selfupdate; sudo port -vsN upgrade oudated; / port info crispy-doom; sleep 5; / git clone https://github.com/hlissner/doom-emacs ~/.emacs.d ~/.emacs.d/bin/doom install; / doom upgrade; / echo -e "\n\n\n\n\n\t\tmake install\n\t\tnot war\n\n\n\n\tand may the source be with you... always\n\n\n"