On 2011-05-05, Gregory Ewing <greg.ew...@canterbury.ac.nz> wrote: > harrismh777 wrote: >> 'C' is still the best high-level language on that processor. > > Some would argue that C is actually better than assembler these > days, because modern architectures are so freaking complicated > that it takes a computer to figure out the best instruction > sequence. :-(
Been there, done that. Many years ago, it took me more than a week (and required the help of an ARM instruction set guru) to come up with an assembly language IP checksum routine for the ARM that out-performed the somewhat naive NetBSD "C" version. When we switched to the FreeBSD stack (and a newer compiler) a few years later, my assembly code got tossed out because was no longer any faster than the C version. -- Grant Edwards grant.b.edwards Yow! Half a mind is a at terrible thing to waste! gmail.com -- http://mail.python.org/mailman/listinfo/python-list