3 ms·
"why is Perl so fast?" Is not. We tested our own code in Perl for doing some text processing in our company. The result was 89 times slower than our c code, w
by Htsthbjig 12y ago
"why is Perl so fast?"
Is not. We tested our own code in Perl for doing some text processing in our company.
The result was 89 times slower than our c code, which is not so slow compared with other options, but is slow.
We use a lot of c++ and python, but always for managing encapsulated low level code.
With anything that has to compute intensely, like audio, video or 3d work, the differences are way over 3000 times slower. That is: the computer working for a second or for an hour.
Java is not fast, it has never been. It is not its "forte". You could decide to use java or any high level languages based on its merits, but being fast is not one of them.
It is a good idea to learn assembly and disassembly with the debugger before using high level languages. It gives you the knowledge of what computers are really doing under the hood.