From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5026 invoked by alias); 23 Jan 2002 22:44:53 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 4923 invoked from network); 23 Jan 2002 22:44:44 -0000 Received: from unknown (HELO pluto1.csm.ornl.gov) (160.91.77.57) by sources.redhat.com with SMTP; 23 Jan 2002 22:44:44 -0000 Received: from ornl.gov (cesar15.csm.ornl.gov [160.91.77.22]) by pluto1.csm.ornl.gov (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id RAA85720 for ; Wed, 23 Jan 2002 17:45:23 -0500 (EST) Message-ID: <3C4F3CDB.9020802@ornl.gov> Date: Wed, 23 Jan 2002 16:34:00 -0000 From: David Jung User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: GCJ: Java generics ala Sun JDK1.5 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg01477.txt.bz2 Hi. Quick Q: According to Sun's site on their prototype javac with support for generics, they were planning to make generics part of the Java language spec. as of 1.4, but have delayed it until 1.5. Is anyone working on adding generics to gcj? If not, is it a priority to add it, or will you hang back until after 1.5 has been released by Sun? Thanks, -David Jung. Optional reading :) ...... Motivation: I'm currently re-evaluating my preferred development environment. I've always been a C++ developer, but about 4(?) years ago I switched to Java2 as I liked: * portability * comprehensive standard library * garbage collection However, I've since switched back to C++ in frustration at no generics in Java, and poor performance. Now I'm considering switching again. My options... Java: * GCJ solves performance issues and integrates well with C++ * Generics are slated for introduction in v1.5, and are Sun's javac now. (but GCJ doesn't yet support them) * Will have to make do without operator overloading :( * In my opinion, the proliferation of Java APIs has not been well managed and is a mess ( -but as least there are options!) C# / .NET: * Includes all the features of Java that I care about, plus more * Has a bytecode that is more ameanable to translation to register based machines (hence performance is better) * Although standardized, is controlled by MS, which I don't trust * Open source Mono implementstion is still in early development * Not deployed as widely as Java, but probably will be (instead of too many APIs and duplication, almost no 3rd party APIs yet) Any comments/suggestions ? --- Computer Science and Mathematics Division Oak Ridge National Laboratory Oak Ridge, TN, USA