realbasic-games
[Top] [All Lists]

Re: fast, smooth updates

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: fast, smooth updates
From: Frank C <pox at planetquake dot com>
Date: Wed, 23 Jul 2003 01:25:42 -0400
On Tuesday, July 22, 2003, at 11:03 PM, nickdabner at optusnet dot com dot au wrote:

Would there be any merit in benchmarking against the same implementation running in C/Obj-C using Quesa? There are always people saying they can get x many fps in C, but couldn't in RB. It may also assist to understand the areas for
improvement in RB and Quesa respectively.

I haven't done a controlled comparison, but a tight loop in RB is just about as fast as a tight loop in C (using immediate mode OpenGL at least). Where things start to go off is when you introduce an event loop - in C you have total control, so you can pick and chose what to deal with and what to ignore, and how often to yield to background tasks. In RB, you're a slave to the runtime.

Frank.


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>