Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!nysernic!itsgw!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) Newsgroups: comp.sys.ibm.pc Subject: Re: Microsoft C 4.0 large models Message-ID: <6936@steinmetz.steinmetz.UUCP> Date: Thu, 6-Aug-87 14:02:24 EDT Article-I.D.: steinmet.6936 Posted: Thu Aug 6 14:02:24 1987 Date-Received: Sat, 8-Aug-87 14:04:55 EDT References: <3225@cucca.columbia.edu> <3320039@hpsrlc.HP.COM> <2190@emory.uucp> <4589@jade.BERKELEY.EDU> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Distribution: world Organization: General Electric CRD, Schenectady, NY Lines: 48 H O G W A S H ! ! In article <4589@jade.BERKELEY.EDU> ehughes@violet.berkeley.edu () writes: |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 This may be true in "many DOS compilers," but NOT true in MS C 4.0. The only limitation is that no *one* allocation may be more than 64k. You have made a statement which at best is incorrect, and done a vast disservice to anyone who wants to run C on DOS. |an outright laziness on the part of the library writers not to take An outright laziness to post bullshit like this without ever reading the manual or even checking with a tiny test program. |this into consideration. There may be performance problems using 4-byte |pointers, There sure are | 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. That's just what it does, it's called "-Ml" (model: large) | 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. This entire posting is totally without valid technical comment. I have a number of programs which allocate large address spaces, including MicroEMACS and several proprietary editors. You should post a public apology for this crap. | |Eric Hughes |ucbvax!violet!ehughes Disclamer: I was a beta tester for MSC 3 and 4, and we didn't miss anything as blatent as missing large model. I don't have any financial interest in MS, I'm just offended by a posting which starts from an invalid technical point and then comments on the laziness of the compiler writers and the immaturity of MSDOS software. -- bill davidsen (wedu@ge-crd.arpa) {chinet | philabs | sesimo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me