home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / misc / 44404 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  3.6 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!darwin.sura.net!gatech!rpi!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!access.usask.ca!jester.usask.ca!lowey
  2. From: lowey@jester.usask.ca (CrazyMan)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: What's good about native OS/2
  5. Date: 27 Jan 1993 17:56:08 GMT
  6. Organization: University of Saskatchewan
  7. Lines: 68
  8. Message-ID: <1k6iboINNb74@access.usask.ca>
  9. References: <1993Jan26.025458.5813@mcs.kent.edu>
  10. NNTP-Posting-Host: jester.usask.ca
  11. X-Newsreader: TIN [version 1.1 PL7]
  12.  
  13. Keith Fuller (keithf@Nimitz.mcs.kent.edu) wrote:
  14. : We know that OS/2 runs DOS, Windows and OS/2 applications.
  15. : So my ignorant question is, why write OS/2 applications?  
  16. : What more do you get compared to Windows applications?
  17.  
  18. 1) Programs run faster
  19.    ~~~~~~~~~~~~~~~~~~~
  20. An OS/2 program running natively under OS/2 will run faster than an
  21. equivalent Windows program, because it won't have to go through the
  22. hassle of starting up a DOS box, starting a Windows session,
  23. coordinating seamless windows on an OS/2 desktop, etc.
  24.  
  25. OS/2 2.0 native applications run faster because they are 32-bit
  26. applications.  This would be equivalent to Windows Enhanced
  27. applications without the hassle of starting a 16-bit DOS and using it
  28. to service all the operating system requests like in Windows now.
  29.  
  30.  
  31. 2) Programs run better
  32.    ~~~~~~~~~~~~~~~~~~~
  33.  
  34. In Windows, when you load files from disks, recalculate spreadsheets,
  35. tell a word processor to print, run a word processor in WYSIWYG mode,
  36. etc. you have to wait for the hourglass a lot. This is because Windows
  37. applications cannot multitask within themselves.  Once the program
  38. starts reading a file from the disk, it has to read the entire file
  39. before the rest of the program can continue for example.
  40.  
  41. OS/2 allows "multi threading".  A single program can multitask
  42. different parts of itself.  For example, you can tell the word
  43. processor to analyse the reading level of your text.  While the whole
  44. document is being analyzed "in the background", you can continue
  45. working on the document.  OS/2 applications don't show the hourglass
  46. (or clock in OS/2's case) nearly as often as Windows.
  47.  
  48. There are many more OS/2 specific features like this that are not
  49. available to Windows programmers.  Good Windows programmers might be
  50. able to simulate some of these features, but not all of them.
  51.  
  52.  
  53. 3) OS/2 programs run safer.
  54.    ~~~~~~~~~~~~~~~~~~~~~~
  55. OS/2 is a preemptive multitasking operating system.  This means that
  56. applications have no say in the matter.  On the other hand, windows
  57. programs can easily take over and not let any other programs run.
  58. Just put an hour glass on the screen and go.
  59.  
  60. There is also very little memory protection in Windows.  A program can
  61. start running, make a mistake, and overwrite memory anywhere in the
  62. system with disasterous results (such as User Application Errors). In
  63. OS/2, this is much more difficult to do "by mistake".
  64.  
  65. An example of this safety is when an hour glass appears on the screen
  66. in Windows. When an application displays an hour glass in Windows, it
  67. locks up ALL of Windows.  You cannot switch to another application
  68. while the first one is busy.  You have to wait for the first one to
  69. finish.  If it never finishes (because of a problem in the program)
  70. you have to reboot.
  71.  
  72. In OS/2 however, an application may put a clock on the screen because
  73. it may not want you to change a document while it is being printed for
  74. example. The difference is you can still move the window around, click on
  75. other applications, and run them normally.  The one program doesn't take
  76. over the entire machine.
  77.  
  78. - Kevin Lowey (Lowey@Sask.USask.CA)
  79. >>>>> Anonymous FTP to FTP.USASK.CA for DOS, OS/2, and Windows programs <<<<<
  80.  
  81.