Re: GlxGears

"Shawn P. Garbett" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
On Sunday 21 March 2004 6:31 am, Sven Panne wrote:
> I wrote:
> > [...] It runs with 7162 FPS now, which is only 0.03% slower than
> > the C version! :-)
>
> A small note: After a hint from SimonM, I've just made some minor
> performance tweaks to the OpenGL package (making some constructor
> fields strict and letting GHC unbox them automatically). The Haskell
> version is now *exactly* as fast as the C version.

I ran it on slow hardware, and got faster (just slightly) frame rates in 
Haskell than in C. All with the new version having 20% less code than 
C.

Shawn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.