home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9133 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bu254
  2. From: bu254@cleveland.Freenet.Edu (Stephen Groundwater)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Questions about malloc and free and memory models
  5. Date: 7 Sep 1992 19:59:28 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 31
  8. Message-ID: <18gcb0INNsrp@usenet.INS.CWRU.Edu>
  9. References: <BEDERS.92Sep7170343@wip-sol.dfki.uni-sb.de> <BtxLAx.E1z@world.std.com>
  10. Reply-To: bu254@cleveland.Freenet.Edu (Stephen Groundwater)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, beders@wip-sol.dfki.uni-sb.de (Jochen Bedersdorfer) says:
  15.  
  16. >
  17. >Huhu,
  18. >
  19. >NO, DON`T TRY TO UNDERSTAND OR EVEN GET IN CONTACT WITH SEGMENT CONFLICTS.
  20. >Ever heard about a 32-bit flat memory model ?
  21. >There You have no problem with memory models, near, far or even
  22. >huge pointer. You can malloc as much memory as you want.
  23. >Try to get OS/2, gcc (the GNU C Compiler) for OS/2 and
  24. >IBM Toolkit and you would be VERY happy.
  25. >
  26. >Lately I converted a program that runs in compact model
  27. >to flat model and I could delete very much stuff about
  28. >pointers and segmentation verification.
  29. >And it runs MUCH faster...
  30. >
  31. >SO GO BUY OS/2 !
  32. >
  33. >Greetings, :)ochen
  34. >--
  35. >
  36. You still got Segments in OS/2 it's just weel disguised, you're going to
  37. run out of memory eventually with only a paltry 4GB to access, and then 
  38. you'll have to relearn about sectors/selectors again. You think 4Gb is
  39. a lot today, but in a few years you'll be gasping for breath, and
  40. generally suffering from claustrophobia in such a small space.
  41. Get NT, on a MIPS or Alpha you can access exo-bytes!
  42.  
  43. Steve
  44.