[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: life extension of old computers thanks to opensource Contiki



> What Peter was getting at is that writing hand-optimised assembler is an
art
> form at the best of times, and doubly so an a RISC architecture. Someone
> cutting their teeth on assembler is much better off on a CISC than
worrying
> about the branch pipelines and shuffling data between 128 registers...

Right, exactly what I meant. :)

It's actually even worse. Most opcodes of modern RISC processors are
tailored to some specific high-level language (of course, mostly C or C++).
The high-level language compiler can optimize way better for these
processors than a programmer can do by hand. Typically, IF more optimization
is needed, the programmer needs to only optimize one or two simple routines.
Optimizing the rest of the code by hand just doesn't weigh up against the
time it costs.

PeterV