News for hackers. Stuff that matters.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by londons_explore on Monday November 23, 2026 @09:24AM (#50612069)
[delayed]
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by dizzant on Monday November 23, 2026 @09:40AM (#50612471)
Wasn't WSL1 an attempt at your "reverse of this project"? It didn't work out too well, the compatibility layer had too much overhead and WSL2 just went back to a standard VM setup.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by gmmachine on Monday November 23, 2026 @09:42AM (#50612540)
Yeah, I thought the same thing -- I like this better.

However this project is hosted on GitHub so now Microsoft owns this opposite codebase too.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by _blk on Monday November 23, 2026 @10:51AM (#50613873)
MS "Hosts" not "owns" it. It's still LGPL
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by gmmachine on Monday November 23, 2026 @11:31AM (#50614632)
Technically that is true. Respectfully, you're missing the nuance of what I said. Because, you're ignoring the fact that Microsoft uses, among other things, the very projects that are hosted on GitHub repositories (which they own) to train their own AI models.

Once that code is refactored inside those models the copyright becomes debatable.

This is something RMS noted too, see:

https://news.slashdot.org/story/21/09/18/0432224/richard-sta...

So, yes, they don't own it, but they might as well, because attribution after being refactored inside the AI model becomes vague.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by gmmachine on Monday November 23, 2026 @11:36AM (#50614728)
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by xanathar on Monday November 23, 2026 @11:06AM (#50614133)
coLinux well before Microsoft did WSL1. It even had a distribution for it, andLinux.

At some point in time it was possible to install KDE natively on win32 too, but I never got to replace the win32 shell entirely with KDE.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by cmovq on Monday November 23, 2026 @09:45AM (#50612587)
Isn’t the reverse of this project a Linux shell / desktop environment (which is famously not very good) on Windows?
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by antiframe on Monday November 23, 2026 @09:52AM (#50612748)
The Linux desktop environment is better than the Windows one. More configurable. No ads in the start menu. Respects your default browser setting. Isn't slow as molasses at browsing files. Easy tiling window manager. No copilot key that constantly throws AI at you. A file/program search that works and is fast. Easier to tell which window has focus. That's just off the top of my head.

I use Windows at work and the UX is godawful.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by jzemeocala on Monday November 23, 2026 @10:29AM (#50613488)
very true, especially now.

but, IMHO, XP and & were peak Windows OSes. Vista and then later 8 were the reason i switched to linux to begin with

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by Hugsbox on Monday November 23, 2026 @10:21AM (#50613302)
The desktop experience is one of the biggest draws for Linux, it's incredible. I'm forced to use Windows for work (which is the only time I'll tolerate using it), and when I go home to my lovely Linux machines it's like a breath of fresh air every evening.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by d3Xt3r on Monday November 23, 2026 @10:36AM (#50613597)
That was exactly how I drove my Windows XP machine back in the day - I replaced Explorer with Blackbox (bb4win and later xoblite), patched the shell32.dll icons with one of the Linux icon packs (I believe I used Crystal XP at the time), most of my apps were FOSS (Firefox, OpenOffice etc) and my terminal was bash running under cygwin. Everyone who used my computer at the time thought that I was running Linux. :-)
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by MrDrMcCoy on Monday November 23, 2026 @10:17AM (#50613232)
I vaguely recall trying a few of these back in the day: https://en.wikipedia.org/wiki/List_of_alternative_shells_for...
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by Fnoord on Monday November 23, 2026 @12:44PM (#50615943)
[delayed]
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by jeroenhd on Monday November 23, 2026 @10:42AM (#50613716)
"everything is a file" also applies to Windows where it makes sense. Composable command line tools have been solved since the first release of Powershell (which beats Linux' scripting tools by variables that are more than a string or maybe a number, and an array of those).

Hosting win32 without patches is a recipe for disaster in the image handling libraries and file previews, but it's a pretty neat way of working for the people would would've used Windows XP if they hadn't been forced off away from that.

The closed source nature gets in the way of enjoying Windows (maybe some native components can be replaced with their ReactOS equivalents?) but many of the POSIXisms are just suboptimal designs lauded purely because they're different from what Windows is doing.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by pitched on Monday November 23, 2026 @12:35PM (#50615772)
The boilerplate overhead of writing Powershell vs Bash makes it unusable for humans. The worst gotcha for me was when it posts warning about the method names being unapproved verbs? I feel like, if you ever reach for Powershell, you’re already so deep into _Enterprise_ that the issues might not connect.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by ghm2180 on Monday November 23, 2026 @10:46AM (#50613787)
I recall that Musk got fired from paypal for proposing the use if Windows NT instead of linux/unix kernels for paypal way back. I recall that the reasoning of the engineers was security risk that this might have posed. My engineering brain tells me that the kind of risk wasn't likely poor engineering of NT vs unix/linux kernels, but possibly to do with the proprietary nature of the kernel, i.e. systems engineers in paypal can't really tinker and explore the kernel itself or debug issues in it easily. Was that the security angle paypal engineers were thinking of?
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by giancarlostoro on Monday November 23, 2026 @10:53AM (#50613891)
NT used to be notoriously bad at security, before UAC (which everyone hated, and came out in Vista) everything ran as admin. Hell, I remember exploits where just visiting a web page would load an EXE into your system.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by gpvos on Monday November 23, 2026 @11:02AM (#50614064)
Those problems weren't in the kernel, but in the layers above it, mostly the UI.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by giancarlostoro on Monday November 23, 2026 @11:09AM (#50614190)
Not sure about that... there were definitely issues with Windows NT outside of the "UI" layers? It also came with certain services enabled by default which exposed your system to all sorts of shenanigans. I was but a teenager, but I remember all sorts of simple exploits like giving yourself admin as a normal user.

https://www.cnet.com/tech/tech-industry/windows-nt-a-hackers...

https://www.cnet.com/tech/tech-industry/ms-posts-getadmin-fi...

https://learn.microsoft.com/en-us/security-updates/securityb...

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by dblohm7 on Monday November 23, 2026 @11:56AM (#50615095)
Those still aren't _kernel_ issues, though; those are configuration issues.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by ryanschneider on Monday November 23, 2026 @11:06AM (#50614139)
It didn’t even requiring visiting anything. At one of my first jobs I reformatted my machine to base windows 2000 and it was compromised before I could download the service packs.

IIRC the issue was that our ISP gave everyone a public IP and allowed NetBIOS traffic from the outside world and there were so many attackers port scanning IIRC port 139 you were found and compromised within a couple minutes of booting up.

IIRC the work around was to boot into safe mode and disable SMB and NetBIOS then reboot and download the service packs (or get an image with the service packs already baked in).

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by ale42 on Monday November 23, 2026 @11:15AM (#50614294)
Same, I was deploying Windows 2000 to a machine, and it got infected by one of those NetBIOS worms during the installation. My ISP at that time have a simple cable modem, which was giving out a single unfirewalled public IP to the PC behind it...
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by badc0ffee on Monday November 23, 2026 @12:10PM (#50615363)
I know this was 25+ years ago, but that's just your ISP being a good ISP. You should get a public IP address and you should be getting all traffic that comes to that address. The real solution would have been a hardware firewall or NAT like a Cisco PIX on your side.

(Definitely not blaming you or your team. I worked in a small, understaffed place with a similar network in the late 90s and had similar problems.)

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by toast0 on Monday November 23, 2026 @12:40PM (#50615876)
should* be getting all traffic that comes to that address.

I feel like some ports have earned their retirement from public service.

My (residential ISP) blocks these for inbound and I can't really argue that it shouldn't:

19 (chargen), 67 (dhcp), 135-139 + 445 (microsoft smb/rpc), 161 (snmp), 1900 (ssdp), 10001 (ubiquiti discovery... this one seems the leaat justifyable)

It's maybe a bit heavy handed, but these things don't need to be on the internet and a little bit of blocking helps stop a ton of abuse. If you really want to run chargen, you can do it on another port. :p

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by dfe on Monday November 23, 2026 @12:19PM (#50615523)
I vividly remember those days. To be fair to Windows NT, the very same could happen if you set up Solaris or Linux or really anything running an NFS server out of the box, even if no mounts are exported. All it takes is a bug in the NFS or (Sun)RPC server code before it even gets to the point where it's trying to actually serve something. Such bugs have existed.

And why limit ourselves to file sharing? Bugs in the TCP/IP stack itself have led to things like the "ping of death" (Windows 95) or more recently demonstrable RCE against the Linux kernel by using TCP options in an unexpected way.

The main distinction is that Windows NT, even the earliest 3.1, enables the SMB (file and print sharing) service by default. In 1990 when it was being designed, and even by July 1993 when it was finally released, I'm sure this didn't seem like a big deal. All of this was meant to be running in the safety of a LAN. The direct predecessor product (co-developed with OS/2) is even named "LAN Manager".

Yes, if you open up your SMB server or NFS server to the broader Internet, you're gonna have a bad time. As I recall, this could be avoided by doing advanced network setup and just making sure you did not bind "file and print sharing" to any interface that had a public IP without an external firewall. Once you got all the service packs applied, you could go back and turn it on if you needed it.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by pak9rabid on Monday November 23, 2026 @01:03PM (#50616234)
Sounds to me that the real issue was putting Windows machines directly onto the Internet with a public IP, and no firewall between them and the outside world.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by mcculley on Monday November 23, 2026 @01:31PM (#50616687)
That is saying the same thing. Windows at that time could not handle being connected directly to the Internet, which made a lot of us less likely to use it as a server for Internet services.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by darksim905 on Monday November 23, 2026 @01:06PM (#50616291)
With a basic firewall on a network, this makes no sense. If this is a job or business, that means something locally was infected.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by SmashDan on Monday November 23, 2026 @01:20PM (#50616519)
Windows computers of that period were under attack from so many different vectors that an infected machine on the network wasn't unlikely. We kinda take for granted how secure modern computers are by comparison.

That said the guy did say that he had an exposed IP. Early internet providers used to provide just a modem, and you would have to buy your own router.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by darksim905 on Monday November 23, 2026 @01:28PM (#50616614)
man, this is making me think of old DOCSIS cable modems, the AOL days, and Windows 95/Windows 98.

Still. For a Windows enthusiast like me, this project is something I've been looking for/hoping works this will for a long time. Very exciting, because instead of using janky WSL2 on Windows, can just have native Linux whenever I need or want it, and then run the Linux version of Firefox with all my standard Windows blobs. Awesome.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by efdee on Monday November 23, 2026 @11:20AM (#50614389)
I think you are confusing NT with 95/98/ME/XP ?
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by spider-mario on Monday November 23, 2026 @11:21AM (#50614415)
XP was NT 5.1.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by noir_lord on Monday November 23, 2026 @11:51AM (#50614992)
XP SP2 was about where things really changed.

Gates realised that been not just insecure but publicly seen as insecure at the level they where trending towards was going to be an existential problem.

> So now, when we face a choice between adding features and resolving security issues, we need to choose security. Our products should emphasize security right out of the box, and we must constantly refine and improve that security as threats evolve. A good example of this is the changes we made in Outlook to avoid e-mail-borne viruses. If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first. If there is any way we can better protect important data and minimize downtime, we should focus on this. These principles should apply at every stage of the development cycle of every kind of software we create, from operating systems and desktop applications to global Web services.

Though in hindsight given what Windows 11 has become this :-

> If we discover a risk that a feature could compromise someone's privacy, that problem gets solved first.

Is pretty funny (in a black humour sort of way).

[1] https://www.wired.com/2002/01/bill-gates-trustworthy-computi...

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by hparadiz on Monday November 23, 2026 @12:20PM (#50615529)
I have no idea why there's suddenly so much NT kernel glazing on the internets. Like Crowdstrike didn't just happen.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by nine_k on Monday November 23, 2026 @12:22PM (#50615568)
WinNT the OS ≠ NT the kernel. It's like e.g. Red Hat the OS vs Linux the kernel.

And yes, the stuff above the NT API is... not nearly as good.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by ok123456 on Monday November 23, 2026 @10:58AM (#50613996)
Musk was just thinking: CGI slow, isapi fast.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by gpvos on Monday November 23, 2026 @11:03AM (#50614074)
This is actually the most likely explanation. Even in the tiny number of cases that he's right, it's for the wrong reasons.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by nialv7 on Monday November 23, 2026 @11:06AM (#50614140)
NT kernel in fact doesn't have good performance. process creation is especially slow (many orders of magnitude compared to linux) until very recently. IIRC windows' file system operations are also a lot slower than linux.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by regularfry on Monday November 23, 2026 @11:37AM (#50614745)
Wasn't process creation being slow an explicit design choice? I seem to recall that it was a tradeoff for better in-process threads but I might well be misremembering.
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by dblohm7 on Monday November 23, 2026 @11:58AM (#50615131)
> process creation is especially slow

Again, that's not an issue with the NT kernel itself; most of that time is due to the Win32 layer which jumps through extraordinary hoops to support its app model, which essentially is an emulation of 16-bit Windows.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by breppp on Monday November 23, 2026 @01:31PM (#50616671)
I know there are remains of 16-bit Windows, but why do you think it's an emulation of 16-bit Windows?
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by toast0 on Monday November 23, 2026 @12:50PM (#50616032)
My understanding is most of the windows file system suck is from the ever present synchronous anti-virus hooks on every read and write. If you disable that, it gets a lot better: I don't know how competitive it is, but it's decent. Unix/Linux file perf would suck if you forced synchronous anti-virus hooks as well.

Procees creation in NT is slow, but many applications can be designed to avoid it. Process creation is a bottleneck on Unix/Linux as well, the bottleneck is just usually not a big deal until you're trying to fork thousands of times per second... Then you have to do the same work you'd have done on NT to avoid forking.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by cyberax on Monday November 23, 2026 @02:13PM (#50617425)
No. The file system layer in NT sucks because it sucks.

File operations in NT are implemented using a very generalized model of IRPs (IO Request Packets) that are routed through (possibly) multiple layers of filters. It's very generic and extensible, but not fast.

They actually had to add a layer of shortcuts ("Fast IO") that bypasses this for a limited set of data operations, but not for metadata. This layer just uses classic tables of function pointers instead of IRPs, just like in Linux.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by okanat on Monday November 23, 2026 @01:02PM (#50616225)
The performance of the process creation isn't a bug but an intended tradeoff. NT is slower because its process creation does more (checks for permissions, reloads binary, does relocation from scratch for DLLs, basically what fork + exec does but a bit more).

Many Unix systems didn't have threads but relied purely on multiprocessing. Threads on Linux is still a hack on top of the process API: clone.

On the other hand NT came with threads from the first release to do multitasking. It doesn't have fork because NT developers didn't want to add the hacky fork syscall for cloning the process / its memory area.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by 0xbadcafebee on Monday November 23, 2026 @12:21PM (#50615554)
[delayed]
Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by andai on Monday November 23, 2026 @01:43PM (#50616860)
Not sure what specifically you're referring to with performance? In my experience the main bottleneck is io, and in my tests, even Linux in VM on Windows was 6-7x taste than the Windows host on that front.

Not sure if that's the kernel's fault though. (Maybe it's due to ntfs, and it would be faster with a different fs?) Also I noticed over 100 reads to the registry when in a system monitor when I ran hello world in C (win10), which I found amusing and a little depressing.

Re:Win4wine – Run Windows Shell as the Linux Desktop on Wine by VorpalWay on Monday November 23, 2026 @03:27PM (#50618760)
I'm no fan of windows (haven't used it for years), but I should point out that strace will show a lot of file system accesses on Linux that appear pointless too. For example trying to open libc.so in various paths other than where it is.

However, on Linux that still tends to be really fast, in part thanks to the negative dentry cache in the kernel (a cache of failed path lookups, there is a positive dentry cache too iirc).

I don't know if this in particular is a bottleneck on Windows though. I just know the end result of the combined engineering decisions is slow.