Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 37132 invoked from network); 12 May 2005 16:33:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2005 16:33:17 -0000 Received: (qmail 95277 invoked by uid 500); 12 May 2005 16:34:39 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 95228 invoked by uid 500); 12 May 2005 16:34:38 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 95210 invoked by uid 99); 12 May 2005 16:34:38 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtpout.mac.com (HELO smtpout.mac.com) (17.250.248.97) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 12 May 2005 09:34:38 -0700 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/8.12.11/smtpout06/MantshX 4.0) with ESMTP id j4CGUGDO004683 for ; Thu, 12 May 2005 09:30:16 -0700 (PDT) Received: from [172.16.1.34] (host217-42-28-241.range217-42.btcentralplus.com [217.42.28.241]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id j4CGUEvH025402 for ; Thu, 12 May 2005 09:30:15 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v728) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5AB4C453-4FEA-445E-91B6-B0FE3ACF0212@mac.com> Content-Transfer-Encoding: 7bit From: tumnus@mac.com Subject: Re: Against using Java to implement Java (Was: Java) Date: Thu, 12 May 2005 17:30:12 +0100 To: harmony-dev@incubator.apache.org X-Mailer: Apple Mail (2.728) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12 May 2005, at 12:17, theUser BL wrote: > I hope you use C to write the VM for Harmony. > Forgive me if I am repeating what others have already said - I'm a bit late to this. Bootstrapping the whole thing in Java is a very clever idea, but what about the management of the heap (GC etc)? Presumably that would have to be done in some layered system, with a very simplistic GC in the bootstrap VM, with layers of extra logic on top of it? Or am I missing something? If so, what sort of performance hit would this have? I agree that in many ways it is a Good Thing, but so was Sun's handle redirection stuff (where an object reference referred to a table, that referred to the object) but Microsoft's Bad Way of simply linking to the object ran much quicker. In fact, didn't Sun eventually switch to that way of working? I think there was something about it in Simon Ritter's talk on GC at last year's London Java Tech days. I know very little about all this (so please beat me only with a very small stick and in a loving manner) but would it be possible to start with an existing(?) JVM written in C/C++ and then start to migrate it part by part into Java? Taking the baby steps approach, couldn't we work out exactly where the log-jams are likely to be? And then get as much as we can in Java, so long as it doesn't have a significant impact on performance? Would taking the C/C++ --> Java approach mean that we could base our discussions upon the evidence of the code, and less upon subjective belief? More ground up and less BUFD? DG