🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #2260

Re: Ask yourself these before you choosing a 32bit OS...

#2260
From: Moises Lejter
Date: Wed, 20 Sep 1995 01:12
26 lines
2495 bytes
In article <43nlc8$sll@orion.cybercom.net>, jerry@cybercom.net (Jerry Shekhel) writes:

  Jerry> UNIX systems ignore the problem and let the applications
  Jerry> worry about their own heap management.  The OS itself
  Jerry> provides only rudimentary facilities for expanding the heap.
  Jerry> On the other hand, UNIX provides very robust virtual memory
  Jerry> capabilities, so most programs can get by using only the
  Jerry> unsophisticated heap management of malloc() and related
  Jerry> functions.

I am not sure how fair this statement is to modern versions of UNIX.
It is true that the OS itself provides rudimentary facilities for
expanding the heap - just sbrk() to extend heap memory.  However, the
standard C library's heap allocation routines (malloc() and friends)
do try to do a reasonable job in terms or reusing freed blocks,
compacting contiguous free blocks when convenient.  I will grant you
it is possible to construct an application whose dynamic memory
behavior will defeat the strategies in the standard C library, but I
am not sure that this is commonly a problem...

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.95Sep20011239@monaco.cs.brown.edu>
Path: arc1-ca.pugleaf.net!news.brown.edu!mlm
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> <43nlc8$sll@orion.cybercom.net>

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...
Followup-To: 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
Date: 20 Sep 95 01:12:39
Organization: Dept. of Computer Science, Brown University
Message-ID: <MLM.95Sep20011239@monaco.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> <43nlc8$sll@orion.cybercom.net>
Reply-To: mlm@cs.brown.edu
NNTP-Posting-Host: monaco.cs.brown.edu
Mime-Version: 1.0
Content-Type: text/plain
In-reply-to: jerry@cybercom.net's message of 19 Sep 1995 23:56:56 GMT
X-Md4-Signature: b3340bc472f64fb4b826b93b0df60585