Article View: comp.os.msdos.programmer
Article #386Re: data structures >64Kb
From: Walter Bright
Date: Tue, 11 Aug 1992 03:35
Date: Tue, 11 Aug 1992 03:35
18 lines
1523 bytes
1523 bytes
In article <seant.35.0@sunfish.ratsys.com> seant@sunfish.ratsys.com (Sean D. True) writes: /In article <885@nazgul.UUCP> bright@nazgul.UUCP (Walter Bright) writes: />Zortech is a commercial C/C++ compiler, that with the X memory model, />lets you build true 32 bit DOS apps. You can malloc data structures as />large as you have memory in your machine, all without far or kludge />pointers. /I assume that this is true *only* on a 386 or better machine. I think the /complaints were pointed towards real-mode and/or 16-bit compilers. True, it is only possible to run a true 32 bit app on a machine that has a true 32 bit processor, such as a 386 or better :-) It is possible to write a C compiler for real mode DOS that treats the first meg of memory as a linear address space. I suspect, however, that apps built with this compiler would run a factor of 4 or more slower. You would suffer with *every* pointer operation. Functions like strcmp() would be pig slow. I don't think there is much of a market for such a beast.
Technical Details
Message-ID:
<893@nazgul.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!pilchuck!fnx!nazgul!brightReferences:
<1992Aug3.124703.15770@hou.amoco.com> <BsFG1G.EG8@fc.sde.hp.com> <1992Aug4.131054.232@hou.amoco.com> <885@nazgul.UUCP> <seant.35.0@sunfish.ratsys.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pilchuck!fnx!nazgul!bright From: bright@nazgul.UUCP (Walter Bright) Newsgroups: comp.os.msdos.programmer Subject: Re: data structures >64Kb Message-ID: <893@nazgul.UUCP> Date: 11 Aug 92 03:35:05 GMT References: <1992Aug3.124703.15770@hou.amoco.com> <BsFG1G.EG8@fc.sde.hp.com> <1992Aug4.131054.232@hou.amoco.com> <885@nazgul.UUCP> <seant.35.0@sunfish.ratsys.com> Reply-To: bright@nazgul.UUCP (Walter Bright) Organization: Zortech, Seattle Lines: 18