Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 13:34:23 -0700
From:      Sean Kelly <kelly@plutotech.com>
To:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Cc:        java@FreeBSD.ORG
Subject:   Re: RmiJdbc
Message-ID:  <351818CF.A8E6300C@plutotech.com>
References:  <199803241911.UAA11017@gilberto.physik.RWTH-Aachen.DE> <35180BA8.A9E65B6A@plutotech.com> <19980324211103.10524@gil.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Thanks. I got around this by recompiling RmiJdbc explicitly. Took half an hour
> on my Amd DX4/133.

Not bad!  HP/UX's C++ compiler is about as slow, even on faster
hardware.

> And it is slooow. I mean the data connection. Will perhaps post this in the
> newsgroup. With such a slow connection I cannot beat the guys who are
> doing Visual Basic programming with direct Win32 apps.

Do you have access to other Java-capable machines?  It might help if we
can determine that it's the RmiJdbc library itself or a particular
virtual machine's implementation that's causing it to be so slow.

I hate to admit it, but Microsoft's "jview" virtual machine which I
downloaded for free from the web site earlier this year is amazingly
fast.  With Emacs and GNU make available on Windows NT, I'm almost
tempted to do Java development in such an environment.  The M$ compiler
is blazingly fast, too.

> 1s pause
> URL: jdbc:rmi://pcwin126/jdbc:odbc:rjdemo    (before the Connection is made)
> 1 min pause
> TUPLE: | 1 | Ellison | Larry | larry@oracle.com | (results spit out 10/s)
> TUPLE: | 2 | Clark   | Jim   | jim@netscape.com |

I guess I'm so optimistic that people will eventually get JIT and
dynamic compilers onto every platform that I stick with the language
despite this terrible speed.  As Tom Cargill pointed out:

* C++ runs about 3 times as fast.
* It takes about 1/3 as long to develop in Java.

Each company/project will have to determine what's more important.

--Sean

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?351818CF.A8E6300C>