perl vs python vs php

Everything todo with programming goes HERE.
Post Reply
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

perl vs python vs php

Post by Tank Program »

I've got to write a scrip to parse a ~60MB flat file into a database (don't ask why.) I'm wondering what everyone would think perform fastest, so that I don't have to write one in each language. I'm leaning towards perl, but I'd like other peoples input as well.
Image
User avatar
Lucifer
Project Developer
Posts: 8744
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Hmm, it's such a relative thing. You can probably get it running as fast as you need it in any of those languages.

Perl will take the longest to develop and will probably run marginally faster than the rest.
PHP falls right in the middle.
Python will take the shortest amount of time to develop and will probably run a bit slower than the rest.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Well, I've done it in perl, which isn't that hard I think, and it runs resonably fast... About 2 minutes..
Image
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

assembler :wink:
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

iceman wrote:assembler :wink:
good joke! :lol:
Image
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am

Post by Walking Tree »

why ?
:P
on the grid as ~free::zombie~
Post Reply