From: | "Alex Knight" <knight(at)phunc(dot)com> |
---|---|
To: | "Adam Manock" <abmanock(at)planetcable(dot)net>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PL/java? |
Date: | 2001-09-04 21:05:54 |
Message-ID: | MAEFKNDLAHNIFMAIEGHJKEMOCDAA.knight@phunc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Python is a great language too. For scripts, I tend to write more python
scripts than perl these days, simply because python better suits my needs
and the base class library seems larger than perl's after install,
not that adding libs aren't easy. But I can write compact scripts without
cryptoblinding the user reading the script...
Zope is quite powerful too. But Zope still has a long way to travel until
it can make it to the Enterprise arena. I know a lot of the Zope developers,
and zope.org specifically gets lots of hits, but it's not getting nearly
as many as a Bankofamerica.com would get.
-Knight
-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Adam Manock
Sent: Tuesday, September 04, 2001 4:35 AM
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] PL/java?
After having seen this Perl / Java debate go back and forth...
I can't help myself...
<RANT>
The answer is Python !!!
For the best middleware you're ever likely to integrate with Postgresql :
http://www.zope.org
To see its "enterprise scalability":
http://www.zope.org/About
To see it taking LOTS of hits:
http://ns1.zope.org:82/
To see it NOT using much memory at all:
http://ns1.zope.org:82/cgi-bin/zope-track.pl
(this one loads kinda slow, maybe cause it's done in Perl?)
</RANT>
The real point here is that programmers are religious about their choice of
language,
and highly resistant to changing, which is why Postgres supports so many
languages!
I happen to prefer python, but that's just me. http://www.python.org if
you're curious
Adam
At 06:21 AM 9/4/01, you wrote:
>Hi Alex,
>
>Saying that mod_perl is slower than any java apps is purely marketing
>for java. An other guy told me that one day, I just bench it to show him
>how java developper just talk marketing. So the result was that with small
>users the performance was the same and with many user mod_perl is
>really speediest. Secondly mod_perl doesn't crash the system, under Linux
>using Java is a waste of time and a leak of memory ! Marketing is probably
>why daniel talk about Win$
>
>When first Java was out it was called the "Perl killer", so after many
years
>Perl is most uses than Java, ask you why ???
>
>For your other words what you do in Java can be done in perl more quickly
>more efficiently and with writing many less lines !
>
>An other example is the Oracle XML/SQL Servlet that it was plan to use
>in my company. After hearing too many marketing words I write the same
>in perl in 3 days and extend the possibility with no limits. Now they're
using
>Perl, ask you why ? This is use in the entreprise commercial application
that
>I think you call entreprise level !
>
>At this time Perl is the only really portable language over any OS.
>
>In my opinion PL/Java is purely a waste of time but some have time so why
>not !
>
>Sorry but I can not let you say words like that, we are not newbe :-(
>
>In your way I can tell you that before using Perl I also preach for Java
:-)
>But
>after rewritten many time the same apps with the differents versions of
Java
>and the OS where it should work it ended to decide me: no more Java !
>
>Regards
>
>Gilles Darold
>
>Alex Knight wrote:
>
> > Daniel, thank you kindly for your input.
> >
> > However, mod_perl is absolutely slower than most any j2ee application.
> > If all you are doing is keeping a session variable to count number of
hits
> > on a web page, then sure, perl is more than sufficient, possibly faster.
> > But when you start doing anything of importance, enterprise level stuff,
> > you need something scalable in ways java can go, but perl just doesn't
> > seem to have _easy_ or sometimes _existant_ ways to implement.
> >
> > How would you go about synchronizing session data on 10 application
servers
> > running mod_perl _without_ using the database to "mirror" that data in
> > memory? It's not very difficult to do it in Java. (Ofcourse, any smart
> > architect would use content switches generally to keep a remote user
> > associated with the initial app server to reduce the necessity of such
> > "replication" technologies).
> >
> > Not sure how you are associating me with windows, but no, all my server
> > stuff is always *nix. My answer on awt and swing was in reference to
> > someone else who was basing their opinion of java on awt/swing's
> > capabilities. Regardless, "applets" using awt/swing can be easily run
> > under Linux Mozilla or Netscape, or HotJava, etc. So you can't really
> > say that's enough to assume we're talking about windows.
> >
> > -Knight
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
From | Date | Subject | |
---|---|---|---|
Next Message | Alex Knight | 2001-09-04 21:24:33 | Re: [WAY OT] Re: PL/java? |
Previous Message | Alex Knight | 2001-09-04 21:01:46 | Re: PL/java? |