Re: Cocoa Addition (3D Engine)
Re: Cocoa Addition (3D Engine)
- Subject: Re: Cocoa Addition (3D Engine)
- From: Drew McCormack <email@hidden>
- Date: Mon, 29 Oct 2001 08:56:48 +0100
Uhh, be careful there. If you want real fast vector/matrix operations,
either go for straight C, or use a really optimized C++ lib for that
(like Blitz++). The "simple" vector/matrix implementation in C++ tend
to be quite slow, because people overlook many of the bottlenecks
introduced by the "hidden" C++ "features", like automatic type
conversions etc.
Should've mentioned the URL: http://www.oonumerics.org/blitz
Max
A word of warning about Blitz, and other similar libraries (eg Pooma).
They are fast, no question, but they do require a compiler that
implements nearly all of the C++ standard in order to compile. I don't
think gcc 2.7 is up to it. gcc 2.95 and later are. MS compilers
certainly aren't.
I just checked, and it seems that the latest OS X cc compiler is based
on version 2.95, so it should be capable of compiling Blitz.
Just something to keep in mind.
Drew