in reply to High Performance Perl
If you have one hour to code something that uses associative arrays, chances are if you use Perl for the job you'll finish sooner and have fewer bugs than if you use c; plus the code might actually run faster (because perl's associative arratys have already been lovingly optimized and tuned for so many years). Of course, "one hour" and "something" are just arbitrary values; perhaps for you hashes in c is a trivial job (or maybe you're already familiar with an excellent c toolkit).
Keep in mind that you can Inline code from other languages (from c to Perl 6) in your Perl code, and thus make the hot spots much happier.
|
|---|