home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: Garbage Collection for C++
- Message-ID: <1992Aug16.055843.26652@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <1992Aug14.021547.15215@news.mentorg.com> <TMB.92Aug14130323@arolla.idiap.ch> <1992Aug15.015237.17711@tfs.com>
- Date: Sun, 16 Aug 1992 05:58:43 GMT
- Lines: 51
-
- In article <1992Aug15.015237.17711@tfs.com> eric@tfs.com (Eric Smith) writes:
- >
- >Explicit memory management functions have traditionally favored memory
- >economy over speed. That was because memory was very expensive. But
- >now that memory prices have fallen through the floor, e.g. from $4000
- >per megabyte in 1983 to $25 per megabyte in 1992, it no longer makes
- >much sense to waste cpu time to save memory.
-
- Unfortunately, people now manage bigger objects.
- My 8M PC is just a constrained on user memory (even with 16M VM added)
- as the first 16K Apple II. And the 20G Unix machine runs out of
- RAM just as often because it has 2000 users instead of only 4.
- I now fiddle with megabyte sized pictures, try doing animation
- without compression. And AI people surely have massive
- memory requirements.
-
- There is some law about this surely---the amount
- of RAM your computer has is ALWAYS about half what you need.
- >that advantage?
- >
- >One answer would be that modern programming languages, using OOP and
- >genericity, make complexity so much easier to manage that the complexity
- >of non-GC memory management is no longer anywhere near as big a problem
- >as it was with older languages. OOP and genericity have almost unlimited
- >potential to simplify complex software, to the point where the additional
- >simplification provided by GC might become superfluous.
-
- But now we can manage complex systems so easily, we're
- bored with them and are writing super-complex ones :-)
- We start taking C++ classes for granted, and after a while
- it seems we're STILL repeating the same old formulas over and
- over again---that is, not achieving the sort of reusability that
- we would like to.
-
- IMHO the proportion of software projects that will fail
- is a constant. Supply better tools, and we push them up to that
- limit rapidly. Of course the projects that succeed do more ...
- but NOT relative to the competition.
-
- Example: Word processors for DOS based machines
- were plagued by being supplied with vendor specific
- printer drivers and fonts. Along comes Windows, which
- supplies the drives and fonts in a device independent way.
- Have WP programs got smaller then? :-)
-
-
- --
- ;----------------------------------------------------------------------
- TIM (TAL) LISTER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
-