Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!sdcsvax!ucbvax!jade!violet.berkeley.edu!ehughes From: ehughes@violet.berkeley.edu Newsgroups: comp.sys.ibm.pc Subject: Re: Microsoft C 4.0 large models Message-ID: <4589@jade.BERKELEY.EDU> Date: Tue, 4-Aug-87 20:51:38 EDT Article-I.D.: jade.4589 Posted: Tue Aug 4 20:51:38 1987 Date-Received: Fri, 7-Aug-87 06:49:25 EDT References: <3225@cucca.columbia.edu> <3320039@hpsrlc.HP.COM> <2190@emory.uucp> Sender: usenet@jade.BERKELEY.EDU Reply-To: ehughes@violet.berkeley.edu () Distribution: world Organization: University of California, Berkeley Lines: 14 On many DOS compilers, the allocated memory pool is taken from a single segment, i.e. 64K max. This is true EVEN IN LARGE MODEL. It is simply an outright laziness on the part of the library writers not to take this into consideration. There may be performance problems using 4-byte pointers, but that could be remedied by having optional libraries for those cases; the linker would search the specialized libraries first and link in the correct routines and ignore the default ones. Another solution is to use 2-byte pointers everywhere in a segment except for the first and last ones. Yet it is not done. Chalk one up to the general immaturity of MSDOS software. Eric Hughes ucbvax!violet!ehughes