276 pointsby rguiscard2 days ago11 comments
  • rkagerer2 days ago
    I realize not everyone will care about this, but I find the naming for these WSL-like subsystems is confusingly backwards. i.e. It should have been Linux Subsystem for Windows, or Window's Subsystem for [Linux | FreeBSD | etc].
    • asveikau2 days ago
      The explanation they give is they need to put their trademark, Windows, before Linux. Sometimes they say this is advice from the legal department.

      I still think they could fulfill that requirement and call it the "Windows Linux subsystem" or something, but what do I know?

      Unrelated, but I think the WSL2 design is kind of stupid. It's just a VM. I think the WSL1 design, where it was a syscall layer, is a better call. But that was slower, IIRC chiefly because the NT filesystem syscalls are slower than Linux's VFS. Rather than improve that problem, they side-step it by running Linux in a VM.

      • cpgxiii2 days ago
        The design of WSL(1) makes more sense when you think of its original design goal of being a compatibility layer for Android apps. Android is "a Linux", but it is (1) a relatively unique one, and (2) everything between the Android kernel and Android apps really isolates the application layer from kernel-level details. Given this separation, it makes a lot of sense to leverage the existing NT flexibility and emulate a Linux kernel at the syscall layer. Sure, you'll have to patch some parts of the WSL(1) Android system components, but MS was already going to have to do that to work around Google-only components. In many ways, this route is no more complex than what Blackberry did to run Android apps atop their QNX-based OS.

        But once you give up the specialization for Android and want WSL to be a "real Linux" (i.e. behave like a specific Ubuntu/Fedora/etc distribution) now you no longer can get away with being Linux-like, you have to be Linux (i.e. you need the syscall layer to directly mirror all kernel development and features). It's actually fairly impressive how much worked with WSL(1) given how different the internals were, but you didn't have to go that far to find tools/services/etc that just wouldn't work.

        Instead, once you consider how long MS had been working on Hyper-V, and how interested they are in using it to apply additional security boundaries/isolation (e.g. VBS) within what outwardly appears to be a single Windows OS instance to the user, it makes a lot of sense to leverage that same approach to just run a real Linux kernel atop Hyper-V. In that world, you no longer have to match Linux kernel development, you just need to develop/maintain the kernel drivers used to interact with Hyper-V - and MS already had a lot of experience and need to do that given how much of Azure is running Linux VMs.

        • technofiend2 days ago
          IO on many little files is dramatically faster in Linux on ext4 vs Windows thanks to NTFS' journaling overhead. So if you're doing development, you really want to do it inside wsl2.
      • kbolino2 days ago
        The bigger problem was how fast Linux evolves. Windows kernel development is glacial by comparison. Keeping up with every new thing in Linux was tantamount to maintaining a second operating system.
        • bayindirh2 days ago
          IIRC, there was an article, whose author said that improving NT kernel without blessing from higher ups is even frowned upon.

          So making a better WSL on syscall layer, which NT kernel is designed for, is not only behind a technical effort wall, but also behind a big red tape.

          • RedShift1a day ago
            That's a good thing. The kernel is supposed to be the most stable thing.
        • duskwuffa day ago
          I'd argue that the breaking point was Docker. Running typical Linux userland applications was doable - and they did it - but making Docker work would have been effectively impossible, as it depends on a ton of highly Linux-specific systems (namespaces, cgroups, bind mounts, etc) with no direct Windows equivalents.
          • pjmlpa day ago
            Windows has native support for containers.
            • kbolinoa day ago
              Windows containers are interesting. Windows--like most other operating systems--mediates interaction between applications and the operating system though libraries (specifically, user32.dll and kernel32.dll). Whereas, Linux provides a stable syscall ABI that applications can directly interact with. This makes Linux containers fairly insensitive to host kernel version, as long as they don't use experimental features and the host kernel isn't older than the stable features needed by the container processes.

              I would have expected Microsoft to address this issue in Windows containers by supplying the correct version of the system DLLs at runtime. However, it seems that they decided to bake them in at build time instead. This makes Windows containers similar to Linux containers but it could have made them quite kernel-version-sensitive. According to MSDN, newer kernels are able to run older images, implying to me that they've begun to stabilize the kernel interface, potentially enough to enable proper static binaries. See https://learn.microsoft.com/en-us/virtualization/windowscont...

              For the topic at hand, though, Windows containers run Windows software, and a lot of software that gets containerized never runs on Windows normally and so can't easily be containerized for that platform. Even when the language and libraries are cross-platform, the build process often isn't.

              • pjmlpa day ago
                Windows containers have two execution models.

                In one, each container gets its own kernel copy, while the other one works like Linux containers, and indeed you need a recent version, as there were some issues doing that on older versions, which is yet another reason to be running Windows 11.

                Note that having kernel copy to go along the containers is also existing on Linux world, this is what advanced security models like Kata containers.

                There is plenty of Windows software on big corporations that will never be ported to Linux, and that is the golden use case for at least put them into containers.

                One such example are all the .NET Framework applications that will never be rewritten into modern .NET, or Windows Services (aka UNIX daemons).

            • duskwuff20 hours ago
              Sure - and I assume that's how Docker for Windows works. But that's a long way from getting Docker for Linux to run on WSL1 - for that to work, WSL1 would need to implement details of the Docker implementation like overlay mounts (to pick an example at random). That suddenly starts looking a lot less like a compatibility layer and more like a reimplementation of parts of Linux.
      • ronsor2 days ago
        Improving that problem probably would've been a massive undertaking. That aside, there's the problem that implementing kernel mechanics is a lot more than faking syscalls: the various types of namespaces, FUSE, random edge cases that applications do expect, kernel modules, etc. At the end of the day, users don't want to stumble into some weird compatibility issue because they're running not-quite-Linux; it's a better UX to just offer normal Linux with better integration.

        The WSL2 design isn't stupid, it's practical. What I will give you is that it's not elegant in an "ivory tower of ideal computing" sense.

        • bitmasher92 days ago
          When people talk about improved compatibility or higher practicality I wonder why they don’t just run Linux on metal at that point. You can either run it on your laptop, or connect to a networked computer.
        • Brian_K_White2 days ago
          Can I even use a usb serial port yet after how many years? (Possibly by now but how long did it take, and does it actually work well?)

          It is stupid in that it's not really any kind of subsystem, it's just a vm. VMs have their uses, but it's basically just an app.

          The reason hardware such as my usb serial example (or any serial) worked on wsl1 was because it actually was a subsystem.

          • beagle32 days ago
            Your serial might have worked, but your docker didn’t. (And someone else’s other drivers didn’t, and mmapping had ever-so-slightly different semantics causing rare and hard to reproduce issues).

            WSL2, on the whole, is much more compatible. If you want 100% Linux compatibility, just run Linux.

            • Brian_K_White2 days ago
              I do. That's why I didn't know the current answer to the question. But I use software that wants to talk to hardware, not just cloud software that might as well be on a vps.
              • dwattttta day ago
                Calling gcc (which runs entirely happily in WSL2) "cloud software that might as well be on a vps" is at the same time accurate and apparently insulting.
          • watermelon02 days ago
            There is no native USB passthrough support, but you can use USB/IP to access them via network.

            https://github.com/dorssel/usbipd-win

      • tester756a day ago
        >Unrelated, but I think the WSL2 design is kind of stupid

        Yet in practice works very well

        There's saying if something is stupid, but works, then it aint stupid

        • dvfjsdhgfva day ago
          True, but I love the instant boot of WSL1 when I need to do something quickly. And, most of the time, if you don't do IO-heavy stuff, it works quite well.
      • emmelaich2 days ago
        You can still use WSL1 if you want. (maybe you know this).
      • setopta day ago
        Windows Subsystem for Linux Usage or something would have been clearer.
      • bee_rider2 days ago
        > I still think they could fulfill that requirement and call it the "Windows Linux subsystem" or something, but what do I know?

        Your name is bizarrely better considering how small the difference is.

        > The explanation they give is they need to put their trademark, Windows, before Linux. Sometimes they say this is advice from the legal department.

        It feels like they have some strange internal naming policy. Maybe it is called the “Policy Product for Naming.”

        • grugagag2 days ago
          Their naming is a serious problem that spreads confusion instead of clarity but what do they know, they’re like a headless chicken that has enough power to stay alive no matter what..
    • al_borland2 days ago
      Is this because, in the WSL example, it’s not Linux that’s the subsystem, but rather a Windows subsystem that enables running Linux. Thus the name, Windows Subsystem for Linux?
      • 17186274402 days ago
        It is because the NT kernel implements multiple personalities, so it could compete in the UNIX market. The component in the kernel that implements a personality is called a subsystem. It used to be a correct technical term, but of course using it to describe a well-integrated VM isn't correct.
        • skissane2 days ago
          > It is because the NT kernel implements multiple personalities, so it could compete in the UNIX market.

          That wasn’t the original primary reason for it… Windows NT began life as NT OS/2… at first, an evolved OS/2 API was going to be its primary API… then as Windows 3.x took off and the IBM-Microsoft relationship further soured, the OS/2 API was downgraded to a backward compatibility afterthought, and eventually (in Windows XP) dropped entirely.

          And because they weren’t even sure what the primary API was going to be at first… and the whole idea of multiple OS “personalities” was all the rage - IBM’s Mach-based Workplace OS sought to unify AIX and OS/2 (and they even talked about extending that to OS/400), Taligent (IBM-Apple joint venture) had similar objectives - so it is understandable they made this API flexibility a focus of their early plans

          And the guy they hired as technical lead in developing NT, Dave Cutler - had come from DEC, which had the very real problem of selling two largely incompatible operating systems (Unix and OpenVMS) - and they also sought to unify them through multiple personalities, as their next generation operating system MICA which would merge Unix and OpenVMS, which Cutler was working on, until DEC management decided to cancel the project, and Cutler went to Microsoft to do the same thing there

          • 1718627440a day ago
            > the whole idea of multiple OS “personalities” was all the rage

            It IS honestly kind of cool. If Microsoft would invest into their solid OS instead of enshitifying it, they could implement Linux and Darwin on a single system. That would be quite a selling point.

            • skissane15 hours ago
              If Microsoft wanted to invest more in Windows, I think the most useful thing would be to add more POSIX/Linux APIs and semantics to the Win32 API, to make it easier to port Linux software to being native Win32 apps… look at what Cygwin does, and identify the pain points (e.g. fork, exec without changing PID), and implement them in Win32 so Cygwin can be a thinner layer.. e.g. the NT kernel itself actually does have the moral equivalent of fork(), but Cygwin can’t use it because the Win32 subsystem (CSRSS.EXE) isn’t fork-aware, so instead Cygwin has to resort to highly complex and slow hacks instead… well, why not just make Win32 fork-safe? Of course, probably making every DLL and COM object fork-safe is way too much work (even on Linux, not all shared libraries are), but they could expose a way to “taint” a process as unforkable if any of those components get activated in it… maybe they could make Cygwin such a thin layer it becomes unnecessary, what if UCRT gave you equivalent functionality and all you had to do was ‘#define POSIX’?

              I think that would be far more useful in practice than trying to close the gap between WSL1 and WSL2, which is what I’d interpret your “implement Linux” proposal as meaning

              As far as trying to emulate Darwin goes, I think relatively few would be interested in running macOS apps on Windows, and I wonder whether there is a risk Apple might sue

              I wonder if AI coding agents are going to improve to the point that they might radically change the incentives here - if adding new features becomes a lot cheaper, maybe the cost-benefit analysis will shift towards implementing more of this stuff

              • 17186274409 hours ago
                > trying to close the gap between WSL1 and WSL2, which is what I’d interpret your “implement Linux” proposal as meaning

                My idea was to implement a true Windows subsystem for these alongside Win32.

    • mkhalil2 days ago
      It *is* confusing but in actuality, it kind of works: It's a Windows Subsystem - as in the Hypervisor/VM platform - to boot a Linux VM. And, more importantly IMO, Linux distro is using this Windows Subsystem for: booting, drivers, and networking (.e.g. the "/sys/wsl" folder, and whether the Window Subsystem will generate fstab, etc..)
    • 1vuio0pswjnm72 days ago
      Not that many years ago, I used something called "Windows Services for UNIX" to run GCC on Windows and compile filter programs I wrote on NetBSD using lex

      https://en.wikipedia.org/wiki/Windows_Services_for_UNIX

    • PeterStuer2 days ago
      Windows' subsystem for Linux feels ok. It is a subsystem of Windows after all, not a subsystem of Linux.

      So I guess this project should be FreeBSD's subsystem for Linux? Or should it be FreeBSD's subsystem for Windows' subsystem for Linux?

      • sebtron2 days ago
        > It is a subsystem of Windows after all, not a subsystem of Linux.

        Sure, but it is a Linux system.

        It's kind of like saying Edge is a "Windows subsystem for the browser".

        • jayd162 days ago
          "Windows' <integrated VM> for Linux" makes some sense.
    • 9front2 days ago
      Before WSL, Microsoft provided "Windows Services for UNIX" to "Seamlessly integrate Microsoft Windows into your UNIX environment."

      The same Windows services are provided to "Seamlessly integrate Microsoft Widows into your Linux environment."

      WSU became WSL!

    • 2 days ago
      undefined
    • qalmakkaa day ago
      yeah especially since it stopped being an actual subsystem in the Windows NT sense of the term with WSL2 - it's a hecking virtual machine that's very convenient to run, but that's like saying that WinBoat is a "Linux subsystem for Windows" - totally ludicrous
    • heavyset_go2 days ago
      It follows their old "Windows Services for UNIX" product's naming scheme. I don't like it either, but it's consistent.
    • gdulli2 days ago
      "Linux subsystem" would be a subsystem of Linux, which it isn't. It makes more sense the way it is. People seem confused because their mind naturally wants to go to "Linux for Windows", but it's better if they're trained to think of it as a series of Windows subsystems, since that's what they are.
      • iamtedd2 days ago
        That doesn't make any sense. Using the Linux kernel as an example, it has multiple subsystems.

        - Power management subsystem

        - Scheduling subsystem

        - Sound subsystem

        etc

        The word before "subsystem" describes the subsystem itself, not the greater system to which it belongs.

    • 2 days ago
      undefined
    • aryonoco2 days ago
      For the same reason it’s called “Azure Database for PostgreSQL”, whereas the sensible name would have been “PostgreSQL Database for Azure”.

      If Microsoft is putting someone else’s trademark (in this case Linux or PostgreSQL) in its product name, their own trademark will always come first and someone else’s trademark will come last.

      • wvenable2 days ago
        Trademark law pretty much requires the "For X" style of product naming. It's caught a few open source projects.
    • reaperducer2 days ago
      I find the naming for these WSL-like subsystems is confusingly backwards.

      Whoever decided on the name didn't have sentence diagramming in elementary school English class.

    • surfingdino2 days ago
      A remnant of their 'Linux is a cancer' phase and the famous fight against Open Source that started with the "Halloween Document" then helping SCO https://yro.slashdot.org/story/21/04/01/1647259/sco-linux-fu... They are not Open Source's friend and at one point extracted license fees from Amazon for using Linux... https://www.zdnet.com/article/amazon-becomes-the-latest-comp... Yeah, I wish they would leave OS alone.
    • vermaden2 days ago
      As usual with Microsoft - its all fucked up.

      WINE => Windows Subsystem for Linux/FreeBSD/UNIX

      WSL => Linux/FreeBSD Subsystem for Windows

  • CJefferson2 days ago
    This is cool, I hope it gets finished, and Microsoft Can help if required.

    I love WSL2, I basically live in it. I need Office, and working laptops, too much to go full time Linux, and I want to be able to play games so I don’t want a Mac (yes I know Mac has some games, but not anything compared to windows).

    • dijit2 days ago
      Office is the true killer.

      Games are pretty much there for linux, reasonable stress about anti-cheat aside; but the network effects of Microsoft office are the real poison pill.

      The irony of course is that if it wasn’t for games you could have a good time using office on MacOS with their cut down versions: but no such version exists for Linux and FreeBSD.

      Since its purely network effects, I’ve taken to trying to promote Google Docs usage; since their tools anywhere with a modern browser, which is practically every modern desktop environment.

      I know its pushing another US tech giant, but somehow the network effects are less egregious.

      • morshu90012 days ago
        I don't play video games much, so maybe it's law of small numbers, but recently putting Linux on my spare PC, I didn't get how people say it's fine for games now. Proton didn't work right for my one Steam game BeamNG, and Gamecube controllers had unfixable input lag for Dolphin (Slippi). Nvidia GPU + Intel integrated spelled trouble for Xorg to the point where I had to change to Ubuntu just to have Wayland, and that worked.

        On top of the game stuff, this PC is under my TV, so I kinda wanted a way to remote in. VNC is surprisingly jank, and Chrome Remote Desktop somehow never worked. So combined with 0/2 of my games working, I just gave up and went back to Win10.

        • tombert2 days ago
          Interesting; I haven't played BeamNG but it looks like it should work according to the ProtonDB https://www.protondb.com/app/284160. Sample size of one, but I haven't really had any issues with Proton on Linux, particularly within the "SteamOS" tenfoot interface. I don't play online games, and admittedly most of my games are several years old, so I can't tell you how well modern games play (though a friend of mine didn't appear to have too much trouble getting Pacific Drive working on full blast).

          Not trying to diminish your struggle, and if it didn't work for you then obviously you shouldn't use it.

          I don't own a Gamecube controller anymore, but I haven't noticed much lag with a wireless Switch Pro controller with Dolphin. I played through Tony Hawk's Underground and Tony Hawk's American wasteland on my laptop a few months ago using Dolphin, and as far as I could tell my terrible scores had nothing to do with lag, and I was able to finish them.

          Definitely have had issues with Nvidia drivers though. It cost me an entire weekend getting one working a few months ago and I didn't enjoy that process.

          • morshu90012 days ago
            Yeah this is why I don't trust the ProtonDB ratings. It says gold, but everyone else has the same problem as me where it's slower and crashes if you spawn traffic. Also had to wait like 30 minutes to generate vulkan shaders. AoE2:DE's ProtonDB page says gold but there are a bunch of comments saying multiplayer doesn't work at all... I feel like that's not gold either.

            The GC thing is specifically the Wii U adaptor. There's an overclock kmod, but it's known (on gh issues) to be finicky and didn't work for me. Regular controllers have no lag but also don't work quite the same; on Win and Mac the standard is that Wii U adaptor.

            • tombert2 days ago
              Totally fair, sorry you've had such issues. I've been fortunate enough for Steam's compatibility to have never been an issue, but as I said I don't play a lot of newer games.

              > Also had to wait like 30 minutes to generate vulkan shaders.

              Yeah I'll grant that, that seems to happen for pretty much every game. It doesn't usually take thirty minutes but it can easily ten minutes which is quite annoying.

              > The GC thing is specifically the Wii U adaptor.

              Fair enough. I guess I've been happy enough with using other controllers.

              • morshu9001a day ago
                Appreciate it. Makes total sense your older games work, cause those even worked somewhat well in plain old Wine on my Mac. My M1 Mac could run GTA IV, a 32-bit Intel Windows game, but ironically can't run a lot of Mac-native software built for older OSes or 32-bit.
        • badsectoracula2 days ago
          > but recently putting Linux on my spare PC, I didn't get how people say it's fine for games now.

          It is because there are way more games that work than games that do not work at all. Also in general the "golden path" is really an all AMD PC (since that is where most of the testing and open development goes).

          That said sometimes you may need to tinker/tweak things but this applies to Windows too, hence the existence of pcgamingwiki (which recently has added Linux info, though that is still dwarfed by the Windows info). I've been gaming on Linux for a few years now and was gaming on Windows before that and i do not find Linux any worse at all when it comes to getting stuff working (this was certainly not the case before ~2021 or so though).

          • morshu90012 days ago
            This stuff and other games I played in the past worked without any tweaks in Windows, though. Unless you're modding ofc.
        • nubinetwork2 days ago
          BeamNG runs just fine for me, it sounds like you're trying to play on a potato laptop... it needs a 16gb video card bare minimum.
          • morshu9001a day ago
            The game runs fine in Windows on the same machine. The ProtonDB page has a lot of comments about AI traffic crashing the game, reportedly cause of a memory spike, but it seemed more like a leak since it took a couple of minutes.
      • leoedin2 days ago
        The web versions of Office tools are pretty good these days. There’s a few missing features, but you can get by mostly. I don’t think my company even gives licenses for desktop office by default any more.
        • dijit2 days ago
          I get why you'd say the web versions are "pretty good" for most people, and I agree they've improved, but I think that's only true if you're doing basic stuff. The moment you hit a complex corporate or academic document, the web version of Office falls apart. It's materially worse than even LibreOffice when you consider a power user's reality.

          The real killer is Excel. The web version has zero support for crucial tools like Power Query or Power Pivot, which are essential for any modern data analysis. You can't run, edit, or even create serious VBA/Macros, and advanced data validation and conditional formatting are stripped down to the bone.

          For Word, if you're in law or academia, forget it. Features like Table of Authorities or Table of Figures are either completely missing or so simplified they are useless. Even the ability to handle standard APA or MLA citation styles is heavily cut down compared to the desktop app.

          And for PowerPoint? You lose access to serious third party add-ins, and the granular control over animations and timers that professionals need just isn't there.

          So, while the web version might be fine for a quick edit of a simple file, if you need to reliably work with a complex document from a Windows-based company, the compatibility issues and missing features will force you into a desktop app eventually. If you're going to be forced into a desktop experience anyway, you might as well bite the bullet and go LibreOffice for its feature completeness on Linux/FreeBSD.

          It's a stronger bet than relying on Microsoft's cut-down web versions.

      • Sincere60662 days ago
        I don't use office stuff much. What office components are available in Microsoft Office that aren't available on Linux?

        I also try to avoid google wherever possible.

        • vachina2 days ago
          Office and the entire Office 365 ecosystem is the true killer. Microsoft is so entrenched in enterprise it's almost scary. And they're still trying very hard to wedge themselves in with their AI offerings.
        • tombert2 days ago
          I was completely unsuccessful in getting Microsoft Office to run natively with Wine in Linux. Like I wasn't even able to get past the installer for any version of Office later than 2007. Of course the web version works well enough, but in my case, I don't think I will ever be able to convince my parents to move to Linux if I cannot get proper Microsoft Office working on there. I am quite confident that they will not be happy with Kaligra or LibreOffice or OpenOffice or OnlyOffice or anything other than the Microsoft-branded Office.

          In fairness to them, they've been using Windows and Office a lot in the last ~30 years, so asking them to abandon all that stuff isn't a trivial endeavor, but my point is that

        • heavyset_go2 days ago
          Clients are going to send you Office documents, spreadsheets, etc.

          Maybe you'll luck out and get something cross-platform or online, but 90% of the time if a client is sending a document, it's going to be something from Office (or rarely, Pages).

          Spreadsheets can run scripts, and important ones you need to be able to run accurately, and not just hope your alternative office suite works.

          I hate it, but it is what it is.

        • TiredOfLife2 days ago
          Excel
      • BrouteMinoua day ago
        Gaming on Linux is there, if you don't mind the 10-40 fps drop in most modern and demanding games...

        For me that's a no go.

        I can live with bash in a WSL2 though... That's about what I need of Linux anyway. I can enjoy my gaming and the remaining of the userland too.

        Best of both worlds.

      • 2 days ago
        undefined
      • fithisuxa day ago
        I haven't used Office since 2005, the only exception at Uni collaboration with some Latex allergic folks. Onlyoffice just works for .docx the last 2 years for me when I needed it.
    • tiahura2 days ago
      Right there with you. The crazy thing is that with the way MS is moving Office away from native towards garbage React, they're facilitation moving away from Windows.
      • bombcar2 days ago
        I believe this is defensive to protect Office and their online services from Apple. They need Office to be a first-class citizen on Mac.
        • jen202 days ago
          It used to be so first class that Excel 1.0 was only available for the Mac.
    • walkabout2 days ago
      There’s one major benefit to separating your gaming and work machines, if you aren’t also using a lot of graphics horsepower for work[0]: NVidia and AMD graphics cards tend to ~double major problems on a machine (or halve system stability, to put it another way). This was even true of Macs, back when they were on x86.

      Now, this won’t help if you play a lot of new games at launch (and aren’t ok playing them on a console instead of PC) or lots of multiplayer games with heavy-handed anti-cheat, but otherwise, Linux as a gaming OS has become pretty damn viable lately. Windows hasn’t been for anything but gaming for me since somewhere around the turn of the millennium, and I’ve just finally been able to ditch it completely. Which is really nice.

      What I’m getting at is all-Linux (if you have more tolerance for Linux on the Desktop jank than I do) or Mac-for-work, Linux-for-play are now both non-terrible combos for having gaming available, and unless you need Nvidia or AMD graphics on your work machine (in which case, sure, may as well share that hardware for both roles), there are real benefits to work-system stability you can get by separating those.

      (I do agree with you that running Linux under virtualization on either Windows or Mac is the only non-crazy-making and/or non-professionally-embarrassing way to work in Linux on a laptop, and I write that as someone who did run Linux on a laptop as my primary serious OS for most of a decade)

      [0] nb. depending on what “a lot” means, Apple Silicon with a lot of system memory might still be a really good option.

    • MBCook2 days ago
      I understand your reasoning. Personally I love living in my Mac, I’m much happier than I would be under Windows.

      You’re 100% right for gaming. But I’ve solved that by being a console person. I already mostly was. I’m much prefer the appliance like nature and many of the kinds of games that show up there.

      If I still wanted to play more “PC style“ games or just indie things that aren’t available on the consoles I would have a spare Windows machine just for that.

    • pjmlp2 days ago
      I was already enjoying VMware Workstation and Virtual Box, depending on private vs corporate laptop, since returning to Windows as main on with Windows 7.

      What WSL has brought is that now it is one thing less to install.

      However what got me started with Linux back in 1995, was the not so great support of POSIX in Windows NT.

      Had Microsoft kept selling Xenix, or done Windows NT POSIX subsystem property, Linux would most likely never taken off.

      Quite ironic given how Bill Gates used to talk about Xenix taking over.

      • canucker20162 days ago
        Microsoft gave up on Xenix/Unix when AT&T took interest in a commercial Unix and exerting influence/control over the direction of Unix.

        Microsoft didn't see a profitable future in following AT&T.

      • toast02 days ago
        > What WSL has brought is that now it is one thing less to install.

        How? You still have to install WSL, it's not on the machine out of the box, although if it's really just about not installing things, you might use Hyper-V, that may already be installed.

        • pjmlp2 days ago
          Hyper-V is required for the Windows 10 security improvements regarding kernel and drivers sandboxing, and even more so on Windows 11.

          Enabling WSL isn't the same as going through VMWare Workstation or Virtual Box installation, and naturally paying for the commercial features.

  • bni2 days ago
    I look forward to running Windows on FreeBSD
  • hollowonepla day ago
    Interesting attempt. If that worked then maybe Darwin and then a virtualization/emulation layer to launch MacOs apps on Windows. That would be nice equalizer to what’s possible with full hardware acceleration the other way, back from MacOS.
  • sebazzz2 days ago
    Is FreeBSD used a lot?
    • cimnine2 days ago
      The OS of PS4 and PS5 is apparently based on FreeBSD. Netflix uses FreeBSD for its CDN servers. pfSense and OPNsense are popular firewalls that are based on FreeBSD.

      See also https://en.wikipedia.org/wiki/List_of_products_based_on_Free...

      • hylaride2 days ago
        JunOS from Juniper is also based off of FreeBSD (I think they're moving to Linux, though) as (were?) NetApp filers (they made heavy use of the Berkley FFS snapshots back in the day).

        FreeBSD was popular for many appliances, especially in the late 1990s and early 2000s, as it was generally rock-solid, had very mature networking, and the legal departments at the time liked the more permissive licence.

        It's getting less and less common to see it, though. Sheer market share numbers mean performance, driver support, user familiarity, and companies no longer being afraid of the GPL mean that has Linux pretty much taken over.

        It makes me a bit sad, but the OS on most Juniper gear is just a control plane for ASICs nowadays and NetApp has moved on to more advanced filesystems. Finding developers to write drivers/software for Linux is probably an order of magnitude easier.

        • wkat42422 days ago
          They are scared shirtless of GPL-3 though. See all the hoops that apple jump through to avoid it.
          • KolenCh2 days ago
            That’s related to anti-tivolization in GPLv3 and basically Apple is forced to stop shipping things that’s updated to GPLv3. That’s not just about scared, assuming being scared means they are irrational and they could have adopted it if they want. Legally they cannot ship it unless they are changing their business model.
            • wkat424215 hours ago
              They could though. They're just being overly cautious.

              All it forbids is blocking users from running modified FOSS code which macOS doesn't do. You can compile what you want and run it in Xcode. Even on iOS you can do this.

              What TiVo did was shipping FOSS code but not giving users any access to their device.

      • ori_b2 days ago
        For a new, buzzy company: Antithesis built their hypervisor on it.
    • evanjrowley2 days ago
      If it hadn't been for the Facebook acquisition, there's a good chance WhatsApp would have continued running on FreeBSD until today: https://news.ycombinator.com/item?id=38434103
    • bxparks2 days ago
      No, unless you have a laptop used by their developers. Every 2 years, I try to install FreeBSD on some of my Dell laptops, find that the wifi doesn't work, then give up. Been doing that for about 8 years..
      • atmosx2 days ago
        Most Lenovo Thinkpads WiFis should work out of the box with FreeBSD.

        A USB distributions like NomadBSD ( https://www.nomadbsd.org/ ) can be used to test compatibility without installing the OS.

        Also, for HW compatibility: https://bsd-hardware.info/

        • Touche2 days ago
          Also framework laptops work (mostly): https://github.com/FrameworkComputer/freebsd-on-framework

          Even if true, not having great support for laptops doesn't mean "no one uses FreeBSD". Obviously it's supported by essentially all server hardware and is used there, as well as many routers and the Playstation.

          • wkat42422 days ago
            I use it on the desktop as daily driver. It's great.

            It's a desktop (a NUC) though so I don't use WiFi. I really hate laptops.

      • tombert2 days ago
        I haven't tried FreeBSD on a laptop in about a decade (~2016-2017), and I had similar issues. I couldn't get WiFi working even though I thought it should be supported, I couldn't get the laptop brightness controls working, the sound would just randomly cut out, and after a certain point I have to ask myself how much time I am realistically willing to spend on getting this working. I was trying to run it because of Jails and ZFS, but by 2016 Linux containers were generally "ok enough" nowadays, and ZFS On Linux seemed to work ok on Arch after a bit of finagling, and Linux stuff seemed work more consistently.

        FreeBSD is pretty neat, don't get me wrong, I have played with it on servers and I ran an OPNsense router for years, so this isn't a dig on the OS as a whole, just that I don't think it's a good fit for laptops, at least the ones I've tried.

      • Guda day ago
        I am a FreeBSD user. I have replaced Windows with Manjaro for gaming. I also use OpenBSD and wish I could run MacOS in bhyve.

        Typically I purchase hardware supported by the software I intend on using. I don’t blame the software or hardware vendors, if I intend to use them in a non-supported way.

      • anal_reactor2 days ago
        I use Fedora on my desktop. Whether Bluetooth works or not depends on the position of Venus. 2026 will be the year of desktop Linux
      • doublerabbit2 days ago
        My MSI Modern 5, a 2024 laptop works is my perfect daily driver, to the point or closing the lid and reopening it resumes HDMI.

        The only issues I have with is Bluetooth which to be fair was trying to connect a Xbox controller and HDMI-Sound, otherwise it all works.

        WiFi too. A bit archaic to change SSID but that's more software then hardware.

        Couldn't be happier and with ZFS I have on-boot encryption.

        • nesarkvechnepa day ago
          Same here, Thinkpad T490 works great and much snappier than Linux.
    • wkat42422 days ago
      A lot, no. On the desktop it's 0.01% according to one of those stats websites. However it's hard to detect because Firefox identifies itself as running on Linux.

      I run it myself on my desktop and it's great. What I like is that it's not constantly changing stuff for the sake of it like with Linux. New init systems, changing ifconfig for other commands etc. And it's much better documented.

      • tom_alexander2 days ago
        I use FreeBSD on my machines because it has netgraph: https://klarasystems.com/articles/inside-freebsd-netgraph-ad...
        • doublerabbit2 days ago
          NetGraph and bHyve are a match made in heaven. I need to master them some more.

          I have isolated jails with their own vNics running a nested bHyve VM instance inside which inside you then host a jail with its own vnic.

          If something jumps out of the they are dead locked to the VM, if they jump out of that, they're trapped in a jail.

          • nesarkvechnepa day ago
            I need a blog post about this. I’m just a desktop user of FreeBSD.
            • wkat424215 hours ago
              Yeah me too, I'm not 100% clear what is being done here.
              • doublerabbit5 hours ago
                FBSD Host > Jail > [FreeBSD bHyve Vm] > Jails

                You have web services you desire to host. Let's call our first jail, infrastructure.

                Within our infrastructure jail we want to create a Virtual Machine for actual web services.

                You have a AMP stack and you wish to keep MySQL, Apache and PHP isolated. Security right?

                We construct a VM named Web Services running FreeBSD. This VM now enables us to construct more jails to handle isolated MySQL and Apache/PHP instances. These jails have no idea about the host underneath as they're being hosted in a floating hive.

                The VM is now the host so all jails connected traditionally via a Bridge and this is where netgraph comes in. However to explain NG over HN would be painful.

                bHyve too isn't just limited to a single jail, you could then create a second jail on the FBSD host and construct the same. "Network Infrastructure" where you handle routing between jails.

                So you now have two jails, each running virtual machines isolated from each other running hierarchical jails.

                In my case I have a storage virtual machine. Using ZFS, space is dynamic and storage jail within issue all my nfs zfs shares, my smb shares et cetera. This makes backups easy as all I ever need to do is backup the storage virtual machine.

                A media jail where I hold all my streaming services and a network jail where all things network infrastructure go. Routers, monitoring, dns et cetera.

                You can go deeper than that. I was playing with a host where you had a, VM, Jail with hosted a dedicated firewall for jails which hosted jails for services.

                Host > Jail > VM > FW Jail > Service Jail A > Jail A, B, C

                And because all is contained in a virtual machine, I just power off the VM and backup the raw image.

    • morshu90012 days ago
      On PCs no, on other stuff yeah
    • munchlax2 days ago
      Netflix is a popular example
    • surfingdino2 days ago
      Not as much as it used to be. Before cloud computing became a thing, if you wanted to squeeze the last bit of performance out of hardware, FreeBSD was the way to go. Yahoo! used it when Yahoo! was the biggest site on the internet. Over time Linux became more performant and ever since it has become the OS of choice for AWS and other cloud provides, FreeBSD's popularity has dropped.
  • bzmrgonz2 days ago
    say what??? why cant we just port winapps. one visualizer for the few years windows has of life....yes i said it, bad actors and their ai tools will retire windows before the end of the decade!!!
  • metaltyphoon2 days ago
    Does this open the possibility for easier cross compilation to macOS?
    • okanat2 days ago
      You got some downs for a simple question.

      While macOS used some userspace components from FreeBSD, it has no commonality with it. Darwin is a different kernel that works completely differently. macOS also has quite a bit its own stuff in the userspace.

    • p_ing2 days ago
      macOS doesn't have much to do with FreeBSD, so no.

      https://developer.apple.com/library/archive/documentation/Da...

  • nylonstrunga day ago
    Great news for all 12 FreeBSD/Windows users!
  • dev1ycan2 days ago
    Winapps is really such a great addition to Linux, being able to run Adobe/Office apps is really great, it makes it so that basically the only reason you would need Windows at all is those terrible games with kernel level anticheat like League of Legends, it's so funny how League can put malware on your pc but it still doesn't have voice chat 15 years after release.
    • gtk402 days ago
      What does this have to do with running FreeBSD software on Windows?
  • invader2 days ago
    Yet another klunge in the ivory tower of software bloat. It is like all existing software is gravitating towards a single point of singularity, with all existing platforms merging into an incomprehensible black hole, sucking the whole of humanity with it.

    There was no real point in WSL in the first place, except for desperate attempts by Microsoft to stay relevant in the cloud age. To take two huge and very different systems with all their bugs and idiosyncrasies, merge them (creating even more bugs and idiosyncrasies along the way), and call it progress? I call it insanity. Only now with FreeBSD.

    • p_ing2 days ago
      > There was no real point in WSL in the first place,

      Microsoft doesn't do anything without filling a gap or fulfilling customer requirements.

      It clearly had "a point".

      • invadera day ago
        So Micro$oft is a customer-oriented company now? Haven't heard such a good joke in a while.

        Microsoft, being a monopoly, hardly cares about customers, especially about closing some imaginary "gaps". What they care about is preserving their dominant or monopoly position wherever they can, since in the last 25+ years, they lost so badly so many times, they shifted from "owning" the whole industry to being a monopoly in particular segments. They are basically repeating the path of IBM from being the industry to being irrelevant and struggling desperately to stop that inevitable process.

        If Microsoft had listened to its customers, it would never have neglected and killed Skype, it would have continued to support XNA, so adored by the indie game devs, it would never have closed Arkane Austin and Ghostwire studios, it would have never preinstalled spyware with every single Windows installation... But Microsoft hardly cares.

        • p_inga day ago
          > So Micro$oft is a customer-oriented company now? Haven't heard such a good joke in a while.

          I've seen many customer requested changes go into various products at Microsoft as having requested such changes.

          • invader21 hours ago
            And I've seen Microsoft buying companies and killing their products despite active communities over and over again. A blatant breach of antitrust laws that Microsoft somehow managed to get away with.
  • liendolucas2 days ago
    Uff, they are really really pushing for people to keep using Windows, huh? Some time ago it was Windows Subsystem for Linux. Now this.

    I already said the same in that HN thread and will repeat it here:

    Let's do it the other way round: run Windows in FreeBSD with bhyve and voila. But even better, just switch to FreeBSD. It's an amazing and rock solid OS.

    Microsoft loves open source so much that they are putting efforts into... making you keep using their lousy closed source OS infested with telemetry and dark patterns. No thanks.

    • devnullbrain2 days ago
      >This is a personal, experimental project and is not affiliated with Microsoft, the FreeBSD Foundation, or the FreeBSD Project. Use at your own risk.
      • liendolucas2 days ago
        Uh, apologies for not properly reading about the project. It was not my intention to diminish the project or the its author. Feel free to downvote my comment!