News for hackers. Stuff that matters.
Re:Initial Impressions of WSL 2 by k__ on Wednesday May 06, 2020 @08:47AM (#23090293)
Hm, okay. That doesn't sound impressive anymore.
Re:Initial Impressions of WSL 2 by moomin on Wednesday May 06, 2020 @08:57AM (#23090370)
No, but the good news is you can literally run Arch, Debian and Fedora on the same machine with shared files.
Re:Initial Impressions of WSL 2 by mehrdadn on Wednesday May 06, 2020 @09:07AM (#23090454)
You could already do that with WSL1.

Source: I have Arch and Ubuntu on WSL1.

Those didn't change. Other things did.

Re:Initial Impressions of WSL 2 by akho on Wednesday May 06, 2020 @09:59AM (#23090983)
WSL1 managed to corrupt SQLite dbs. Which is really annoying, and does not happen with WSL2.

My (casual, not work) use relies heavily on Nix, which is built around a centralized SQLite file. I did not enjoy that experience.

Re:Initial Impressions of WSL 2 by mahalol on Thursday May 07, 2020 @06:18AM (#23101421)
Thanks for that, I have hit this bug once with WSL1 in the past and didn't think much of it at the time. Good to know what caused the issue.
Re:Initial Impressions of WSL 2 by mehrdadn on Wednesday May 06, 2020 @10:03AM (#23091038)
Wow, that's amazing/terrible. Would you have a link to a repro?
Re:Initial Impressions of WSL 2 by akho on Wednesday May 06, 2020 @10:28AM (#23091337)
I think this is the relevant bug: https://github.com/Microsoft/WSL/issues/2395

WSL2 has been great so far (I’ve been using it for a few months now with no serious issues).

Re:Initial Impressions of WSL 2 by mehrdadn on Wednesday May 06, 2020 @10:42AM (#23091496)
Thanks!
Re:Initial Impressions of WSL 2 by petters on Wednesday May 06, 2020 @12:19PM (#23092784)
Thanks, this perfectly explains a weird error I have been seeing!
Re:Initial Impressions of WSL 2 by k__ on Wednesday May 06, 2020 @09:13AM (#23090525)
They didn't say that something changed.

But I'm intrigued, what did change?

Re:Initial Impressions of WSL 2 by exdsq on Wednesday May 06, 2020 @10:24AM (#23091279)
WSL2 uses a VM while WSL1 uses a Linux like interface over a system-call DLL.
Re:Initial Impressions of WSL 2 by k__ on Wednesday May 06, 2020 @11:50AM (#23092405)
WSL2 sounds like a step back.
Re:Initial Impressions of WSL 2 by zlynx on Wednesday May 06, 2020 @12:41PM (#23093154)
Their other choice was to make Windows file IO actually fast.

That just wasn't going to happen.

Re:Initial Impressions of WSL 2 by mehrdadn on Wednesday May 06, 2020 @10:11AM (#23091125)
I/O performance characteristics changed, your ability to share the same filesystem for both OSes changed, etc.
Re:Initial Impressions of WSL 2 by k__ on Wednesday May 06, 2020 @08:59AM (#23090386)
That sounds good.

How does it handle case-sensitivity?