[HN Gopher] How Wine Works 101
       ___________________________________________________________________
        
       How Wine Works 101
        
       Author : todsacerdoti
       Score  : 61 points
       Date   : 2022-10-10 21:43 UTC (1 hours ago)
        
 (HTM) web link (werat.dev)
 (TXT) w3m dump (werat.dev)
        
       | [deleted]
        
       | [deleted]
        
       | jldugger wrote:
       | cork out, turn bottle upside down near cup or mouth?
        
         | metadat wrote:
         | Warning jldugger: Despite the topic being a prime candidate for
         | a joke, it's a tough crowd in this thread.
        
           | marnett wrote:
           | No need to attribute it to malice. Just community members
           | following community guidelines to keep comments relevant,
           | thoughtful, and substantive. Most of the low hanging "jokes"
           | don't really adhere to that ethos and are typically treated
           | accordingly.
        
             | _carbyau_ wrote:
             | This is essentially - don't be trite.
             | 
             | If you can make a substantive, thoughtful, relevant joke,
             | then that joke will go gangbusters.
        
       | haunter wrote:
       | What I'm curious about (and probably there are some good write
       | ups about this somewhere) that how come modern Linux and modern
       | Wine is better to run old Windows applications than modern
       | Windows (7 to some extent but mostly 10&11). Did MS
       | "intentionally" "left behind" certain APIs and system calls to
       | sacrifice it for some greater good? Like I use Windows every day
       | and have no problems at all. And I use Linux every day too for
       | work. But by my experience if I come around an old Windows
       | application (Vista, XP, 2000 or before) then I probably have a
       | better chance to run it as it meant to be on Linux w/ Wine than
       | on Windows 10/11
        
         | alar44 wrote:
         | My assumption is that it's because you're not running full
         | blown Windows, Wine is just grabbing the stuff it needs.
        
         | johnny22 wrote:
         | it's way more likely to just be insufficient testing than
         | anything on purpose imo. Those folks have deadlines just like
         | everybody else.
        
         | nine_k wrote:
         | The point of Wine is to run older Windows software. Who needs
         | the most modern versions, just pays for MS Windows.
         | 
         | Windows, like DOS before it, adapts to run certain apps more
         | efficiently, to sidestep their bugs, or to fulfill their
         | assumptions which generally do not hold.
         | 
         | I suppose Wine does a lot of the same. It pays a lot of
         | attention tp running old(er) popular software smoothly. I
         | suppose Wine has more adjustments to run Office 2003 without a
         | hitch than Win 12 does. Same for older popular games.
        
       | userbinator wrote:
       | tl;dr: WINE can be considered to be more like an API translator.
       | The opposite is also possible (Linux binaries on Windows), the
       | most recent attempt being WSL from Microsoft itself, but there
       | were a few other attempts before that:
       | http://cowlark.com/lbw/index.html is one example I just found.
       | 
       | ...and as an aside, the comments about the alcoholic beverage
       | really suggest that they should've kept it named WINE (all
       | uppercase).
        
         | seba_dos1 wrote:
         | > the most recent attempt being WSL from Microsoft itself
         | 
         | Worth noting that this only applies to WSL1; WSL2 works in a
         | completely different way.
        
         | Kye wrote:
         | There's a big wine glass on the project's website. I don't get
         | the impression the association bothers them.
        
       | amelius wrote:
       | Any WINE-like projects out there but for MacOS/iOS (as opposed to
       | Windows)?
        
         | Matl wrote:
         | https://github.com/darlinghq/darling but it's very early.
        
       ___________________________________________________________________
       (page generated 2022-10-10 23:00 UTC)