Is Scheme/LISP faster than C/C++

Raymond Toy toy.raymond at gmail.com
Mon Jun 14 15:34:42 EDT 2010


On 6/14/10 1:53 PM, fortunatus wrote:
> For crying out loud, the best any compiler can do is make optimal
> machine language.  Many C compilers can do that over most inputs.  So

Is that why I had to use assembly code instead of C for some parts of my
previous projects?

There was even one example where the C compiler made spectacularly bad
code.  I only needed 6 pointer registers (the arch has 8), but the
compiler decided to use only one or two and spilled and reloaded them
from the stack for each use.  Yay!

Ray



More information about the Python-list mailing list