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

Re: Tools

Bert Peers wrote:

>   If it sounds complicated, that's because it is :)  You cannot
> even know in what order your assembly code will be executed..
> It sure convinced me, former asm freak from X-Mode up to MMX, to
> stay away from asm as long as possible.  These CPUs are so deep
> that even the compiler has trouble finding the best code for it,
> no way we'll beat that...  I assume that specialists, in specialized
> areas like device drivers, could still take good use of asm..
> but for general purpose game/engine writing.. I dunno..

Yes, you are right. For general purpose game/engine writing, there are
*some* uses for assembler, like I described (places where you know there
is no way the C compiler will do the best thing, because the CPU has
features inexpressibles in C languages, like bounded adds or SIMD ops).

Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win." -- Gandhi