2 ms·
I'm ignorant of Perl, so it is possible that this is off base, but: If I were writing something where I actually cared about low-level performance (a 'let's se
by bee_rider 5y ago
I'm ignorant of Perl, so it is possible that this is off base, but:
If I were writing something where I actually cared about low-level performance (a 'let's see what we can get the compiler to inline and unroll' sort of code), I guess I'd
1) start by writing pseudocode
2) code it in C or Fortran.
The fact that there's a runnable version of pseudocode called Python means that often people will stop at the first step, realize computers are incredibly fast, and be happy enough with not writing the Fortran (just sprinkle in some NUMPY for the crunchy bits).
Lots of cases can be handled with large calls to heavily tuned libraries anyway, where most programmers won't beat the library in C or Fortran, let alone Perl.