News for hackers. Stuff that matters.
Re:Notepad++ is 21 years old by TeMPOraL on Friday November 01, 2024 @05:24PM (#42021702)
I was like you until last year. I did all my development from Emacs on WSL1, writing mostly Windows-specific code (DCOM). I maintained a set of brittle hacks to allow me to drive Windows side CMake and MSBuild straight from Emacs, and then run LSP on compile commands from Clang tricked into thinking it's cross-compiling. It held up surprisingly well.

Eventually, I installed a WSL2 distro so I could run Docker, then I had to reimage the machine because corporate reasons, and then, with my work involving less Windows-specific code, I decided to not recreate my pile of hacks, but start with a fresh WSL2 setup. It works well enough, so that's what I use now.

FWIW, I always liked WSL1 more. WSL2 is basically just more streamlined VirtualBox setup; WSL1 is magic.

Re:Notepad++ is 21 years old by nyarlathotep_ on Friday November 01, 2024 @08:40PM (#42023068)
Genuinely impressed at this bespoke approach.
Re:Notepad++ is 21 years old by nine_k on Saturday November 02, 2024 @04:03AM (#42024808)
WSL1 reminds me of coLinux of old times.

https://en.m.wikipedia.org/wiki/Cooperative_Linux

Re:Notepad++ is 21 years old by chungy on Saturday November 02, 2024 @04:33AM (#42024932)
That's more comparable to WSL2 than WSL1.

WSL1 is a subsystem on the NT kernel, allowing Linux binaries to run natively on Windows itself (not a virtual machine). It's the spiritual successor to Interix, that showed up in NT 4.0 and was removed in Windows 8.

The flip side is Wine, allowing Windows binaries to run natively on Linux.

Re:Notepad++ is 21 years old by HeavyStorm on Saturday November 02, 2024 @09:54PM (#42030655)
Actually, it's a streamlined Hyper-V setup, rather literally.
Re:Notepad++ is 21 years old by 8n4vidtmkvmk on Sunday November 03, 2024 @12:06PM (#42034269)
You run emacs on the Linux side now though, right? So you're probably better off that way.