• 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: AltiVec optimization in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AltiVec optimization in Cocoa?


  • Subject: Re: AltiVec optimization in Cocoa?
  • From: Mamdouh <email@hidden>
  • Date: Sun, 19 May 2002 21:21:13 +0200

Hi....

Ok i read the documents and what you are saying is makes pretty much sence! Answer: It is possible to optimize your own functions for AltiVec by using the C based AltiVec interface from within your Objective-C class!

Apple says: "You can program in C++ and Objective C using the AltiVec C programming interface, in the same way that you can use ordinary C functions and data types in C++ and Objective C."

And they posted a couple of examples on how to do so, but it looks like a hell of a lot of work! Try looking at the Hello World AltiVec example... See how different it is from the normal way to make a Hello world! And then try looking at the other examples, looks very wired! So as long as my app runs great and some of the optimization is allready done for me, and my app doesnt need to process 200MB chunks of EPS files, i am sticking to regular Cocoa! But maybe just maybe i could optimze a very small part of my apps that requires a lot of processer power!

Mamdouh
Student/Programmer
Denmark

I guess Cocoa routines are (at least partly) optimized for Altivec. But to
optimize your own computations, I think there's no other way than explicit
use of Altivec functions.

To get started with Altivec, you may take a look at this article on O'Reilly
network : <http://www.macdevcenter.com/pub/a/mac/2002/04/05/altivec.html>

(and then, of course, you should visit Apple's Altivec home page :
<http://developer.apple.com/hardware/ve/>)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AltiVec optimization in Cocoa?
      • From: Brendan Younger <email@hidden>
    • Re: AltiVec optimization in Cocoa?
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: AltiVec optimization in Cocoa?
  • Next by Date: Re: Utility window architecture question
  • Previous by thread: Re: AltiVec optimization in Cocoa?
  • Next by thread: Re: AltiVec optimization in Cocoa?
  • Index(es):
    • Date
    • Thread