Containers (e.g., Docker)
As far as I'm concerned, containerization is one of the best things to happen to computing in general—and developer tools in particular. Although it can be a slow-building, space-hogging, pain in the ass sometimes, the isolation benefits are extremely powerful.
Make sure to use the WSL 2 Docker backend to achieve native Linux performance in your containers!
Docker supports Apple Silicon, and many images are available for arm64
, which will offer much better performance than using x86-64
emulation.