Reply to post: Re: Why exactly is Perl any worse than Python? : About efficiency.

Clutching at its Perl 6, developer community ponders language name with less baggage

disgruntled yank Silver badge

Re: Why exactly is Perl any worse than Python? : About efficiency.

C is efficient as far as the machine is concerned. As far as the developer's time, though?

Back in the early 1990s I had a look at Perl 4, and discovered that, no, I did not have to fool with flex and bison to handle regular expressions--I could write

if (/whate+ver, du+de/)

And I could use "unpack" to parse funky minicomputer logfiles--could I have done it in C? Eventually? Would it have been faster? Sure. But parsing the logfiles with Perl on a SparcStation was vastly faster than using the vendor's log-reading program on the mini.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019