Re: PL/java?

From: merlyn(at)stonehenge(dot)com (Randal L(dot) Schwartz)
To: "Alex Knight" <knight(at)phunc(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: PL/java?
Date: 2001-09-04 21:28:04
Message-ID: m1ofoq63yz.fsf@halfdome.holdit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "Alex" == Alex Knight <knight(at)phunc(dot)com> writes:

Alex> You did not read what I wrote very well. First, I said that mod_perl was
Alex> slower than "most any j2ee application". If you knew what j2ee was,
Alex> you'd know that it's generally limited to server-side internet apps
Alex> like servlets, jsps, etc...

If you'd just stop saying things that can't be backed up, I wouldn't
have to keep responding.

Where is your proof that mod_perl is "slower than most any j2ee
application"?

Alex> However, in some cases, Java does things better (just like
Alex> perl does things faster than Java in certain situations).

I'm still waiting for "Java does things better" to be demonstrated.

Alex> But perl has had the "most uses" for so many years because it is
Alex> easy to learn, not truely object oriented

Perl is a hybrid OO language, just like Java. Now if you compare both
of them to Smalltalk, I see your point. But Java has primitive types
that cannot be subclassed or extended, just like Perl. There's really
no difference. Perhaps you've not read "Object Oriented Perl" by
Damian Conway, to see just how rich Perl's object model is, even
compared to Java and others.

Alex> (atleast the past few
Alex> years have been that way), does not require compiling to
Alex> simplify the execution process (i.e. fully interpreted), etc.

Perl is no more interpreted than Java. Perl's compiler translates the
entire program down to bytecodes, and the bytecodes are then executed
by the Perl Virtual Machine, just like Java. (I won't bring up any
benchmarks here... it's unfair to Java. :)

See... it's the nonsense you keep spouting that makes me want to slap
you silly. Get a clue. Perl is a serious, mission-critical language,
being actively developed by hundreds of people who depend on it to
remain stable, fast, and useful.

I've seen both. Java has its place. Perl has its place. Stop
dissing Perl, because you are apparently unaware of what is actually
going on. I guess that would make you a language bigot.

Alex> Expand on your "enterprise application". A true enterprise application
Alex> takes more than 3 days time to design and implement. Most "real"
Alex> enterprise applications have multiple layers of logic, etc. I don't
Alex> consider a script that queries a database for a password by 100,000
Alex> people a day to really be considered as Enterprise either.

And many "enterprise applications" are completely in Perl.
cbs.sportsline.com is 90% Perl. Etoys.com was 100% Perl. imdb.com is
100% perl. valueclick.com is 100% Perl. Amazon.com does all their
backend processing in Perl. Boeing uses Perl in every step of their
cad/cam process... every number defining the 777 airplane was passed
through Perl.

Alex> If I was new to programming, and I started "preaching Java"
Alex> right off the bat, this conversation wouldn't be warranted. In
Alex> fact, I run into these types of Java developers who go around
Alex> saying they think Java is the best language ever, etc etc but
Alex> don't really have the experience to make that claim.

You smell a bit like that now though, mostly through your ignorance of
Perl. Maybe you're not "unfounded pro Java", but you are "unfounded
anti Perl". And I won't allow that here. I'll certainly permit Perl
to lose on its technical merits, but I won't let Perl lose through
your ignorance of what it actually can be or do.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn(at)stonehenge(dot)com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Knight 2001-09-04 21:45:21 Re: PL/java?
Previous Message Alex Knight 2001-09-04 21:24:33 Re: [WAY OT] Re: PL/java?