Perhaps WSL2 Should Be a Wake-Up Call
64k.space
64k.space
If in that world I then created a new proprietary desktop that was Windows 10 I would be dismissed as a loser by the entire industry for making a terrible unusable piece of crap.
There is nothing objectively wrong with the Linux desktop that it can't be used dby everyone.
1. Poor quality drivers. The money is not there. Intel and AMD might throw a couple of engineers on it but the process is always catching-up: slow and incomplete. Think of video, audio, power management, etc. I recently bought an AMD laptop just to discover modern standby and my jack headset are not supported, that my internal mic and speakers occasionally stop working and otherwise are too low, etc. After two kernel releases all these problems persist, even if they were acknowledged by the developers that are working on it (very resource-constrained). "Linux-ready" laptops might be a safer option but in general they are not cheap and they share most of the shortcomings listed here, it's just a safer gamble and you pay the insurance premium. Of course, if Linux had been sold OEM for 30 years with hardware vendors providing state-of-the-art drivers even before releases, this would be a different story.
2. The state of the display server. Multiple HiDPI screens with different scaling factors are not properly supported. This is an all too common requirement nowadays: FHD laptop + FHD/UHD external screen. X+xrandr is slow and buggy with most video drivers. Even after ten years, Wayland adoption is slow both by compositors and by apps. And critical functionality is missing or in alpha-state, for example screen sharing (a must have in these WFH days), be it because of the design of Wayland itself or because it depends on technologies that are still more immature (PipeWire, portals, etc).
3. Fragmentation at all levels: distribution, package manager, desktop, toolkit. From the perspective of an app developer you get a tiny market share with no clear target platform and a propensity to break backwards compatibility every now and then. This of course enables a negative feedback loop wrt to my previous points. Must read/watch from kernel developers: Molnar: http://files.catwell.info/misc/mirror/ingo-molnar-what-ails-..., Torvalds: https://www.youtube.com/watch?v=Pzl1B7nB9Kc. These problems are not unknown to Windows users (WinForms|WPF|UWP|WinUI and MSI|MSIX|exe, for example) but are way worse in Linux.
Until people tried to port build workflows from Linux to WSL nobody noticed, people working with Windows might have known metadata operations are slow but they worked around it, they just didn't make lots of small files, probably didn't even know there was some operating system that was vastly faster.
Microsoft does a focus group with WSL users and finds that some of them are frustrated because filesystem metadata operations are slow and they got desperate; they couldn't make NTFS much faster, they couldn't make any filesystem that uses the filesystem interface in Windows much faster.
So they create WSL2 which bypasses all the filesystem stuff in Windows and goes straight to the block layer.
The trouble with WSL2 is that you might as well just install Ubuntu on top of Hyper-V or VMWare or VirtualBox and if you can do it you can install it correctly, be able to install it if your Windows Store is broken
(e.g. so many times they told me to create a new user account, give up my browser history, and reconfigure all of the programs I use every day just so I could install worthless crapplets from the Windows Store... And I'd say, you fools, there is a procedure to rebuild the database for the Windows Store and unbreak it because you do it every time there is a Feature Update, just tell me how to make it happen.)
WSL2 is inferior to VirtualBox for the same reason that OneDrive is inferior to dropbox, the Windows Store is inferior to Steam, etc. Microsoft tries too hard to take advantage of close integration and that makes them screw it up.
seems to be the reason many Win32 programs work faster under WINE in Linux compared to native.
But that might have been fixed over time; in general, I find it a bit sad that the 'elegant' solution (WSL) was scrapped in favor of the 'throw containers at it' solution, but it works.
It's as simple as installing Docker in Linux (WSL2) and using your shell of choice on Windows.
Edit: the Docker instructions are pretty clear: https://docs.docker.com/desktop/windows/wsl/
First, WSL 3.1 will dominate. I’m only half joking here. Microsoft will iterate on this until they get enough right for their purposes.
Second is that the Linux community is great when we are building what we need - we act more like rational engineers.
But when we are building something we want , then we are much more like artists, and all have stubborn opinions about how things should be.
To me at least, it is this dual-personality that the community [0] has that is our limiting factor.
[0] - yes, I include myself in this group too for obvious reasons
The only difficulty is file sharing. Especially with git repositories. Never make the mistake of managing you git repos within Windows. Good bye permissions.
It's possible I don't understand and am doing something wrong.
At least it has a sane desktop. I'll take that over a bare metal install of a Linux distro, such that I don't need to dual boot my machine.
The Hilo sample for introduction to programming in C++ makes use of the Ribbon.
Ironically I have moved away from that VMware setup a couple of years ago, don't use WSL and hardly do any GNU/Linux, only Android/Linux.
I am using WSL because I want games and Windows-only applications. Dual boot seems too inconvenient. Using a regular VM works too, but it isn't as seamless as WSL2. It can boot in seconds, sharing files with host by default, automatic memory reclaim...
Depends what you play obviously compatibility wise, but proton under Linux is getting extremely good.
For a while gaming was my excuse for not switching to Linux full time, but currently everything I play I can manage to play under Linux at effectively the same or better performance. (CS:GO, Rocket League, Risk of Rain 2, FTL: Faster Than Light, osu!)
I still have a dual boot setup just in case (And a windows VM available for checking compatibility), but I've gone months without needing to boot into Windows and my tailored experience under Linux is far more efficient.
It’s technically cool that they managed to do this but it’s not all that useful to me ultimately to get me to abandon macOS for development.
suggests that the UI research was missing its market super-hard.
Users trying to get work done really hate having stuff change around from under them. One day GNOME might realise this.
pytorch multitasking bug in windows : squashed.
worries about sourceforge adware windows binaries of linux tools : squashed
I just setup windows 11 insider developer channel on a couple of my machines, never looking back !
I feel like I should take a 2 week vacation to celebrate the hard work of microsoft / nvidia / linux engineers on wsl2 / cuda.
Basically it lets you run Linux within Windows and it is implemented by Microsoft:
https://docs.microsoft.com/en-us/windows/wsl/about
WSL1 was a Linux syscall translation layer that tried to emulate Linux.
WSL2 is actually a Linux kernel running as a Windows subsystem via containerization magic.
Now with Windows 11 they seem to be having another go at it.