[466] in java-interest

home help back first fref pref prev next nref lref last post

Re: Statistics on performance, and comparison to perl?

daemon@ATHENA.MIT.EDU (Nathan Urban)
Fri Jun 23 11:42:32 1995

Date: Fri, 23 Jun 1995 11:05:03 -0500
To: java-interest@java.sun.com
From: nurban@sysplan.com (Nathan Urban)

Alex deVries (adevries@ccs.carleton.ca) wrote:

>The "Java Language Environment - a white paper" claims on page 49 that:
>1. Java is a high performance language, and
>2. Perl is a low performance language.

>Does anyone know how or where these statistics were gathered? Has anyone
>ever compared perl vs. java?

Well, I can't answer that, but I did run across an article by Larry Wall on
comp.lang.perl.misc.  Here is a quote:

>I was just looking through the Java white paper, and I notice they
>don't think Perl is dynamic, or is object-oriented, or has exceptions.
>And they consider Java to be more portable than Perl.  Makes me wonder
>what else they know that ain't so.

Here is the whole article:

>Newsgroups: comp.lang.perl.misc
>Path:
>csugrad.cs.vt.edu!solaris.cc.vt.edu!news.mathworks.com!news.bluesky.net!ne
>ws.sprintlink.net!howland.reston.ans.net!usc!news.cerf.net!netlabs!lwall
>From: lwall@netlabs.com (Larry Wall)
>Subject: Re: byte compiled perl script?...
>Message-ID: <1995Jun14.003744.9988@netlabs.com>
>Organization: NetLabs, Inc., Los Altos, California.
>References: <3quc3q$8ir@louie.cc.utexas.edu>
><1995Jun9.180429.19468@netlabs.com>
> <1995Jun10.104845.8161@chemabs.uucp> <kocksDA2IGu.1FG@netcom.com>
>Date: Wed, 14 Jun 1995 00:37:44 GMT
>Lines: 31
>Xref: csugrad.cs.vt.edu comp.lang.perl.misc:401
>
>In article <kocksDA2IGu.1FG@netcom.com>, Peter Kocks <kocks@netcom.com> wrote:
>: Larry W. Virden (lwv26@cas.org) wrote:
>:
>: : Wouldn't it be wild to generate byte code compatible with the
>: : Java engine, so that programs were interchangable and one could
>: : program one's HotJava or Netscape browser in perl?
>:
>: Yes, this would be very cool.
>
>The main difficulty is that you'd have to translate large chunks of
>C code into Java, or supply it as a classes that called out to C code.
>Think about regular expressions, for instance.  You'd also need to
>make up some classes to represent Perl scalars reasonably.
>
>I was just looking through the Java white paper, and I notice they
>don't think Perl is dynamic, or is object-oriented, or has exceptions.
>And they consider Java to be more portable than Perl.  Makes me wonder
>what else they know that ain't so.
>
>On the other hand, it does look like they've put a lot of thought into
>it alongside the hype.  It might make a nice portable virtual machine
>someday if they'd give away the sources.  It doesn't look like that's
>happening though.  I certainly don't expect to see Java running on my
>Amiga any time soon.
>
>But hey, I'd like to program your browser in Perl too.  And it'd be
>kind of funny to use Java bytecode as the standard Perl bytecode.
>
>Anyone looking for a cool weekend project?  :-)
>
>Larry

---
Nathan Urban   nurban@sysplan.com
System Planning Corporation (SPC)


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post