This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
GCJ vs. C++ in RAM
- From: Vladimir Levin <vladimirl at wrx-ca dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 06 Apr 2004 10:22:17 -0600
- Subject: GCJ vs. C++ in RAM
- References: <40633001.3090605@wrx-ca.com> <4069B130.20900@wrx-ca.com>
I am currently evaluating using gcj for an embedded application, and I'd
like to get a sense of how large the discrepancy in RAM usage would be
depending on whether we went ahead with gcj or stuck to C++. Is it an
order of magnitude or is it fairly sensible?
I am hoping that I can get some estimates from this list on the RAM
consumption of an application written with GCJ vs. C++. The application
I have in mind has about 50,000 lines of code, and incorporates
multi-threading and sockets. If possible, the C++ implementation would
include the Boehm garbage collector, but I wouldn't mind getting an
estimate for C++ with and without the garbage collector.