Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: :) What you can't do in java you can do in perl

RE: :) What you can't do in java you can do in perl

From: Orr, Steve <sorr_at_rightnow.com>
Date: Wed, 29 Sep 2004 12:53:50 -0600
Message-ID: <D30BE1A2F9109A43BA989E2F51684056062CA3A6@pobox.corp.rightnow.com>


With Python you can have your cake and eat it too. In the Jython implementation you can access all the cool Java GUI stuff too.=20

Avoid CGI if performance is an issue. You can get some really good performance with mod_python (or mod_perl). I did a benchmark test with mod_python with connection pooling where I could re-use parsed SQL with bind variables and I got an orders of magnitude boost in performance.

Python was designed to be object oriented from the start and is much more readable than Perl. If you can do it in Perl you can do it much better and much prettier in Python, IMHO. If you can do it in in C/Java chances are good that you can develop it faster in Python. Generally, the best language is the one you know and is appropriate for the task at hand.=20

Anyone develop with Mozilla/XUL? Very cool stuff.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of ryan_gaffuri_at_comcast.net
Sent: Wednesday, September 29, 2004 9:37 AM To: breitliw_at_centrexcc.com; oracle-l_at_freelists.org Cc: Wolfgang Breitling
Subject: Re: :) What you can't do in java you can do in perl

I know some java, but very little perl. Perl is a scripting language used to create widgets. I want to do 'x' so I'll write a perl script.=20 java is used to develop full blown applications that have reusable components. though you can do this with perl, most people don't. its a waste of time to build widgets with java. takes way too much code.=20

its really apples and oranges. they have different uses. btw, does perl have a gui component? java's is pretty robust. plus you can do dynamic html with jsps which i dont think you can do with perl. I know perl used to be used for cgi, but i have been told its fallen out of vogue, in favor of javascript, jsps and for microsoft people asps.=20

> I am no expert in either Java or Perl, far from it. But then I'm not a
> developer. However I use Perl quite a bit to do file manipulation such
as=20
> process trace files. There it is just faster than Java, both in terms
of=20
> development time but also in execution time. It runs rings around Java
-=20

--
http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Sep 29 2004 - 13:49:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US