Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Why aren’t you dual booting Linux or running it in a VM? Any reason you’re stuck with WSL?
-
Dude you know that fast ring is unstable. I wait for slow ring which meets my risk tolerance of the new/works ratio.
-
@grumpyoldaf
Dual booting Linux on a Laptop is a pain in the arse and a VM uses more recourses.
So WSL is the best solution. -
another thing to note, because it's a full Linux Kernel now, you can 'simply' setup an X Server, so you can install CLion on Linux, and only host the GUI on Windows. Works really well
-
-
@Batburger @KasperNS per https://devblogs.microsoft.com/comm... it’s part of build 18917 and per https://docs.microsoft.com/en-us/... that build is only on Fast Ring.
While the code may work on other builds, I would in no way say it is supported and any performance issues are valid. -
@bkwilliams Sorry I'm not following... What is not supported..? And also yes, nobody has argued against the fact that WSL 2 is only in fast ring?
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
Tl;Dr:
The new windows subsystem for Linux might severely slow compilation time for me.
Microsoft is releasing a preview of WSL 2 which works fundamentally different to WSL 1, which I currently use.
For those who don't know, WSL (or Windows Subsystem for Linux) used to be a compatibility layer, which "translated" Linux syscalls to Windows syscalls. This enables the execution of Linux applications on Windows. The new WSL (WSL 2) doesn't do any of that, instead, it is a highly optimised Virtual Machine.
So don't get me wrong from a performance point of view there is no Issue, RAM and CPU usage is truly astonishingly small and performance of Linux applications is much improved over WSL 1.
BUT, apparently, accessing files stored on Windows through Linux is now piss slow.
Great, truly outstanding.
Why is this a problem? Well, I use WSL to develop c++ Linux applications using CLion, the way this works is that you set up an ssh server in WSL, which CLion uses to do compilations.
One _needs_ to have the project files stored on Windows as otherwise CLion on Windows can't access them.
If I wanted a Linux VM I would have installed one.
Urgh.
rant
c++
wsl