[bitlug] Re: [Beowulf] Which is better GNU C or JAVA (for network programing)(fwd)

  • From: Peeyush Prasad <peeyush@xxxxxxxxxx>
  • To: bitcompsci02@xxxxxxxxxxxxxxx, <kiggaboys@xxxxxxxxxxxxxxx>,<bitlug@xxxxxxxxxxxxx>
  • Date: Wed, 11 Feb 2004 13:07:00 +0530 (IST)


---------- Forwarded message ----------
Date: Wed, 21 Jan 2004 12:29:28 +0100
From: "[unknown-8bit] Dani=EBl W. Crompton" <webhat@xxxxxxxxx>
To: beowulf@xxxxxxxxxxx
Subject: Re: [Beowulf] Which is better GNU C  or  JAVA (for network

On Wed, Jan 21, 2004 at 12:50:10AM +0100, Jakob Oestergaard wrote:
> On Tue, Jan 20, 2004 at 08:05:45AM -0500, Robert G. Brown wrote:
> > On Mon, 19 Jan 2004, prakash borade wrote:
< ... snipped for brevity ... >
> > Now we can give the correct answer, which is "C".
> Typing a little fast there, I think...  The correct answer for anything
> larger than 1KLOC is "C++" - of course, you knew that, you were just a
> little fast on the keyboard   ;)

=09While I can find litte fault with your posts I should note that there
are a number of points which I would like to mention.

=09Firstly, obviously YHBT YHL HAND.

=09Now I've got that out of the way, there was a light weight comparative
benchmark[1] on OSNews. Obviously, as you will see, they only tested some
simple things, but the tests showed Sun's Java performed quite well when
compaired to GCC.

=09Compairing it to GCC is a little cheap though, as we know from the
benchmarks in October edition of Dr Dobbs Journal[2]: GCC, it may have
the best ANSI C/C++ support produces the bulkiest code and, although not
always, slower code that a processor specific design such as Intel's C++

=09The have been a lot of myths[3] floating around about Java performance,
and although IMO floating point precision sucks in Java, it is not as bad a=
people think.

=09The main reason that I vote for Java and not my favorite C or my second
favorite C++ is that the person who asks this question will just be adding
more bad/exploitable C/C++ network code to the world. And I don't really
think we should be encouraging that.

[1] Nine Language Performance Round-up: Benchmark Math & File I/O - C.W. Co=
[2] Compairing C/C++ Compilers - M. Wilson
[3] Urban Performance Myths - B. Goetz


Daniel (ever the debunker)

blaze your trail


'I am become Shiva, destroyer of worlds'
Beowulf mailing list, Beowulf@xxxxxxxxxxx
To change your subscription (digest mode or unsubscribe) visit http://www.b=

Other related posts: