Emacs Native-Comp on WSL2 with Nix

Update: As of 2021-04-25 GCC/Native-Comp has been merged into master. I’m sure package managers will be updated soon. What is Emacs Native-Comp? Emacs Native-Comp refers a to the feature/native-comp branch of Emacs. It adds support for compiling EmacsLisp to native code using libgccjit. This provides a notable performance improvement right out of the box. See here for more details. Installing using Nix on WSL2 Note: All instructions below are sourced from this gist. I’m sure the gist will be updated with changes more frequently than this blog post. ...

April 26, 2021 · 2 min · 262 words · Rameez Khan

Nix as a potential Linuxbrew replacement?

Linuxbrew Coming from a MacBook, I became comfortable with Homebrew as a package manager. Over time, I built up a collection of tools in my dotfiles to maximise my productivity. When moving over to Ubuntu, I realized a couple of these tools were missing from Apt. Naturally I went with something I was most comfortable with, in this case, Linuxbrew. Linuxbrew works. It’s just your normal Homebrew on Linux. On the rare occasion, you’ll find an unsupported package. But nothing you can’t manually install. ...

April 21, 2021 · 3 min · 446 words · Rameez Khan