What if, rather than make a Linux distro that can run Windows apps, you built the whole distro around Windows binaries instead?

Loss32 is the most gleefully deranged idea for how to put together a Linux OS that we think we have ever read about in three and a half decades… but it's not impossible. Not only could it be done, there could be real advantages to doing it this way.

The idea comes from a blogger and developer known as Hikari no Yume ("Dream of Light" in Japanese) who made it public at the 39th Chaos Communication Congress in Germany at the end of December.

all 18 comments

sorted by: hot top controversial new old
[–] 31 points 10 months ago (3 children)

Windows service layer for Linux?

  • source
  • hideshow 3 child comments
  • [–] 12 points 10 months ago (2 children)

    Microsofts WSL is stupidly named. It shouldve been LSW.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 16 points 10 months ago* (last edited 10 months ago) (1 child)

    While I do not disagree, it is important to realize that this was named in early 90’s.

    When Windows NT was released, an important aspect of the architecture was the idea that it had “sub-systems” to provide app compatibility.

    The Win32 sub-system (Windows apps) was just one of them. It’s full name was the Windows sub-system for Win32.

    There was also the sub-system for POSIX (UNIX compatibility to win government contracts) and the sub-system for OS/2. OS/2 was interesting as it was still expected to be the important competitor and because it was originally going to be a Microsoft OS so Microsoft had customers that had written OS/2 apps.

    The Windows sub-system for POSIX was never any good. It was just good enough to check boxes and win procurement contracts. Windows NT became quite successful and UNIX compatibility was not important.

    That is, until Linux became popular.

    So, when Microsoft added Linux application compatibility to Windows, it was naturally to call it the Windows sub-system for Linux.

    I agree that the name sucks but it makes sense in a historical context.

  • source
  • parent
  • hideshow 1 child comment
  • [+] 18 points 10 months ago (5 children)
  • [–] 42 points 10 months ago (3 children)

    Similar ideas but different approaches. ReactOS is trying to essentially reverse engineer Windows, whereas Loss32 is going to run literally everything in Wine.

    I'm kind of excited about this one, because it's likely to uncover issues in Wine and upstream any improvements they make.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 9 points 10 months ago* (1 child)

    Yeah I've been thinking about this kind of thing recently. It should be possible to make things way more seamless. It could just have an entire emulated C drive in the home directory and automatically run exe files through WINE. Just associate the .exe file extension with the program you use to setup the environment and launch WINE for it.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 10 months ago*

    I've basically done this for games and other programs using this desktop file:

    [Desktop Entry]
    Name=Run with Bottles
    Comment=Run directly with bottles
    Icon=com.usebottles.bottles
    Exec=bottles-cli run --bottle Gaming --executable %f
    Terminal=false
    NoDisplay=true
    Type=Application
    Categories=Utility;GNOME;GTK;
    StartupNotify=true
    StartupWMClass=bottles
    MimeType=x-scheme-handler/bottles;application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;application/x-wine-extension-msp;
    Keywords=wine;windows;
    X-GNOME-UsesNotifications=true
    

    Save as runwithbottles.desktop in ~/.local/share/applications And remember to change --bottle Gaming to whatever bottle you want to use.

    Now you can run any .exe by double clicking on it. If you associate it with 'Run with Bottles' This needs bottles to be installed, but allows you to run executables with Proton or Proton-GE too.

  • source
  • parent
  • [–] 16 points 10 months ago (1 child)
  • [–] 9 points 10 months ago

    As long as we give people a simpler way/distro to get out of Windows do whatever crazy idea comes to mind.

  • source
  • [–] 14 points 10 months ago (2 children)
  • [–] 3 points 10 months ago (1 child)
  • [–] 3 points 10 months ago
    |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   
    || |_   || |_   || |_   || |_   || |_   || |_   || |_   || |_   
    
    |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   
    || |_   || |_   || |_   || |_   || |_   || |_   || |_   || |_   
    
    |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   
    || |_   || |_   || |_   || |_   || |_   || |_   || |_   || |_   
    
    |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   |  ||   
    || |_   || |_   || |_   || |_   || |_   || |_   || |_   || |_   
    
  • source
  • parent
  • [–] 6 points 10 months ago* (1 child)