News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux is out of beta by blibble on Friday July 28, 2017 @07:46PM (#14878500)
finally I can remove the win32 specific code from all the open source software I maintain

not sure that was what Microsoft was going for though...

Re:Windows Subsystem for Linux is out of beta by corysama on Friday July 28, 2017 @08:13PM (#14878643)
My theory of what they are going for is to migrate server devs from Macbooks running BSD Terminal.app to cheaper Windows laptops running WSL terminals. Once you have migrated away from Mac, getting your server code to run on Windows natively becomes a lot easier and more attractive.
Re:Windows Subsystem for Linux is out of beta by nerflad on Friday July 28, 2017 @08:42PM (#14878780)
The question of why you would want to run your server code on Windows (aside from supporting legacy .NET apps) remains. Those same sysadmins can overwrite Windows with a BSD or Linux on those cheap laptops.
Re:Windows Subsystem for Linux is out of beta by tsomctl on Friday July 28, 2017 @08:54PM (#14878840)
Because some of us prefer Windows to Linux on the desktop.
Re:Windows Subsystem for Linux is out of beta by nerflad on Friday July 28, 2017 @09:47PM (#14879060)
My point was that I don't see the sense in the strategy laid out by grandparent, because I don't see a compelling reason to run Windows on servers (I say this as a former Windows sysadmin (as recently as this year, not 2005)).
Re:Windows Subsystem for Linux is out of beta by Clubber on Friday July 28, 2017 @10:57PM (#14879254)
He said server devs, which I assume means people who develop stuff that runs on a (nix) server.

corysama, I agree. Windows was really lacking in any type of native unix connectivity. No native ssh, sftp support is a big one. You can get free third party programs for that, but nothing beats opening a terminal and having all of it, especially if that's what you are accustomed to.

I really love the new shell in Windows. I'm so glad they broke away from their old mindset.

Re:Windows Subsystem for Linux is out of beta by vvanders on Friday July 28, 2017 @07:58PM (#14878571)
Unless you're going to force your users to install WSL up front(which is a pretty poor first contact) I think you might be better served by keeping it around.
Re:Windows Subsystem for Linux is out of beta by hossbeast on Friday July 28, 2017 @08:44PM (#14878787)
You are misunderstanding the point of WSL. It's not about writing software with Linux that users will run with Windows. Rather, it's about writing software on Windows that users will run on Linux.

The target demographic is developers of Linux server software. A lot of those devs today run macOS

Re:Windows Subsystem for Linux is out of beta by vvanders on Friday July 28, 2017 @08:54PM (#14878839)
Oh no, I get that. The OP was making the assertion that open source doesn't need win32 portability.

That's a huge pain in the ass for those of us who work in things that are tied to win32(graphics, gamedev tools, etc) we happily contribute back but ripping out a working port just seems petty.

Re:Windows Subsystem for Linux is out of beta by blibble on Friday July 28, 2017 @09:55PM (#14879080)
it's a maintenance cost

I have to maintain a separate build system for Windows, all the win32 specific code, and also test under Windows... and most of this requires a Windows license

if I can rip all of that out by outsourcing the compatibility testing to Microsoft: all the better, even if I have to add a line to the documentation requiring users to check a checkbox once in some control panel somewhere

Re:Windows Subsystem for Linux is out of beta by Spivak on Saturday July 29, 2017 @10:36PM (#14884110)
Once you turn WSL would the actual user experience of those apps change?

Shouldn't you be happy that WSL will enable F/OSS devs to write cross-platform software much easier by not having to keep two sets of code?

Re:Windows Subsystem for Linux is out of beta by Sir_Cmpwn on Friday July 28, 2017 @09:31PM (#14879005)
Honestly, Windows users should be accomodated for as little as possible. I don't want to write my software once for 12 operating systems and once again for one. WSL is the only reason my software runs on their shitty OS at all.
Re:Windows Subsystem for Linux is out of beta by vvanders on Friday July 28, 2017 @09:52PM (#14879073)
If you're just looking to do open source for the fun of writing software then by all means ignore portability(which is a totally legit approach).

However if you're goal is to have an impact with your software then supporting win32 is a good bet since you're going to find an order of magnitude more users on win32. You'll also probably want iOS, Android and other platforms that aren't drop-in ports for POSIX if you want to provide a reasonable interface.

Re:Windows Subsystem for Linux is out of beta by Sir_Cmpwn on Friday July 28, 2017 @09:59PM (#14879089)
iOS and Android are largely POSIX-compatible. Windows is not as an intentional anticompetitive design choice. Now that WSL is mature, there's no reason to play into that nonense any further (though in my opinion there was never any reason to).
Re:Windows Subsystem for Linux is out of beta by wornohaulus on Saturday July 29, 2017 @10:57AM (#14881504)
What is your product ? What software do you write ?
Re:Windows Subsystem for Linux is out of beta by Sir_Cmpwn on Saturday July 29, 2017 @11:01AM (#14881528)
Many different kinds of open source software: https://github.com/SirCmpwn
Re:Windows Subsystem for Linux is out of beta by 43224gg252 on Friday July 28, 2017 @08:09PM (#14878625)
Why? The Linux sub-system is the best part of Windows. He's doing them a favor.
Re:Windows Subsystem for Linux is out of beta by untog on Friday July 28, 2017 @08:15PM (#14878648)
Extra dependencies are rarely ever doing anyone a favour. Yet another thing to keep up to date, occupy disk space, memory...
Re:Windows Subsystem for Linux is out of beta by Spivak on Saturday July 29, 2017 @10:38PM (#14884118)
That's a pretty flimsy case when it's bundled with the OS and the performance and memory cost is in their court to improve.
Re:Windows Subsystem for Linux is out of beta by gtirloni on Friday July 28, 2017 @08:21PM (#14878678)
It seems to still be a feature hidden under Developer Mode thus not appropriate as a dependency for end users.

Maybe OP is talking about tools installed on his/her own system only?

Re:Windows Subsystem for Linux is out of beta by pvdebbe on Monday July 31, 2017 @04:46AM (#14890396)
WSL is not always available for corp Windows setups
Re:Windows Subsystem for Linux is out of beta by geofft on Friday July 28, 2017 @07:50PM (#14878520)
Depends on your software - it doesn't get you integration with other Win32 apps or features, notably the GUI, since it's a separate subsystem. If your app is a database server, probably yes. If your app is a monitoring agent, definitely no.

(I'm curious if you've used it or you're just commenting based on the headline?)

Re:Windows Subsystem for Linux is out of beta by justabystander on Friday July 28, 2017 @08:01PM (#14878587)
> If your app is a database server, probably yes.

They explicitly don't support that. From the article:

> Linux distro's [sic] running atop WSL are for interactive user scenarios, NOT for running production workloads on Apache/nginx/MySQL/MongoDB/etc.

And the last time I checked, it's not suitable for services. The moment I closed the bash terminal, all the processes I had running through WSL terminated - including nginx and tomcat.

Re:Windows Subsystem for Linux is out of beta by geofft on Friday July 28, 2017 @08:13PM (#14878639)
Ah, thanks. I've only played around with interactively but that makes sense.

It really seems like the primary use case is supporting Docker/OCI containers for local dev, so you can keep using a Windows desktop instead of switching to a Linux one.

Re:Windows Subsystem for Linux is out of beta by shasheene on Friday July 28, 2017 @08:40PM (#14878771)
For software intended for regular users, POSIX via WSL isn't a replacement to the Windows API.

In addition to the feature needing to be manually installed, developer-mode must be enabled. WSL leaving beta does not appear to change that.

If the feature was installed by default, and an X server was bundled, it would risk the Windows platform. WSL allows developers to be placated without affecting the business side of the platform.