home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,372 of 4,255   
   mutazilah@gmail.com to All   
   microsoft vs linux   
   29 Jun 21 19:23:01   
   
   From: muta...@gmail.com   
      
   Win32 executables, at least normal ones, do not have   
   environmental dependencies like particular segment   
   registers being set to certain values, or certain interrupt   
   vectors being set to certain values.   
      
   That means that an unprivileged program can set up   
   the necessary environment to satisfy the Win32   
   executable.   
      
   Linux programs on the other hand do INT 80H calls,   
   just as MSDOS programs do INT 21H calls. This   
   means the calling environment needs sufficient   
   privilege to set up at least one interrupt vector.   
      
   Sounds to me like Microsoft has the right approach,   
   giving maximum flexibility.   
      
   Perhaps it would have been EVEN better if Windows   
   executables accepted the "environment" (callbacks)   
   via a parameter on the stack, similar to UEFI, and   
   somewhat similar to AmigaOS, rather than the use of   
   DLLs.   
      
   Any thoughts?   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca