Live data from Hacker News

Fun with the Windows Subsystem for Linux

blogs.windows.com

41–50 of 99 posts

Re: Fun with the Windows Subsystem for Linux

#41
post #34

Why would you need a Linux subsystem to run Python? Python runs just fine on Windows. All my Python programs run on both platforms. If you just want command line tools, there's Cygwin.

For development reasons it's nice to have the same exact version and environment on your Windows desktop as you would on a server.

Re: Fun with the Windows Subsystem for Linux

#42
post #4

ELI5: What does this mean to me, as a developer who's really familiar with (and prefers) Linux, but has to use Windows? What cool possibilities will this "Linux Subsystem For Windows" open up to me? What things will it specifically not open up to me?

I've been primarily a Linux user since 1995, and have been using Windows 10+WSL for the past week or so, since getting a new laptop. The only thing I can think of that it'll open up for you is if you want to develop for Windows, while still having Linux available to you. Whether that's for developing games (most of the good game development tools run only on Windows, even if they can deploy to Linux/Mac/Android), or…

> The modern Linux desktop is every bit as good as Windows (and Mac OS), IMHO

The politest thing that I can say about that is "there's no accounting for taste".

Re: Fun with the Windows Subsystem for Linux

#43
post #34

Why would you need a Linux subsystem to run Python? Python runs just fine on Windows. All my Python programs run on both platforms. If you just want command line tools, there's Cygwin.

My experience with WSL has been excellent so far, I see it making Cygwin obsolete almost entirely. Cygwin was always a pain to set up and occasionally very buggy.

Re: Fun with the Windows Subsystem for Linux

#46
post #40
post #17

Earlier quoted context omitted.

Agreed. for an elementary tutorial, I would have not put that rm -rf /mnt/c/ command on it, at least I would have put a # in front just in case. Once the authors discovers GNUScreen/tmux, xargs and other tools, his life will change :)

tmux works, screen shits the bed.

Is there a reason for this / is it likely to be fixed anytime soon? I grew up with screen but this might be a good reason to try out tmux, I guess.

Re: Fun with the Windows Subsystem for Linux

#47

I am really looking forward to this for my Surface Book. Historically I've loaded up a virtual machine running Linux, this was more complete and had fewer hiccups than a Cygwin type of setup for me. Of course it would be REALLY useful if they also support NFS for mounting stuff from my NAS appliance and a compositor (Wayland/X11/Etc.) that would allow things that create windows to work as well.

I recently came across this fuse for windows, enabling sshfs, almost as good as NFS in many situations IMHO

https://github.com/billziss-gh/winfsp

Re: Fun with the Windows Subsystem for Linux

#48

I grew up through some of the more interesting business practices Microsoft employed, and it's several attempts to harm the Linux ecosystem. I would love to see this move by Microsoft in a positive light, but can't help but be suspicious ? For now the possibilities it opens are great, however I wish I understood Microsoft's strategic view of this and how it might evolve over time for Linux.

Embrace, extend, extinguish? I mean, in this case, good luck with that.

Re: Fun with the Windows Subsystem for Linux

#49
post #34

Why would you need a Linux subsystem to run Python? Python runs just fine on Windows. All my Python programs run on both platforms. If you just want command line tools, there's Cygwin.

Python isn't installed by default on Windows. So this makes it easier.

Python not being installed by default honestly makes it very easy to install and manage on Windows.

Re: Fun with the Windows Subsystem for Linux

#50

I grew up through some of the more interesting business practices Microsoft employed, and it's several attempts to harm the Linux ecosystem. I would love to see this move by Microsoft in a positive light, but can't help but be suspicious ? For now the possibilities it opens are great, however I wish I understood Microsoft's strategic view of this and how it might evolve over time for Linux.

Strategic View is simple I believe, they want developers back in there fold. MS sells Windows and most devs have no problem with its UI but want to use linux CLI, also some new tools/languages are developed only/first for Linux. Now OSX being compatible has captured this lucrative marketshare.

Having good developers using Windows will be a great boost for ecosystem, a percentage may choose to experiment with UWP, a react-native developer may try a Windows version of app.

Only thing to loose is people may not build cli tools for Windows, but that is already a lost cause. Linux won't pose a threat to GUI, so no chance of non developers getting comfortable and migrating to Linux. So win-win and later some more win.

Post reply on HN