So... Why is Linux on Switch exciting?

Discussion in 'Switch - Hacking & Homebrew' started by Nerdtendo, Feb 6, 2018.

  1. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    No Windows programs don't run on all Windows systems and not all Linux programs work on all Linux system, do you even know what a cpu architecture is and how it limits this kind of thing?

    Happily there's a version of Windows for ARM that runs x86/64 apps thanks to a lot of emulation work, but that's not the case for Linux, making that version of Windows work on the switch would be kinda hard though and even if it'd work, it'd probably be clunky, so in the end having a Linux port is more desirable...
     
    Last edited by Idaho, Feb 8, 2018
    TheCyberQuake likes this.
  2. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,149
    2,409
    Mar 8, 2012
    United States
    I do know what CPU architectures are, but according to Windows fanboys, all Windows run all Windows programs regardless of CPU. It just needs to be 64-bit, which the Switch is.
     
  3. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    Don't believe what everyone says here... But yes there is a version of Windows for ARM that runs x86/64 apps, making it work on the switch is just probably hard and not worth the efforts...
     
    Last edited by Idaho, Feb 8, 2018
  4. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,149
    2,409
    Mar 8, 2012
    United States
    Hence my original proposition: Port Windows and run Windows games instead of whining about how Linux is "crap".

    Windows is so easy to use, so it shouldn't be that much effort to do.
     
    VinsCool, DarthDub and TotalInsanity4 like this.
  5. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    You don't "port" something you don't have the source code of...
     
    GerbilSoft likes this.
  6. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    23,872
    11,613
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    That's easy for you to say to someone who has no programming experience.
     
    Technicmaster0 likes this.
  7. TotalInsanity4

    TotalInsanity4 GBAtemp Supreme Overlord

    Member
    8,379
    8,450
    Dec 1, 2014
    United States
    Under a rock
    He knows
     
  8. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    Well didn't sound like it...

    Also does he know you could actually at least theoretically run Windows x86/x64 apps on a switch?
     
  9. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,149
    2,409
    Mar 8, 2012
    United States
    Using CPU emulation, yes. Based on my experience with Virtual PC on a G5 iMac, it'd be slow as hell, especially if the programs in question use SSE or AVX.
     
    TotalInsanity4 likes this.
  10. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    it's not slow as hell, it's a built-in feature and it works pretty well, just see the demos by yourself, it just requires a good enough ARM CPU, which the switch kinda more or less has (we're not talking about shitty VirtualPC or anything like that here, this is a way more advanced technique) :

    https://www.theverge.com/2016/12/7/13866936/microsoft-windows-10-arm-desktop-apps-support-qualcomm
     
  11. GerbilSoft

    GerbilSoft GBAtemp Addict

    Member
    2,149
    2,409
    Mar 8, 2012
    United States
    By "way more advanced", you mean "it's basically WINE with a CPU emulator instead of running code natively".

    That'll probably work okay for anything that isn't CPU-intensive, which means not games.
     
    Last edited by GerbilSoft, Feb 8, 2018
  12. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    Well i'd be fine with that actually, if I can use my switch just like a regular laptop Windows PC and launch small games with it, it'd be pretty cool, obviously i'm not expecting to run crysis with that kind of emulation but it could at least run a few emulators and a few old games that are only available on Windows...
     
  13. Futurdreamz

    Futurdreamz GBAtemp Addict

    Member
    2,063
    1,228
    Jun 15, 2014
    Canada
    WoWARM uses features that the 8x5 series has built in, and uses recompiled libraries. It's good enough for any app that is NOT CPU intensive but 32-bit games would have a severe performance hit. Windows on ARM is currently only optimized for the 835 and maybe 845, and anything different will not function correctly. Microsoft is spending many years and manhours making this work, but it's not a solution that you can slap into a Switch then play Crysis.


    Honestly, several people on this forum are like arguing with a guy that believes you can land on the sun if you go at night.
     
    TotalInsanity4 likes this.
  14. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    700
    409
    Oct 3, 2013
    France
    Can you like, just read my previous posts and stop being a massive jerk? You clearly lack any kind of nuances I added in my sentence and are building a fake counter-argumentation that is clearly not in tune with my opinion...
     
    Last edited by Idaho, Feb 8, 2018
    Deathscreton likes this.
  15. guicrith

    guicrith Member

    Newcomer
    29
    19
    Apr 29, 2013
    United States
    Ok, use Linux + Qemu + Wine and run Windows then.
     
  16. Don Jon

    Don Jon GBAtemp Advanced Fan

    Member
    549
    254
    Nov 20, 2015
    United States
    O would love to see the mugen xbox version running on the switch. Im not familiar with the xbox mods but it was able to run the exe mugen files perfectly
     
  17. DarthDub

    DarthDub Amateur Hacker

    Member
    1,443
    1,173
    Jan 26, 2016
    United States
    Your mom's basement.
    Cause it means it's exploitable. Potential.
     
  18. simbin

    simbin GBAtemp Regular

    Member
    256
    40
    Jul 28, 2015
    United States
    ... to play Tux Racer.
     
  19. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    13,150
    5,886
    Mar 17, 2010
    Norway
    Alola
    Actually the source code of Windows 2000 was leaked (at least a large chunk of it) and there's also ReactOS.
    Still most programs wouldn't run because they're made for x86/x64. Basically only some .net apps would run. Besides, Windows for ARM already exists and has the same limitations, so there wouldn't be any point in trying to port Windows in the first place.
     
    Last edited by The Real Jdbye, Feb 8, 2018
    GerbilSoft likes this.
  20. Deathscreton

    Deathscreton GBAtemp Regular

    Member
    187
    59
    Oct 1, 2009
    United States
    It's classic temp man. I wasn't here for two days before someone wanted to rip my throat out. Community is weird. lmao
     
    Idaho likes this.