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