![](https://rameezkhan.me/posts/2021/2021-04-26--emacs-native-comp-on-wsl2-with-nix/emacs-native-comp-on-wsl2-with-nix-banner.png)
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....