I'd like to add three things to Ted's comments. With respect to speed, if
you want to get running quickly, perl is probably faster to write and
debug than either Java or C++ (if you are equally fluent in all three
languages). If you are writing something to be called through CGI, perl's
CGI.pm will speed things along even more.
Also, for text processing, such as parsing or form generation, perl can
match or exceed C++. I don't know how it does it, but it does it.
Finally, if you are connecting to an external database, you might consider
an Apache/mod-perl combination. With the mod-perl module, you can open a
connection into the database for each server and keep it open; I'm told
this can save half a second or more for each server connection. I haven't
done this one myself, but I can vouch for the first two.
You might ask, what's a perl fanatic doing on a Java mailing list? I use
perl for most of the server-side work, and Java on the browser side.
Pat
At 02:36 PM 5/6/99 -0700, Ted Neward <[EMAIL PROTECTED]> wrote:
>Oh, Lord, what, you WANT a flame war?
>
>Look, here's my bottom line: With Power Comes Complexity. Perl is simpler
>than Java, Java is simpler than C++. With that simplicity you lose a
>corresponding amount of power. But the end result is that it doesn't
>matter--you can accomplish just about any project in just about any
>language. C++ will be fastest, Java will come in second (due to the
>presence of JITs and the like), and Perl will be last.
>
...
>My personal preference is for C++ and Java, since (a) those are the two
>languages I know the best, and (b) I'm adept enough with either one that I
>can produce reusable code that can be used in a variety of situations. If I
>had to choose one vs. the other, I'd lean towards Java, simply because it's
>a nice compromise between a high-level language like Perl and an
>object-oriented language like C++--not too much power sacrificed to get
>some nice simplicity.
>
...
>At 02:08 PM 5/6/99 -0700, [EMAIL PROTECTED] wrote:
>>we are having a discussion here at work about the deployment of a web based
>>database,
>>
>>i think jdbc is the choice othere think perl or c++ is the way to go, any
>>thoughts/links etc?
>>
>>thanks
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]