home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / misc / 2423 < prev    next >
Encoding:
Text File  |  1992-08-26  |  5.6 KB  |  136 lines

  1. Newsgroups: comp.os.ms-windows.misc
  2. Path: sparky!uunet!microsoft!wingnut!philipla
  3. From: philipla@microsoft.com (Phil Lafornara)
  4. Subject: Re: Windows == OS
  5. Message-ID: <1992Aug27.004839.12887@microsoft.com>
  6. Date: 27 Aug 92 00:48:39 GMT
  7. Organization: Microsoft Corporation
  8. References: <1961cd20@p3.f67.n245.z2.fidonet.org> <TGUEZ.92Aug24191246@jade.tufts.edu>
  9. Followup-To: comp.os.ms-windows.advocacy
  10. Lines: 121
  11.  
  12.      Some of this is just too bizarre to leave untouched...
  13.  
  14. In article <TGUEZ.92Aug24191246@jade.tufts.edu> tguez@jade.tufts.edu (Name) writes:
  15. >
  16. >I have never seen any of the underline code for windows, but from
  17. >programming windows I say, with a great deal of confidence, that
  18. >windows is not even 10% an operating system.  It's one huge layered
  19. >APPLICATION.  Everything you do that interacts with the hardware goes
  20. >through a layer, i.e., another function call.
  21.  
  22.      Please explain what this has to do with anything.  Can you
  23. name a single operating system that doesn't require you to call
  24. APIs to perform OS functions?
  25.  
  26.  
  27. >  Instead of calling
  28. >malloc, one calls globalalloc which is probably nothing more than a
  29. >malloc that is hidden down somewhere plus some additional tracking
  30. >information.
  31.  
  32.      And the point here is?
  33.  
  34.  
  35. >  Windows can move memory because it never gives you the
  36. >handle it gets from malloc, it keeps it and therefore could do what
  37. >ever it wants with it without affecting your application, and when you
  38. >actually want to use it, you lock it and then windows does not dare to
  39. >touch it because now you have the malloc pointer.  Yet a true
  40. >operating system, which supports this feature, does not care that
  41. >you have the actual pointer, it changes the base address of your
  42. >pointer on the hardware level.
  43.  
  44.       Does the 8x86 line support hardware remapping of pointers?
  45. Can you think of an efficient way to allow movable memory on a 
  46. system that doesn't?  How about something like this - you request
  47. your memory from a central source, and when you want to actually
  48. use the pointer, you lock it.
  49.  
  50.  
  51. >These API function calls are great, they hide most of the hardware and
  52. >they do a lot of work for you and simulate an operating systems.
  53.  
  54.      It doesn't "simulate" an operating system in this respect.
  55. All operating systems provide some API - perhaps it is more
  56. transparent on some, but all of them have to do it.
  57.  
  58.  
  59. >Windows still uses msdos drivers to do things and it will continue to
  60. >do this.
  61.  
  62.      Windows uses MSDOS for its file access, and that's it.  It
  63. uses different drivers for other resources.
  64.  
  65.  
  66. >  In fact, even if MS will encorporate everything that windows
  67. >needs, and currently takes from dos, into windows in such a way that
  68. >you'll boot directly into windows and never boot dos (completely
  69. >remove DOS from the picture), I will still argue that windows is not
  70. >an operating system, and windows programs are really nothing more than
  71. >function calls, which is probably why it could not properly
  72. >multi-task:
  73.  
  74.      This paragraph is incoherent.  Please show me an example
  75. of a program that isn't "nothing more than function calls".
  76.  
  77.  
  78. >In Petzold's introduction for windows programming, he writes something
  79. >to the effect,"...windows will not take away the cpu from a task in
  80. >the middle of a message processing....make's sense right?"  Of course
  81. >it does, windows could not take away the processing even if it
  82. >wanted to; All of windows "multi-tasking" is nothing more than very deep
  83. >function calls, so everything is on the stack and hence the message
  84. >(or actually the function) must finish so that the stack will come
  85. >back to this "ingenious" loop, and continue.   
  86.  
  87.      Well, that's an interesting theory... not correct, or even
  88. close to correct, but certainly unique.
  89.  
  90.  
  91. >I don't mean to be rude to anyone (not even Microsoft) but I am upset.
  92. >Somewhere in Petzold's book he says something like keep your message
  93. >processing short so other windows programs could run concurrently, and
  94. >if you have any big job to do divide your job to small parts and do it
  95. >with the help of the timer....  That is really disguesting, windows
  96. >programs need to do the job of the operating system, provide the
  97. >"ticks."
  98.  
  99.      Pre-emptive scheduling of tasks is not a necessary condition
  100. for an operating system.
  101.  
  102.  
  103. >  I have still to figure out this one:  in the control panel,
  104. >386 enhanced setup, if you read the help about time slicning and all
  105. >that, it makes a soup out of the whole story and finally says that
  106. >ms-dos applications ("the old-applications") have a time slice setting
  107. >each, while windows programs share one setting.  Then, you get the
  108. >default of 20.  Now if you change it you get some differences in
  109. >behavior, but I still don't see how they could claim that windows
  110. >applications are actually and truely time-sliced given the discussion
  111. >above. 
  112.  
  113.      Windows applications are not "time-sliced".  You read the
  114. help wrong.
  115.  
  116.  
  117. >Therefore, I hold my position, windows is not even close to an
  118. >operating system.  True there are things that will make you think it's
  119. >an operating system, for instance, the ms-dos time sharing is very
  120. >nice compared to the windows apps "time BSing" but then you never hear
  121. >of DesqView held as an operating system.
  122.  
  123.      "ms-dos time sharing" has nothing to do with any piece of
  124. code being an operating system either.  Your argument is full of
  125. holes in the places where it isn't downright incoherent.
  126.  
  127.      Followups to comp.os.ms-windows.advocacy.
  128.  
  129.                     -Phil
  130.  
  131. -- 
  132. -------------------------------------------------------------------------
  133. Phil Lafornara                         1 Microsoft Way         
  134. philipla@microsoft.com                Redmond, WA 98052-6399 
  135. Note:  Microsoft doesn't even _know_ that these are my opinions. So there.
  136.