Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Total Perl Domination

by ariels (Curate)
on Jun 03, 2002 at 08:21 UTC ( #171166=note: print w/ replies, xml ) Need Help??


in reply to Total Perl Domination

I use Perl wherever I can (and that's quite a lot). I don't see it as taking over the world. And I don't want it to do that.

My job is in Computational Biology. Some of the work requires gluing together various "bits": data in various formats, lots of fairly simple string work, nice output reports, etc. Perl is close to ideal for that. It's also excellent for running various programs, for automating tasks such as database downloads, for quick&dirty GUI programming, and similar tasks.

It helps if you help Perl help you: when I created a new data format, I gave it a nice C interface (for our C programs). Not wanting to write (and maintain!) 2 parsers, I wrapped the C interface, with SWIG, to be usable from Perl. The Perl interface is object-oriented, of course, so it's actually nicer than the C interface. And recently I removed the need to free the allocated C objects manually, making the Perl interface even nicer.

But I also have to use C. Perl offers excellent performance for "built-in" tasks, such as regexp matching. But if you require high performance with non built-in structures and algorithms, the performance hit is huge. So the core, high performance tasks are done in C (or C++).

Perl's goal never was to replace other languages; it does its best to work with the others (unlike, say, SmallTalk or Prolog, and even most Lisps), and it makes some (maybe even many) types of programming easier and more pleasant. But it's no panacea, nor is it meant to be one.

``Use the right tool for the job''. If that means Perl, use it. If it means something else, use that.


Comment on Re: Total Perl Domination

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://171166]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-09-17 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (79 votes), past polls