Re: Software Architecture/Design

Shaun Stamper <[email protected]> Fri, 11 Jun 2010 14:22:15 +1000
Newsgroups gmane.games.devel.sweng
Message-ID <[email protected]>
Jon Frisby wrote:
> On Jun 10, 2010, at 9:06 PM, Shaun Stamper wrote:
>
>   
>> Brandon Van Every wrote:
>>     
>>> Do you routinely write function calls in straight ASM out of fear of the performance impact of function calls?  No you don't.  99% of the time, you use C++ and get on with real work.  
>>>       
>> Missed this line. No, you determine if a function that is written in C/C++ could be better optimized by hand because of assumptions the compiler makes, then rewrite the under performing part in ASM. Thats an extreme case that rarely happens these days, but still does.
>>     
>
> And here you just made his argument for him.  The original point was that the industry has long since moved on from an ASM-first approach to game development -- it's now very much the *exception* rather than the *rule*
I never argued for or against ASM, I was stating that its still a 
requirement. If it has any influence at all, then *someone somewhere at 
sometime* has to care about it.

Profile then optimize.

-- 
------------------------------------------------------------------------

*Shaun Stamper*
Graphics Programmer / Engine Team

	<http://www.bigant.com/>

_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com