New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Programming Advice For Mac or Intel?

Post Reply New Thread Subscribe

Thread Tools
Posts: n/a

Hello all

Ive been developing applications for the Microsoft Windows platform for over 5 years. I bought a new Apple PowerMac G5 Quad machine and Apple iBook G4 for my music and video hobby. But im considering to write applications for the Mac platform, but there is a problem.

I believe in the near future Apple will be using Intel CPU's and in order to write for Intel CPU's i would need to write software in Xcode 2.2

So, do i start to write applications using the Universal Binarys (in which i believe UB's dont support for specific instruction set) or is there any point writing applications that are for the IBM CPU's, technologies such as, Carbon?

I dont want to waste my time writing software that may become useless if there is no more support for the product example, ive got a encryption software that require's certain CPU instructions, now if i wrote that application today i would use the IBM CPU instruction set, once the application is finished, it can be used on any Apple Mac that has the G5 or IBM CPU but not on a Intel CPU (x86 architecture)

But if Apple are going to introduce the Intel CPU, my application wont be able to work because its CPU specific.

I may get a response from you saying "Buy the Apple Intel Transistion Kit" my answer would be simple, "give me the money and i would be happy to buy it", but i can't because its too expensive.

Or shall i consider not bother writing applications at all for the Mac until they get this Intel CPU business in there products and in the shops.

Any advice from you espesically the programmers, would be helpful.

p.s, sorry for my bad spelling and grammer, im not feeling well at all
QUOTE Thanks

Member Since: Sep 30, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
If you program in Xcode 2, then you shouldn't have any problems going to the Intel platform.
QUOTE Thanks

xstep's Avatar
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
You might be better off asking this kind of question in the Development forum or join the Apple developer mailing lists. You can create a free Apple developer username and get connected taht way, as I recall.

Universal binaries are exactly that. When using the latest XCode, you set a flag that compiles your code for each processor. So, each binary does support for specific instruction set of the target processor. Next Computer (the company OS X is really derived from) had the ability to compile for at least four processors.

If your code is written in assembly, then yea, you have an issue.

If your writing this code is C then Xcode should be able to handle it for both Intel and PPC processors. There maybe the byte order issue to be concerned about and I believe Apple has libraries to make that easy to handle.

If your using the SSE3 or Altivec, then Apples latest recommendation is to use a framework or library they have that will allow you to code once, and compile for both processors. You'll have to dig through their latest developer articles on that. Maybe start here;

I can't be much more help than that because I don't actually develop on the Mac. I try to keep some cursory awareness though.
QUOTE Thanks
Posts: n/a

After watching Steve Jobs WWDC presentation, my prayers have been answered and yes your were right xstep, Universal Binarys.

I guess i will have to "relax" on Assembly code and stick to Cocoa development.

Thanks for your reply, is has really helped me.

Thanks again my Mac/Windows friends. Looking forward to the Intel platform.
QUOTE Thanks

Post Reply New Thread Subscribe

« My older iMac has Front Row and Photo Booth!!! | Making a webpage on a mac »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Speed of Apple Intel dev systems impress developers jram Apple Rumors and Reports 15 01-12-2006 10:50 PM
Need advice on programming. HareshKainth OS X - Development and Darwin 3 10-09-2005 02:33 PM
News: Next chip from Intel for laptops kori42 Apple Rumors and Reports 5 09-02-2005 11:05 AM
Interesting read - Intel rman Apple Rumors and Reports 9 08-24-2005 01:57 PM
Dvorak: Apple to go Intel within 18 Months schweb Apple Rumors and Reports 48 04-03-2005 06:04 PM

All times are GMT -4. The time now is 09:45 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?