Article View: comp.sys.powerpc
Article #2296Re: Ask yourself these before you choosing a 32bit OS...
From: Moises Lejter
Date: Sat, 23 Sep 1995 00:06
Date: Sat, 23 Sep 1995 00:06
29 lines
2534 bytes
2534 bytes
In article <nevin-2109950243110001@mac-nevin.cs.arizona.edu>, nevin@CS.Arizona.EDU (Nevin ":-]" Liber) writes: Nevin> And what happens in low-memory situations due to fragmenting Nevin> on those same systems? The apps just quit, losing all of Nevin> your work. The handle mechanism has nothing to do with CMT Nevin> and everything to do with avoiding low memory situations. Nevin> There are two ways to do it: Do nothing (the Unix way), and Nevin> hope the situation doesn't occur very often, or do some form Nevin> of garbage collection. Apple chose the latter. Unix Nevin> programmers write their apps assuming an indefinite amount of Nevin> virtual memory (just ask anyone who tried to port CFront to a Nevin> personal computer -- ugh), ... Not quite true. UNIX programmers assume malloc/free will do a good job of reusing memory that has been free()d, so they don't have to worry about it. If they neglect to free their memory, they lose - but so will the Apple programmers - those blocks accesible through handles have to be kept *somewhere*... ;-) Perhaps malloc()'s strategies are not as "compacting" as Apple's - which is where your assumption of infinite memory does come in ;-) - but it is not so bad as that, in general... Moises -- ----------------------------------------------------------------------------- Internet/CSnet: Moises_Lejter@brown.edu BITNET: mlm@browncs.BITNET UUCP: ...!uunet!cs.brown.edu!mlm Phone: (401)863-7671 USmail: Moises Lejter, Box 1910 Brown University, Providence RI 02912
Technical Details
Message-ID:
<MLM.95Sep23000627@cslab3e.cs.brown.edu>Path:
arc1-ca.pugleaf.net!news.brown.edu!mlmReferences:
<3vh2hc$9dd@falcon.ccs.uwo.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <43mrf6INN602@gambier.ugrad.cs.ubc.ca> <wade-1909951248440001@bucky.famres.wisc.edu> <43n5maINNep0@keats.ugrad.cs.ubc.ca> <nevin-2109950243110001@mac-nevin.cs.arizona.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.brown.edu!mlm From: mlm@cs.brown.edu (Moises Lejter) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,comp.os.ms-windows.advocacy Subject: Re: Ask yourself these before you choosing a 32bit OS... Date: 23 Sep 95 00:06:27 Organization: Dept. of Computer Science, Brown University Message-ID: <MLM.95Sep23000627@cslab3e.cs.brown.edu> References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <43mrf6INN602@gambier.ugrad.cs.ubc.ca> <wade-1909951248440001@bucky.famres.wisc.edu> <43n5maINNep0@keats.ugrad.cs.ubc.ca> <nevin-2109950243110001@mac-nevin.cs.arizona.edu> Reply-To: mlm@cs.brown.edu NNTP-Posting-Host: cslab3e.cs.brown.edu Mime-Version: 1.0 Content-Type: text/plain In-reply-to: nevin@CS.Arizona.EDU's message of Thu, 21 Sep 1995 02:43:11 -0700 X-Md4-Signature: 6a22ea4a2627084585faa034302dfb66