From owner-freebsd-java Fri Feb 22 14:21: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from d3210.upc-d.chello.nl (d7058.upc-d.chello.nl [213.46.7.58]) by hub.freebsd.org (Postfix) with ESMTP id 9647B37B402 for ; Fri, 22 Feb 2002 14:21:01 -0800 (PST) Received: from bowtie.nl (localhost [127.0.0.1]) by d3210.upc-d.chello.nl (8.11.3/8.11.3) with ESMTP id g1MMJ0P69755; Fri, 22 Feb 2002 23:19:47 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3C76C3D4.3420E15E@bowtie.nl> Date: Fri, 22 Feb 2002 23:19:00 +0100 From: Marc van Kempen X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RC2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Stacy Millions Cc: java@freebsd.org Subject: Re: Best IDE for slow system? References: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com> <3C769324.F223E500@millions.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Stacy Millions wrote: > > "Koster, K.J." wrote: > > When the going gets tough, the IDE's let you down. > > I'll second that! I have spent more time trying to fix IDE generated > code then it would have taken me to write it in the first place. > > > As for IDE: I develop with FreeBSD's default vi and Ant 1.4.1. > > Ant's only virtue is that it will work on all OS's. > > I thought I was the last of the vi die hards :-) One other plus > for ant, at least compared to make, is speed. Because make will > fire up a new javac (and therefore a new VM) for each source > file it compiles, it can be quite slow. Ant just fire the compiler > off in a thread of its VM, much faster. The first package I converted > from make to ant contained about 350 source files. With make, a > "make clean all" took about 35 minutes, the equivalent with ant > is less then five minutes. That is on a celeron 333 running FBSD-stable. > Don't you guys know about jikes? find . -name \*.java | wc -l 184 files find . -name \*.java | xargs wc -l 37583 lines find . -name \*.java | xargs javac takes 36.5 seconds find . -name \*.java | xargs jikes takes 3.98 seconds That's 9386 lines/sec compile speed. (AMD 1.4Gh, FreeBSD 4.4) Jikes is more than 9 times faster than javac, before we switched to Ant, we just recompiled everything with jikes. Since it's still faster than letting make do its work with jikes on individual files! Jikes is even supposed to have some sort of incremental compile mode where it keep's running and when you press enter in the terminal it's running in, it recompiles the files you changed (I never tested this mode). Regards, Marc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message