News for hackers. Stuff that matters.
Re:Initial preview of GUI app support for the Windows Subsys... by bogwog on Wednesday April 21, 2021 @03:00PM (#26894000)
So now developers can stop writing apps for Windows. Instead, they can write for Linux and distribute on Windows using WSL.

Thanks Microsoft!

Re:Initial preview of GUI app support for the Windows Subsys... by bachmeier on Wednesday April 21, 2021 @04:26PM (#26894990)
Is that a problem for Microsoft? It's not like folks are going to move away from Windows as a result. The reason they run Windows is because that's what they know and that's what's installed on their machine when they buy it. This for the most part eliminates the reason someone would have to move from Windows to Linux.
Re:Initial preview of GUI app support for the Windows Subsys... by spinningslate on Wednesday April 21, 2021 @05:04PM (#26895433)
Spot on. This is no knit-your-own-yoghurt altruistic move. It's all part of a well-coordinated effort to re-establish Microsoft as _the_ place that everyone does compute. "Commoditize your complement" as Joel Spolsky put it [0]; "windows on every desktop" for the cloud era.

Ballmer went head to head with open source and thought he could crush the threat. That didn't work, and things weren't looking great for MS before he was ousted.

Nadella's strategy is far more subtle: not quite Embrace/Extend/Eliminate, more Embrace/Neutralise/Replace.

Linux is a threat to server-side windows? Fine. Let them deploy on linux, so long as those linux boxes are in Azure. But that means devs get familiar with linux at the expense of windows, which means (a) they'll want linux on their desktop and (b) things are more readily transferable to AWS/GCP/whatever.

So: give them linux _in_ windows. Make appealing tools like vscode available free to create good will and positive sentiment towards Microsoft. Re-build the advocacy that hemorrhaged in the latter days of Ballmer's tenure.

And they're nailing it. By comparison to Google/Facebook/Amazon, there's very little negative press for Microsoft. And lots of positivity, even just in this thread.

It's hard not to be impressed by how successful they're being. And I say that as someone who still bears the scars from the 90s/00s hegemony. Microsoft was positively reviled by swathes of people in those days. Their attitude and market abuses rightly got them into hot water with the DOJ.

So, whilst I respect the turnaround, I'm wary. Microsoft is cruising inexorably back to dominance. History says that wouldn't be a good outcome.

[0]: https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/

Re:Initial preview of GUI app support for the Windows Subsys... by ljm on Wednesday April 21, 2021 @06:00PM (#26895981)
I see it a bit more simply:

A lot of developers use MacOS, particularly web developers who are almost always deploying the server to a linux machine. With the Mac being BSD-flavoured, a lot of open source tooling works the same as it does on Linux. MacPorts and Homebrew have done a lot to drive that.

The experience on Windows for this has been incredibly poor. There are solutions, but they're less integrated.

WSL comes in, along with Windows Terminal, and now you can have a much nicer time with it all without dual booting or running a VM.

Who knows where it'll be in a decade, but if anything, they're just making themselves a viable competitor to Apple by providing better development tools than they do.

Re:Initial preview of GUI app support for the Windows Subsys... by apatheticonion on Wednesday April 21, 2021 @08:31PM (#26897200)
Originally a Window dev, moved to Linux, eventually MacOS due to a lack of nice a DE on Linux and the nice UNIX base of MacOS.

Before WSL1 I would run Linux inside a VM from Windows and use remote development tools (like VSCode via SSH, SSH tunnels for port sharing, etc). It was all pretty straight forward, stable and I had no issues.

I used WSL1 when it launched and it was _incredible_. Bash actually on Windows. My workflow changed because of the level of integration I had with Windows. I could run browser automation tools against my Windows browsers, from Linux. I could run Windows programs from bash.

WSL2 came on the scene and introduced a hypervisor layer and I essentially came full circle. Sure it has some smarts around memory VM allocation - but it doesn't always work right and you're never really certain it's not running, consuming memory. Network port mappings were automatically tunneled, but only in one direction and they would occasionally fail causing random issues that require a reboot to solve. Now GUI windows are shared with Windows via RDP, cool..

Ultimately, WSL2 is the attempt to take Linux VM and make it appear like it's not a VM. Maybe it'll get there one day, but due to the got-ya's it's not for me.

I have since reverted back to using my choice of distro inside my choice of hypervisor, where I know what's going on and don't have to mentally reverse engineer the magic when it goes wrong.

Re:Initial preview of GUI app support for the Windows Subsys... by bostonsre on Wednesday April 21, 2021 @11:14PM (#26898339)
I use wsl2 now with centos and I don't have any networking or memory allocation issues like the ones you describe.

> Ultimately, WSL2 is the attempt to take Linux VM and make it appear like it's not a VM. Maybe it'll get there one day, but due to the got-ya's it's not for me.

In my experience, its been pretty great and elegant to work with. I've used it for ~1.5 years so far and they seemed to have broken down a lot of those vm walls to make it seem like some kind of hybrid windows + linux operating system. Doing stuff like 'code .' from within wsl to open the current wsl working dir in the vscode windows gui is pretty neat. And you can also do kind of neat stuff like writing to your windows clipboard from within WSL by running the powershell windows executeable. This is in my wsl .bashrc to do that:

function cb () { powershell.exe -command "\$input | set-clipboard" }

echo "hello" | cb # write hello to my windows clipboard

Re:Initial preview of GUI app support for the Windows Subsys... by okaram on Wednesday April 21, 2021 @09:34PM (#26897662)
You can still run WSL1, you know ...
Re:Initial preview of GUI app support for the Windows Subsys... by flukus on Wednesday April 21, 2021 @08:47PM (#26897311)
> I used WSL1 when it launched and it was _incredible_. Bash actually on Windows. My workflow changed because of the level of integration I had with Windows. I could run browser automation tools against my Windows browsers, from Linux. I could run Windows programs from bash.

Cygwin has been able to do this for 2 decades, actual bash plus other unix tools compiled to actual windows exe's. You can even run some gui tools if you run an xserver on windows.

Even WSL1 wasn't as good, there were too many issues like tail not working properly on windows files, issues with network shares, interop, etc. I pretty quickly reverted to cygwin.

Re:Initial preview of GUI app support for the Windows Subsys... by NavinF on Thursday April 22, 2021 @03:10AM (#26899712)
Ugh. Cygwin was such a pain back when it was the only option. It was yet another ABI and had all the breakage that implies. Even today, so many open source projects are full of ifdefs for cygwin.

I much prefer WSL1 and I've only run into a couple of issues over the last year (can't set Windows time from Linux and ssh-agent doesn't work out of the box) which is a significant improvement over cygwin or even a proper linux distro (which would occasionally boot to a black screen after updating anything related to X)

Re:Initial preview of GUI app support for the Windows Subsys... by flukus on Thursday April 22, 2021 @07:48PM (#26909508)
The same or similar patches exist for WSL. One of the examples I gave was tail not working on windows files, cygwin has had a patch for years so it just works, ubuntu had to add the same or a similar patch to work in wsl.
Re:Initial preview of GUI app support for the Windows Subsys... by bostonsre on Wednesday April 21, 2021 @11:18PM (#26898357)
WSL 1 was an ok attempt but yea, it had a lot of rough edges. From my experience WSL 2 is a bunch better and I definitely like it better than when I used cygwin (but that was 10 or so years ago). Cygwin is an ok shell, but being able to yum install stuff and run linux programs on wsl 2 has been awesome.
Re:Initial preview of GUI app support for the Windows Subsys... by jcelerier on Thursday April 22, 2021 @02:31AM (#26899458)
But msys2 does exactly the same without a VM
Re:Initial preview of GUI app support for the Windows Subsys... by manigandham on Thursday April 22, 2021 @01:40PM (#26905544)
You can still run WSL1, side-by-side with WSL2, even on a per-distro basis.
Re:Initial preview of GUI app support for the Windows Subsys... by wayneftw on Wednesday April 21, 2021 @07:16PM (#26896578)
I used Windows for twenty years as a developer and macOS for ten. Once I got away from .Net and iOS development and into Node/React both of them just got in my way while providing nothing of value. (Actually macOS has always annoyed me in many ways, so mostly I only used it for iOS stuff.)

Once I moved to Manjaro/XFCE a few years ago, all the problems disappeared. Docker just works. All the web dev tools are built for my platform and just work. There are no compatibility layers or emulation layers to worry about. I'm in charge of updates. I don't get nagged to do things at inopportune times. I'll never go back to either one of them full time. Windows for games, Macs for iOS/Xcode. That's it for me. Even for .Net and iOS now - I can do that too on Linux with .Net core and React Native.

Re:Initial preview of GUI app support for the Windows Subsys... by HomeDeLaPot on Wednesday April 21, 2021 @06:39PM (#26896312)
I have the same feeling. Nothing altruistic about it, Microsoft stands to benefit greatly from having Linux inside Windows. Altruistic would be open-sourcing Windows or something.

That said, I'm glad they're seeking to benefit by increasing interoperability and developer goodwill. Their current strategy is good for users and devs and probably the best we can hope for. This will change if/when Windows becomes the one and only viable platform again and switches back to using that as leverage, but with the way things are going I think that will take a while. Not only have they been losing to Linux on the server front, they've been losing to the web and Apple/Google on the application & mobile fronts, so they are a long way from lock-in there.

Re:Initial preview of GUI app support for the Windows Subsys... by d1zzy on Wednesday April 21, 2021 @05:48PM (#26895885)
This is a very smart strategic move on behalf of Microsoft that I would have never guessed (not because it doesn't make sense but simply out of corporate pride, considering they are the authors of the "Linux Facts" memorandum...).

I think it's smart because this will capture all those Linux people who aren't super comfortable administrating their own distro and even for those that are it's now giving them another option if they ever need to run things both in Windows and Linux at the same time or just run into some Linux issues and don't want to spend the time on them they can switch to Windows 10 WSL.

At this point the only thing that I still think it doesn't make much sense is Microsoft running/developing their own kernel. It's entirely possible for them to start running Linux and run all the WIN32 support, drivers, DirectX, etc as a separate sandbox (similar to the type of sandbox WSL runs). The performance overhead from doing that should be negligible on modern hardware.

EDIT: note that I only mean switching to Linux kernel for their desktop OS, there are plenty of usecases of Microsoft kernels where every bit of performance matters but I suspect those will continue to use their own kernel as part of Windows Server releases.

Re:Initial preview of GUI app support for the Windows Subsys... by mycall on Wednesday April 21, 2021 @09:03PM (#26897428)
There is one place where it makes sense for Microsoft to have their own Linux Kernel: Azure Sphere [0]

[0] https://3rdpartycodeprod.blob.core.windows.net/download/Azur...

Re:Initial preview of GUI app support for the Windows Subsys... by xnyan on Wednesday April 21, 2021 @06:13PM (#26896099)
>corporate pride

Corporate pride took a huge hit after they completely wiffed on mobile, then went on to throw good money after bad for a long long time before they were willing to admit that they had lost. Think about where MS could be if they taken google/android seriously at the beginning. For a while, the prevailing opinion was that Microsoft was nearly (or already) no longer a a supermax tech company.

Lots of business orthodoxy got nixed, most prominently the supremacy of Windows over all.

Re:Initial preview of GUI app support for the Windows Subsys... by jasonfarnon on Wednesday April 21, 2021 @06:01PM (#26895989)
Do you think there is something inherent in MS's DNA that makes it more dangerous in a position of dominance than its competitors? Where you can extrapolate from MS in 2000 to now? (In any event, I personally don't think MS when it was dominant and going through the anti-trust suit was doing much that isn't routinely done by its competitors these days.)
Re:Initial preview of GUI app support for the Windows Subsys... by dec0dedab0de on Wednesday April 21, 2021 @06:46PM (#26896367)
Do you think there is something inherent in MS's DNA that makes it more dangerous in a position of dominance than its competitors? Where you can extrapolate from MS in 2000 to now? (In any event, I personally don't think MS when it was dominant and going through the anti-trust suit was doing much that isn't routinely done by its competitors these days.)

Microsoft is very good at making deals with management. The marketing/sales apparatus is what really sets them apart. I can imagine being forced to give up my mac because someone who is barely technical made a decision after going out to lunch and hearing that WSL solves all the reasons I would use a Mac while giving more control to the enterprise.

While that example is a stretch to match the story, it's basically the reason why all the developers where I work have to spend time migrating from our self-hosted GitLab to GitHub enterprise. BTW If anyone at GitHub is reading this, can someone pretty please add sub namespaces within the enterprise?

Re:Initial preview of GUI app support for the Windows Subsys... by tadfisher on Wednesday April 21, 2021 @11:45PM (#26898507)
That's interesting. I raised a stink and demanded a ThinkPad with Linux after my former employer required CrowdStrike, Zscaler, and some self-service + remote-management crap on the Mac fleet.

Then they tried asking us to install CrowdStrike voluntarily on our Linux machines. I told them sure, once they ship a NixOS package for it. They never did, and the company shut down in any case.

Re:Initial preview of GUI app support for the Windows Subsys... by distances on Thursday April 22, 2021 @03:30AM (#26899837)
Linux is a small problem with remote work, I'm currently working for a client whose VPN only supports Windows and Mac. I'm very happy about WSL in this situation, allows me to use my desktop with all the familiar tools instead of buying an expensive and underpowered Mac.

This limitation came as a surprise even to the client, they were under the impression that Linux would work fine.

Re:Initial preview of GUI app support for the Windows Subsys... by samatman on Wednesday April 21, 2021 @07:06PM (#26896517)
When I'm feeling optimistic, I muse that the relentless hostility and distrust which a large cohort of 30+ year old developers will feel toward MS for their entire careers, might just be enough to keep them honest.

As one of those developers, I hope so: but I can barely bring myself to use VSCode, and made excuses to switch everything to GitLab once they bought GitHub. The latter is somewhat of a coincidence but it was a factor for sure.

Re:Initial preview of GUI app support for the Windows Subsys... by cptskippy on Wednesday April 21, 2021 @06:59PM (#26896458)
> Embrace/Neutralise/Replace

I haven't really seen that, as a primarily Windows Dev all the moves they are making are to encourage you to use Linux over Windows for backend work.

Hell, they own Windows but for some reason App Services targeting Windows are more expensive than Linux on Azure. It's almost as if they want us off Windows.

Re:Initial preview of GUI app support for the Windows Subsys... by andyferris on Thursday April 22, 2021 @12:55AM (#26898881)
That’s a competition law thing.

They charge AWS the right to use Windows - so Azure also needs to markup by a similar price, otherwise they would fall foul of antitrust regulations. It’s not legal to give Windows away for free on Azure but not AWS/GCP/anyone else who wants to rent a computer from their garage (I.e. essentially making Windows Server free-as-in-beer).

Re:Initial preview of GUI app support for the Windows Subsys... by GoOnThenDoTell on Wednesday April 21, 2021 @11:29PM (#26898404)
Maybe they do, windows costs money to enhance/secure/optimise/etc

Could be easier for just make Linux do the hard lifting and put a Microsoft layer on top

Re:Initial preview of GUI app support for the Windows Subsys... by ixacto on Thursday April 22, 2021 @12:13AM (#26898654)
Yes Microsoft does have an incentive to make a POSIX dev env available on their OS and also make the experience of using it not suck.

I'm curious as to why they didn't just purchase https://x410.dev/ and integrate that into WSLv2 as it has hidpi support already too. Also If Microsoft is able to get GPU compute working with native performance I would absolutely switch back from M1 mac.

Re:Initial preview of GUI app support for the Windows Subsys... by comex on Thursday April 22, 2021 @12:19AM (#26898688)
One difference is that this is based on Wayland, whereas X410 is based on X11. The Linux desktop is currently undergoing a (very) slow transition from X11 to Wayland.
Re:Initial preview of GUI app support for the Windows Subsys... by psd1 on Sunday April 25, 2021 @06:45AM (#26931752)
POSIX is a standard that Windows complies with natively and has done for decades - it's a requirement for DoD contracts IIRC.
Re:Initial preview of GUI app support for the Windows Subsys... by mb720 on Wednesday April 21, 2021 @07:27PM (#26896673)
>scars from the 90s/00s hegemony

Honestly curious, are you referring to Microsoft's illegal[0] tactics to destroy Netscape?

[0]https://www.washingtonpost.com/archive/politics/2000/04/04/j...

Re:Initial preview of GUI app support for the Windows Subsys... by chx on Thursday April 22, 2021 @01:36AM (#26899115)
https://web.archive.org/web/20040202024941/http://www.micros...

Also while this image https://i.redd.it/c4izfrkd4jl61.png is obviously just a meme (before we even called them memes) it really does grasp the messaging from Microsoft about Linux around the turn of the century. Dating the meme is easy, that's a first gen iMac visibly. https://i2.wp.com/sixcolors.com/wp-content/uploads/2018/05/b...

Those were not happy years.

Re:Initial preview of GUI app support for the Windows Subsys... by CRConrad on Sunday April 25, 2021 @05:40AM (#26931492)
There's sooo much more stuff, going back decades further:

1) Putting code in Windows, back when it was a separate graphical shell that ran on top of DOS, to detect if it was running on DR-DOS and shutting down with error messages more or less vaguely blaming the underlying OS.

2) Screwing their development partner IBM over on their joint project OS/2, switching to marketing their own branch Windows NT in stead.

3) Bundling their productivity apps together into an "Office Suite", thereby having the strongest[1] ones help selling the weaker[1] ones. (Yes, such bundling used to be illegal; it's actually a legal term that may have entered the vernacular via their first antitrust trial. For all I know it still is illegal in other industries.)

4) Related to both of the above, faking out Lotus and Word Perfect by pretending that OS/2 was the way to go, but themselves developing MS Office to have it work much better on Windows 3.x than these competitors. Arguably, WP an Lotus were somewhat out of touch and got started on porting their apps to Windows 3 far too late... But from all one could gather from the media at the time (and the trial documents later), that was in large part because MS had kept them in the dark.

5) OEM license deals with computer manufacturers that made selling both machines with Windows and with other OSes much more expensive for the manufacturer than if they sold only Windows machines. This was the main reason, IIRC far into this century, that it was almost impossible for ordinary consumers -- including up to at least SMBs -- with Linux preinstalled. (And I suppose this history has led to entrenched habits and business models in the industry which still make it pretty difficult and rare.)

And these are just the landmark ones that come to mind immediately. Beyond that, there were just endless amounts of "FUD"[2] and "EEE"[3] that helped them become a de facto monopoly in PC operating systems (and, arguably, office productivity software) -- "Linux is a cancer", etc etc. (Wouldn't surprise me if they're behind the insidious terminology of calling copyleft licenses "infectious" and "viral", too.)

All in all, back in their heyday -- from at least the mid-eighties to at least the early 00s -- they were just simply the actual supervillain of the computer industry.

And damn, it makes you feel old -- "What's wrong with kids nowadays, that they don't know this stuff?!?"... No, really, I just realized I'll probably never get around to trusting Microsoft again: When someone's been behaving very badly for years, then claims to be rehabilitated, how long does it take you to see them as trustworthy again... Twice as long as they were "bad"; three times? Counting low, say twenty years of monopolistic FUD / EEE / illegality and a 2× "probation period" starting ten years ago, that would be in thirty years. If I live, I'll be 87 then.

Buuut... Given their history as I know it, these current WSL shenanigans feel far too much like EEE all over again. (And, not to be too paranoid about it, I'm still not sure Stephen Elop wasn't a mole parachuted in at Nokia to try and make the mobile phone industry a Windows Mobile quasi-monopoly...) So, supervillain career possibly still ongoing.

___

[1]: Which is which varied with the customer. In the legal business, Word Perfect used to be the absolute de facto standard, but they were probably less married to their Lotus 1-2-3 spreadsheets, so getting Excel bundled in "for free" with MS Word was at least a bit of an incentive to switch. In the accounting industry, it worked the other way around.

[2]: "Fear, uncertainty, and doubt".

[3]: "Embrace, extend, extinguish".

Re:Initial preview of GUI app support for the Windows Subsys... by wnevets on Wednesday April 21, 2021 @11:29PM (#26898402)
>This for the most part eliminates the reason someone would have to move from Windows to Linux.

This 100% describes me. Not only does WSL remove a reason to dump Windows for Linux but it evens removes the need to dual boot. Linux is becoming a Windows App like a browser or media player.

Re:Initial preview of GUI app support for the Windows Subsys... by SBArbeit on Wednesday April 21, 2021 @08:48PM (#26897318)
No, the reason I run Windows is because I actually love using it and developing applications with it, not because I'm not capable of installing another OS.
Re:Initial preview of GUI app support for the Windows Subsys... by mb720 on Thursday April 22, 2021 @07:23AM (#26901465)
I used to like Windows 7 when it came out and Windows was the only OS I'd used.

It's hard for me now to love an OS that

* blatantly spies on its users[0]

* has an update mechanism that takes way too much time and CPU

* and an antivirus software that scans those updates, making the machine even slower

* shows ads, even though users paid for the OS[1]

* in its "professional" edition comes preinstalled with all kinds of cruft like Candy Crush[2][3]

* in its home edition blocking users to install a different browser, patronizingly claiming that Edge is the best[4]

Switching to Linux made me feel like I actually own my machine again.

[0]https://www.privacytools.io/operating-systems/#win10

[1]https://www.pcmag.com/how-to/how-to-remove-the-most-annoying...

[2]https://i.imgur.com/qhoV17Q.png

[3]https://www.pcmag.com/news/windows-10-will-come-with-candy-c...

[4]https://i.imgur.com/CBOqNmE.jpg

Re:Initial preview of GUI app support for the Windows Subsys... by nucleardog on Thursday April 22, 2021 @01:56PM (#26905757)
Hell, I took it one further. I blew away Windows and installed Linux.

Then I went back to virtualized Linux because I got tired of my hardware not working.

Now I get the best of both worlds for me. I can do all my work in Linux and all my peripherals work.

Not everyone that chooses to run something else does so because they're incapable or an idiot, sometimes people just want to take the happy path and get on with the important things.

Re:Initial preview of GUI app support for the Windows Subsys... by InitialLastName on Wednesday April 21, 2021 @04:41PM (#26895164)
Judging by the performance/UI catastrophe of Outlook, Teams, Windows Terminal and the rest of Office, Microsoft has already stopped writing apps for Windows. Look at them, eating their own dog food.
Re:Initial preview of GUI app support for the Windows Subsys... by sandyarmstrong on Wednesday April 21, 2021 @04:58PM (#26895374)
Hold up, what's your beef with Windows Terminal? I've really been enjoying it!
Re:Initial preview of GUI app support for the Windows Subsys... by pxc on Wednesday April 21, 2021 @06:11PM (#26896083)
Same. I am not a Windows person and never have been, but Windows Terminal is clearly lovingly maintained and already much, much better than previous terminal emulator offerings for Windows. I don't particularly wish I had it on Linux, but it's already my go-to when I have to use Windows for a bit, and I think it's an impressive piece of software.
Re:Initial preview of GUI app support for the Windows Subsys... by globular-toast on Thursday April 22, 2021 @03:00AM (#26899649)
cmder [0] is great. When I was forced to use Windows, a good terminal emulator was the first thing I looked for. The trouble is most Windows users don't know what a terminal emulator is or that anything better is possible. But it has been possible for a long time.

[0] https://cmder.net/

Re:Initial preview of GUI app support for the Windows Subsys... by pxc on Friday April 23, 2021 @06:16PM (#26919842)
Cmder used to be my go-to for the times I had to use Windows before my most recent attempts which came after WSL, PowerShell Core, Windows Terminal, and the whole new ecosystem Microsoft seems to be invested in building around the command line. I don't remember any specific complaints about it except that configuration (if you wanted to customize it— defaults were quite good) options were kinda overwhelming. At the same time, I don't have any interest in going back to it after using Windows Terminal for a while.

I'd be curious about your first impressions of Windows Terminal as a more recent cmder user, if you still have a Windows VM lying around.

Re:Initial preview of GUI app support for the Windows Subsys... by InitialLastName on Wednesday April 21, 2021 @05:58PM (#26895960)
My judgement of Windows Terminal might have been unfair, but it has its annoyances.

- Sometimes the preferences just decide to go through the "open as a json file" path

- I don't know if it's my settings or what, but in WSL2/Ubuntu 20.04 I keep getting into a state where my background is black but lines fill in white. I've used the same .bashrc for a decade without that issue.

- The copy/paste UI is different both from normal Linux interfaces, from CMD, and from the Windows standard.

- As far as I can see, no support for USB CDC devices either via WSL2 or through Windows itself. There's no reason I should need PuTTY still to access a usb-serial console.

Re:Initial preview of GUI app support for the Windows Subsys... by sandyarmstrong on Wednesday April 21, 2021 @06:21PM (#26896166)
Fair criticisms!

Personally I'm thrilled to finally have a good terminal experience on Windows. The copy/paste behavior is very comfortable to me, given the similarity to gnome-terminal. And to be honest I never really got comfortable with CMD's behavior.

I don't use WSL itself much, so I can't comment on those bugs except to say I hope you find fixes.

I've ended up doing a lot of PowerShell for work lately, so I jotted down a guide for myself for getting the terminal to behave the way I like, if it's useful to anyone: https://gist.github.com/sandyarmstrong/8b48d7dd0cb01c63cabc6...

Re:Initial preview of GUI app support for the Windows Subsys... by distances on Thursday April 22, 2021 @04:34AM (#26900293)
Windows Terminal has a very noticeable lag when typing. To me that makes it completely unusable. I'm using this other default WSL shell app -- I don't actually know what it's called, just says "Ubuntu" for Ubuntu WSL installation.
Re:Initial preview of GUI app support for the Windows Subsys... by 2ion on Thursday April 22, 2021 @06:58AM (#26901302)
Instantaneous for me. But I'm already looking forward to running kitty anyhow.
Re:Initial preview of GUI app support for the Windows Subsys... by swest on Wednesday April 21, 2021 @05:37PM (#26895769)
Agreed! It's the only terminal I can find that both respects my color settings and runs tmux well.
Re:Initial preview of GUI app support for the Windows Subsys... by xnyan on Wednesday April 21, 2021 @06:16PM (#26896125)
>...Windows Terminal...

One of these things is most certainly not like the other. I'm not saying your experience is wrong, just that the general opinion of Windows Terminal is quite positive and can't really be lumped in with the likes of Teams and Outlook.

Re:Initial preview of GUI app support for the Windows Subsys... by InitialLastName on Wednesday April 21, 2021 @06:30PM (#26896258)
Yeah, I might not be being fair about Windows terminal. I get into my issues with it above, but I was also a very happy Cygwin/MinTTY user so my standards might be warped.
Re:Initial preview of GUI app support for the Windows Subsys... by disgruntledphd2 on Thursday April 22, 2021 @05:35AM (#26900673)
I didn't realise quite how much I hated Cygwin default fonts until I installed Windows Terminal.
Re:Initial preview of GUI app support for the Windows Subsys... by ocdtrekkie on Wednesday April 21, 2021 @04:52PM (#26895304)
I believe Microsoft is expected to replace Outlook with a web app-based version in the next major release. Google Chrome is the new Microsoft development platform, it seems.
Re:Initial preview of GUI app support for the Windows Subsys... by jraph on Wednesday April 21, 2021 @05:03PM (#26895419)
This would allow them to run Outlook natively in EdgeOS, their fork of ChromeOS, in which the default search engine, Bingle, is a proxy to Google Search with nice backgrounds.

(all of this comment completely fictional).

Re:Initial preview of GUI app support for the Windows Subsys... by InitialLastName on Wednesday April 21, 2021 @05:59PM (#26895970)
I sure hope they improve the searching, conversation merging (realistically non-merging) and RSS support, but something tells me they won't.
Re:Initial preview of GUI app support for the Windows Subsys... by dartharva on Thursday April 22, 2021 @12:34AM (#26898771)
I'm not aware of any "performance/UI catastrophe" of any of the apps listed above, any context? Sure, Outlook and Teams have less than ideal UX, but the "rest of Office" is pretty good imo.
Re:Initial preview of GUI app support for the Windows Subsys... by Ombudsman on Wednesday April 21, 2021 @06:00PM (#26895983)
Pretty sure WSL is a developer tool, so "normal" would still need native apps, unless they go through the hoops of activating WSL so that they can listen to Spotify.
Re:Initial preview of GUI app support for the Windows Subsys... by yazaddaruvala on Wednesday April 21, 2021 @09:12PM (#26897478)
Before the year 2025, when Windows has switched from the NT kernel to the Linux kernel, we will all ask "What exactly is Windows?" (in the spirit of Theseus' ship) and "Is this outcome really Linux on the desktop/laptop?" (in the sprit of No True Scotsman)

To avoid too much theory lol, my perspective is that MSFT views Windows as the trademarks and the 30+ years of backwards compatibility layers (e.g. Direct3D, WinAPIs, etc), and everything else is already expendable (kernel, drivers, etc). Meanwhile, the (slow?) migration to ARM and Web(Electron + derivatives included) will deprecate the compatibility layers too.

FWIW, I think people will still only develop "for Windows" not develop apps "for all Linux distributions", the same way people develop "for iOS/macOS" not "for all *BSD distributions".

MSFT reduces developers and costs because kernel costs become "a relatively large corporate donation" (tiny compared with the reduced developer salaries) and drivers are created by hardware companies instead. Meanwhile, MSFT increases revenue through Azure, consumer services like gaming, consumer electronics (e.g. VR, Surface, etc), enterprise sales "for the support/compatibility", and increased adoption/street-cred given its now "Linux on the desktop, laptop, AR/VR and tablet". Its simply a no-brainer for MSFT.

This is not a new idea: found one of my responses from 2016 https://news.ycombinator.com/item?id=11390719. There is a parent comment describing Windows as "just another Linux distribution", albeit it'll 1. be the most deployed Linux distribution by a lot and 2. continue to have a closed-source UI toolkit (e.g. Cocoa on macOS).

Re:Initial preview of GUI app support for the Windows Subsys... by bscphil on Wednesday April 21, 2021 @11:11PM (#26898315)
> Before the year 2025, when Windows has switched from the NT kernel to the Linux kernel

> continue to have a closed-source UI toolkit (e.g. Cocoa on macOS).

The comparison isn't apt. macOS can use BSD licensed programs because it's allowed to create derivative works that are closed source. Anything constituting a derivative work based on the Linux kernel has to be open source because of the GPL's virality.

So unless you think Microsoft will be willing to keep all their custom software restricted to userland (requiring basically everything else to be GPL) it seems extremely unlikely that this will happen. Microsoft is going to want to continue developing an operating system, not merely a Linux distribution.

Obviously I'd love to see it happen, but I find it extraordinarily unlikely for these and other reasons (backwards compatibility? Continuity with previous sysadmin tools?)...

Re:Initial preview of GUI app support for the Windows Subsys... by pdonis on Wednesday April 21, 2021 @11:51PM (#26898538)
> Microsoft is going to want to continue developing an operating system

I'm not so sure. I don't think MS sees itself as primarily a OS company. I think it sees itself as primarily an applications company, and the Windows OS (and before that, MS-DOS) was historically the best way to get everyone to use their applications. (It was a great help, of course, to have IBM basically hand them the PC software market, not once but twice--but I think if IBM had had their s*t together and had made OS/2 solid and workable sooner, MS might never have developed Windows.) But the Windows OS itself I think has always been expendable if MS could find a way to get everyone to run MS Office applications, .NET applications, etc. (and now Azure applications) without it. This might be the way that finally happens.

> backwards compatibility? Continuity with previous sysadmin tools?

If then can make Linux run on a Windows kernel, they can also make Windows run on a Linux kernel. All they need is a compatibility layer for all the Windows APIs. And MS is certainly no stranger to compatibility layers.

Re:Initial preview of GUI app support for the Windows Subsys... by tester34 on Thursday April 22, 2021 @04:19AM (#26900193)
>If then can make Linux run on a Windows kernel, they can also make Windows run on a Linux kernel.

How are you so sure? what if Windows has more modular/flexible kernel?

Re:Initial preview of GUI app support for the Windows Subsys... by yazaddaruvala on Thursday April 22, 2021 @12:58PM (#26905031)
Then MSFT pays a few devs to spend a year or two working on improving the Linux kernel.

It just needs to be good enough, not the best kernel integration ever.

Re:Initial preview of GUI app support for the Windows Subsys... by saagarjha on Thursday April 22, 2021 @05:37AM (#26900689)
Wine exists.
Re:Initial preview of GUI app support for the Windows Subsys... by dartharva on Thursday April 22, 2021 @12:32AM (#26898757)
Wouldn't it be easier for MS to just open-source the NT kernel instead of making the big shift to Linux? I can't think Windows' internals (if they ever get exposed) could have been inferior to Linux in any way.
Re:Initial preview of GUI app support for the Windows Subsys... by yazaddaruvala on Thursday April 22, 2021 @12:48AM (#26898843)
Networks effects. Microsoft doesn’t want to recreate a 20 year old organization/community that has been built on primarily donations. No company or large group of people is going to donate the same levels of dev-hours to the NT kernel.

It’s just simpler to have a team or two of in-house devs contribute those improvements from NT to Linux.

Re:Initial preview of GUI app support for the Windows Subsys... by emptyparadise on Thursday April 22, 2021 @04:19AM (#26900194)
I think Microsoft ditching "Windows" is more likely than them ditching "NT" - given that Hyper-V is Azure's bread and butter.
Re:Initial preview of GUI app support for the Windows Subsys... by fmakunbound on Wednesday April 21, 2021 @04:07PM (#26894763)
Yeah this is just like when IBM's OS/2 ran Windows applications. Software developers thought "Great. I'll just code it once for Windows and be on OS/2 for free!"
Re:Initial preview of GUI app support for the Windows Subsys... by tyingq on Wednesday April 21, 2021 @03:29PM (#26894315)
s/Thanks/Embrace :)
Re:Initial preview of GUI app support for the Windows Subsys... by TimTheTinker on Wednesday April 21, 2021 @03:38PM (#26894404)
s/Embrace/Extend

... except that if Microsoft did, likely very few would embrace such extensions.

A successful EEE play requires a lot of pre-existing trust that has to last through the Extend phase, which is why I don't think they'll ever try that again in the foreseeable future.

Re:Initial preview of GUI app support for the Windows Subsys... by themacguffinman on Wednesday April 21, 2021 @03:43PM (#26894455)
Anecdotally, I've seen apparent fanfare and demand for DirectX for WSL that Microsoft recently built so I'm skeptical of this.
Re:Initial preview of GUI app support for the Windows Subsys... by BuildTheRobots on Wednesday April 21, 2021 @04:03PM (#26894710)
I'm still convinced the long term plan is to stop people being able to boot a Linux kernel on desktop hardware (think secure boot) and when people complain the response is going to be "but you can run Linux on Windows!"
Re:Initial preview of GUI app support for the Windows Subsys... by ROARosen on Wednesday April 21, 2021 @04:07PM (#26894761)
After all, there must be something diabolical when Microsoft is just doing something to appease devs who have for years railed against them for being dev hostile.
Re:Initial preview of GUI app support for the Windows Subsys... by pbhjpbhj on Wednesday April 21, 2021 @04:33PM (#26895080)
If you've been bitten by a tiger, it seems right to be wary when it invites you for dinner.
Re:Initial preview of GUI app support for the Windows Subsys... by waheoo on Wednesday April 21, 2021 @06:45PM (#26896358)
Ah... Yes.

Seriously, you kids do not remember things clearly or simply weren't around.

Microsoft simply cannot be trusted.

Maybe ya'll are fine forgiving and forgetting but personally I take a stance on a company for this kind of behaviour I don't forgive.

Same goes for a lot of companies with awful histories of Child Labor and agregious abuses.

> Linux is the long term threat against our core business. Never forget that!

I won't.

https://www.theregister.com/2001/11/12/ms_promotes_linux_fro...

Re:Initial preview of GUI app support for the Windows Subsys... by ROARosen on Wednesday April 21, 2021 @07:07PM (#26896521)
Imagine keeping sanctions on South Africa for apartheid decades after they've ended it and that regime is long gone.

(Not that I'm comparing the two but since you brought in child labor I'm just going further down that lane.)

Re:Initial preview of GUI app support for the Windows Subsys... by dane-pgp on Wednesday April 21, 2021 @07:30PM (#26896701)
The difference is, the constitution of South Africa now makes apartheid legally impossible (I assume, I haven't actually read it), whereas the corporate charter of Microsoft not just allows but potentially requires it to attack Linux.