Live data from Hacker News

File System Improvements to the Windows Subsystem for Linux

blogs.msdn.microsoft.com

51–60 of 108 posts

Re: File System Improvements to the Windows Subsystem for Linux

#51
post #28
post #24

Earlier quoted context omitted.

Works great for bioinformatics too. I've exited the Apple world (high prices etc.), and don't miss much now. No longer have to modify Powershell to make it more Unix-like. Jupyter notebook works fine, so I'm happy. No more bother with dual booting either; Ubuntu is gone as well.

It's funny how Windows 10 is rapidly becoming a better Unix than MacOS since everything that matters runs Linux.

The irony is real. The only selling point for macOS right now is the unparalleled vertical integration, iCloud+ iPhone + Handoff etc. And also beautiful hardware that usually just works.

Re: File System Improvements to the Windows Subsystem for Linux

#52
post #26

Java still doesn't work properly though =(. "mvn clean package" on one of corporate projects takes about 5 to 8 minutes in native java on Windows or Mac and it takes more than one hour in WSL. I had so much hope for WSL that I would finally have only ONE device (surface), but no, we're not there yet.

Five to eight minutes? That sounds horrible. Have you tried concurrent compilation with "mvn -T 1C"? Gets our build time down from 3 minutes to 1 minute, but we have lots of smaller projects.

Re: File System Improvements to the Windows Subsystem for Linux

#53
post #23

Last time I tried to use the Windows Subsystem for Linux it was a mess. I thought I could access my files from windows and messed all the filesystem. Now it looks like I can freely exchange my files between the WSL and Windows. Is it true? Do I finally have a linux inside a windows machine where I can install things using apt-get (instead of cygwin setup.exe)? When will it goes into the official Windows 10 version?

It's already on the stable Windows 10 build a, and there was also significant improvements in the creators update. You have to enable it via "Windows Features" and reboot before first use.

Re: File System Improvements to the Windows Subsystem for Linux

#54
post #26

Java still doesn't work properly though =(. "mvn clean package" on one of corporate projects takes about 5 to 8 minutes in native java on Windows or Mac and it takes more than one hour in WSL. I had so much hope for WSL that I would finally have only ONE device (surface), but no, we're not there yet.

Sorry, I have to ask. Why do you need to use Java with WSL? Native methods?

We have a build system which is built around maven with *nix only in mind. It does a lot of handy stuff and 99.999% people in company are on macs, I just wanted to have one device instead of two so I was trying to use surface. I keep trying it like once or twice a year and then back to my Mac + iPad + Apple Pen mainly because of that. I also tried to run Linux in hyper-v and use shared directories but io perforce is quite poor in this case too.

Re: File System Improvements to the Windows Subsystem for Linux

#56
post #39
post #26

Java still doesn't work properly though =(. "mvn clean package" on one of corporate projects takes about 5 to 8 minutes in native java on Windows or Mac and it takes more than one hour in WSL. I had so much hope for WSL that I would finally have only ONE device (surface), but no, we're not there yet.

Have you reported it?

Nope, somebody else did it so I just upvoted. It became better though, it used to be impossible to run Java 8 at all.

Re: File System Improvements to the Windows Subsystem for Linux

#57
post #26

Java still doesn't work properly though =(. "mvn clean package" on one of corporate projects takes about 5 to 8 minutes in native java on Windows or Mac and it takes more than one hour in WSL. I had so much hope for WSL that I would finally have only ONE device (surface), but no, we're not there yet.

Five to eight minutes? That sounds horrible. Have you tried concurrent compilation with "mvn -T 1C"? Gets our build time down from 3 minutes to 1 minute, but we have lots of smaller projects.

Well, that's a clean build of more 500 megs of source code and includes NPM building frontend and lots of other fancy plugins for generating docs and stuff.

Re: File System Improvements to the Windows Subsystem for Linux

#58
WSL is really interesting. I switched to the Mac in 2006 but I’ve never really used the fact it’s built on Unix much because it’s so different and frankly outdated comparede to the Linux systems I work on. When I want to do ‘Unixy’ stuff at home I run a Linux VM in VirtualBox. But WSL seems to offer the best of both worlds – a solid mature desktop environment with plenty of well supported professional level apps and an approaching first class Linux environment baked right in. I’m still very happy on the Mac and would miss a lot of Mac specific features and applications, but this is the first thing to happen in Windows Land that’s made me even think of the possibility of wanting to run Windows at home for over 10 years.

Edit: What would be the nearest thing to WSL on a Mac? VirtualBox is a bit heavy-weight. Maybe something based on Hyperkit and Docker?

https://github.com/moby/hyperkit

https://docs.docker.com/docker-for-mac/

Re: File System Improvements to the Windows Subsystem for Linux

#59

With the Creators update, can you now actually run a postgres service or apache in the linux subsystem?

See: https://blogs.msdn.microsoft.com/wsl/2017/04/11/testing-the-...

In particular, they run Nginx 1.4.6 with 100% test coverage and postgresql-9.5.3 with 100% test coverage.

Oddly (very), they have a few projects, Cassandra, Coffescript that show better test pass rates with WSL than Native Ubuntu.

Re: File System Improvements to the Windows Subsystem for Linux

#60

I wish there was a way to get lxss updates without being a Windows Insider. I turned on Insider on my brand new laptop last summer and it immediately overwrote some vendor-supplied drivers by newer-but-broken ones. Result: no sound. I didn't manage to fix it except through a full reinstall. Now that's exactly the sort of problem you need to prepared for when doing the Insider thing, but it sortof ruins the point. I w…

I'm pretty certain I had WSL running on my system without being a member of Windows Insider. You just need to turn that on if you want to be on the Fast Track...
Post reply on HN