Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesBuild Power Macintosh Applications


October 1994 / Book and CD-ROM Reviews / Build Power Macintosh Applications
Raymond Ga Cote

POWER MACINTOSH PROGRAMMING STARTER KIT, Tom Thompson, Hayden Books, ISBN 1-56830-091-3, $39.95

With the introduction of Macs based on the PowerPC processor, Apple has raised the bar in terms of what the industry thinks is fast and powerful. In addition, the latest version of System 7 for the PowerPC has some unique (and confusing) system extensions that take advantage of this new processor. Along with the new computer systems come new development environments, in particular, Metrowerks CodeWarrior.

In the midst of this ever-increasing complexity, Tom Thompson, a BYTE senior technical editor and an Associate Apple Developer, has written a simple and wonderful book, Power Macintosh Programming Starter Kit. ``Simple'' describes its clea r and concise coverage of program development for the PowerPC. ``Wonderful'' characterizes Thompson's ability to explain the sometimes subtle distinctions between developing for a 680x0 Mac and the new Power Mac.

Power Macintosh Programming Starter Kit lets you immediately start producing your first Power Mac applications. It includes a CD-ROM that contains a limited version of the Metrowerks CodeWarrior C compiler and debugger that runs on both 680x0 and Power Macs. With it, you can build and test all the sample programs in the book.

At first glance, this book may seem a little too basic. It starts by providing a brief history of the Mac and sets the stage for where the PowerPC fits into the environment. Next, several chapters walk you through Metrowerks CodeWarrior and help you build your first application in that environment. Don't, however, be deceived. It is rare to find a programming book that uses Process Manager calls as a beginning example. Even the second example, a simple text-munging application, manages to stay interesting by introducing the Core Apple Events set and implementing a drag-and-drop interface. In short, these may be toy demonstration programs, but Thompson has made the effort to ensure they fully comply with Apple development and user-interface guidelines.

This attention to detail can be found throughout the book. Through simple examples, you'll work through the Code Fragment manager, build fat binaries (i.e., programs that can run in native mode on both 680x0 and Power Macs), and patch system-level traps. At no point during the process will you feel lost or out of your depth. The book eases you into deeper waters, where you suddenly discover to your delight that you know how to swim. Closing chapters include high- and low-level debugging techniques, porting considerations, and listings of all the sample programs (also included on the CD-ROM).

If you are new to programming and you have just purchased a Power Mac, Power Macintosh Programming Starter Kit will he lp you through your first applications. It will also guide you deeper into the Mac Toolbox than most ``getting started'' programming books. If you're a seasoned Mac developer, pick up a copy, too. The chapters on building fat binaries and patching PowerPC Toolbox calls alone are worth the price.


Raymond GA Cote is a BYTE consulting editor and vice president of product development at Appropriate Solutions (Peterborough, NH).

Up to the Book and CD-ROM Reviews section contentsGo to next article: Science At Your FingertipsSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network