So is there a way to convert perl to asm ?
No, not really. There are few programs that attempt to turn perl into a "real" executable, by linking libperl and the bytecode into a common executable, but I doubt that it works for non-standard CPUs, and some of these attempts, notably perlcc, were already abandoned.
Perl does produce an op tree that is comparable to java's byte code (but still very different), but usually it doesn't leave the interpreter.
In reply to Re^5: Which is faster ?
by moritz
in thread Which is faster ?
by thenetfreaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |