4 ms·
One part of Perl, that still largely makes sense, is that Perl is almost always one of the smallest choices for toy program tests. https://benchmarksgame-team.
by araes 2y ago
One part of Perl, that still largely makes sense, is that Perl is almost always one of the smallest choices for toy program tests.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/how-programs-are-measured.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Javascript is maybe 150% on average and C++ is maybe 200%.
If they're ever gonna do this P7 thing, it would be nice if there was a slight runtime improvement. There's some room available.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- stouset 2y agoRuby is nearly as good as Perl in this regard, is a significantly more useful skill to learn, and code written in it is immeasurably more readable.
- binary132 2y agoOk, but if you’re comfortable using it, Perl is really fun, pleasant, and easy to quickly express ideas in. One of its conscious design decisions is to be flexible enough to rapidly bang out some quick hack you’ll never look at again in absolute incomprehensible gibberish shorthand, or to use in a very methodical, disciplined, and structured way — so if you write something unmaintainable, that’s because you chose to. I haven’t turned to it as my first choice in years, but it still has a place in my back pocket for if I ever need a quick and dirty text munging Swiss Army knife.
- stouset 2y agoAny language you already know is going to have the advantage over languages you don’t. If you already know Perl, you already know if it’s right for you. If you don’t, you’re probably better off learning Ruby instead.
- binary132 2y agoIt’s not like you have to pick. Both are facile to pick up over a weekend. :)