• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Addition (3D Engine)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Auto-Completion
  • Next by Date: Re: Saving an image without save dialog
  • Previous by thread: Re: TextEdit sample app question
  • Next by thread: Coding conventions
  • Index(es):
    • Date
    • Thread