From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb77,ebcb336c62963fb4 X-Google-Attributes: gidfdb77,public X-Google-Thread: 103376,6e940fd5ba87c3ce X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-17 14:04:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.java.advocacy,comp.lang.ada Subject: Re: real-time Java Date: 17 Apr 2003 17:04:24 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1050613466 8186 199.172.62.241 (17 Apr 2003 21:04:26 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 17 Apr 2003 21:04:26 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.java.advocacy:62332 comp.lang.ada:36251 Date: 2003-04-17T17:04:24-04:00 List-Id: xanthian@well.com (Kent Paul Dolan) writes: > Whether what they are reporting is due > to the conceptual difficulty of > programming for a garbage collecting > language implementation, > > [GC, it should be emphasized, was > created mostly to overcome the > conceptual difficulty of programming > with explict new/dispose commands, and > if conceptual difficulty is still the > main problem, then garbage collection > is not yet a programming tool which > satisfies its design goal.] > > or whether what they are reporting is > due to inherent limitations of garbage > collection technology today as a > mechanism, or whether what they are > reporting is the result of flawed GC > implementations today, the problem still > certainly exists. Part of the problem is that Java wants to put (almost) everything in the heap. The GC would be faster if more data could be allocated in the stack, or in registers. Many GC'ed languages share this problem. The C# language is nearly identical to Java, but one important difference is that you can have stack-allocated structs. - Bob