|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: :)
----- Original Message ----- From: <dreyhau@banet.net> To: <gameprogrammer@gameprogrammer.com> Sent: Sunday, December 26, 1999 10:42 AM Subject: Re: :) > Um? Your kidding me? Assembly will always be faster than C but programers > see less need for it. But writing optimized asm code (I mean 32-bit pentium code) is hard. Believe me, I've done that for quite a while. You can't just write the asm mnemonics sequentially, for example, you need to reorder them to follow the instruction pairing rule. There are *too many* rules to remember/follow: instruction pairing rules, scheduling rules, caching rules, AGI avoidance, branching rules, avoiding pipeline stalls, etc. Fortunately the pentium II has a feature (out-of-order execution) that simplifies some of those rules. On the other hand, C and C++ compilers have the ability to remember those rules and trying their best to follow most (if not all) rules. However, C/C++ compiler can't do harcore asm tricks that human can. Anyway, good luck with the "A Very Good Idea" project. I already have my own game project but I'll help if I have spare time. Yohanes Yogi Wahyu P. ironwill@bdg.centrin.net.id (home) yogi@students.if.itb.ac.id (school) ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|