Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!news.mathworks.com!news.kei.com!nntp.coast.net!torn!nott!cunews!tina.mrco.carleton.ca!knight
From: knight@mrco.carleton.ca (Alan Knight)
Subject: Re: Why do you hate C++ ?
X-Nntp-Posting-Host: tina.mrco.carleton.ca
Message-ID: <knight.821285848@tina.mrco.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Reply-To: knight@mrco.carleton.ca (Alan Knight)
Organization: The Object People
References: <DK5Mtx.EyH@marble.com> <4brobh$j87@sundog.tiac.net>   <4bspq6$1ah@parody.tecc.co.uk>  <4buaue$e2h@sundog.tiac.net> <4d0fp4$4jd@usenet1.interramp.com>
Date: Wed, 10 Jan 1996 14:57:28 GMT
Lines: 29

In <4d0fp4$4jd@usenet1.interramp.com> pp002882@pop3.interramp.com (Tom Donaldson) writes:

>In article <4buaue$e2h@sundog.tiac.net>
>Joe Kinsella <jkinsella@procd.com> writes:

>> I built a Hello World program on a couple different Smalltalks (without running it 
>> through strippers) and it required anywhere between 700K and 2BM of memory (not 
>> image size but memory footprint).  That's pretty big!

>Note that comparing a vanilla C++ hello-world with, for example,
>a PPS hello-world is comparing apples and oranges.  Friends who
>have used C++ GUI application frameworks (which are a bit more
>comparable) tell me that a C++ hello-world using such a
>framework produces a 1-3MB memory footprint.


Also note the critical "Without running it through strippers". That is
to say, "including the whole development environment". The appropriate
comparison there is not with the memory footprint of a compiled C++
program but with the footprint of a C++ program being run
interactively in a development environment. 2MB sounds pretty good to me.


-- 
 Alan Knight                | The Object People
 knight@acm.org             | Smalltalk and OO Training and Consulting
 alan@objectpeople.on.ca    | 509-885 Meadowlands Dr.
 +1 613 225 8812            | Ottawa, Canada, K2C 3N2

