• 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: ObjC 3D Engine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC 3D Engine


  • Subject: Re: ObjC 3D Engine
  • From: Jonathan deWerd <email@hidden>
  • Date: Mon, 25 Jun 2007 17:06:12 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(@everyone) Thanks for your feedback! I am planning to put it on sourceforge within the next few days, and you will be able to see what I have (which isn't a 3D view that you can drop in your nibs *yet*, and I plan on making some sweeping changes to some parts of the structure to get mesh rendering working as seamlessly as possible). I will also make a big post describing what I have done, the general structure, current conventions, todo list, etc. In the meantime I may or may not be actively participating in the discussion here.

As for the speed question, I have a few things to say:
1) Bottlenecks can be optimized. I have done tests and made a design pattern that delivers near C speed on calls (basically like CF but without a full C interface).
2) When cached, an ObjC dispatch takes about 2.5x what a non- dynamically-loaded C call does (try it if you don't believe me), and sometimes even less because the ObjC call hits the cache for you on the first part of your object.
3) C++ and C should be about the same as far as speed goes. C wins the simplicity award by a mile though.
4) There may or may not be features in ObjC 2.0 that may or may not help iteration performance. I am looking at you, publicly known foreach.
5) If not, core foundation or C++ to the rescue!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)


iD8DBQFGgEqALa+2/Iu5GqERAsLOAKCvehYtikNBIQMRzlEXIAwQgfgwZgCfQ++F
UEYZnJBa5aHVcpWPw0KuKTU=
=AeMi
-----END PGP SIGNATURE-----
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: AppleScript not sending my Cocoa app proper floats on Intel
  • Next by Date: Re: ObjC 3D engine
  • Previous by thread: Re: ObjC 3D engine
  • Next by thread: Re: ObjC 3D Engine
  • Index(es):
    • Date
    • Thread