Special Issue 1995 - POWERPC PROGRAMMING


FEATURES

Porting to the PowerMac

by Paul Kaplan

Apple's PowerMac supports 68K applications by emulating both the 68K instruction set and the run-time model supported by the Macintosh operating system. Paul presents an application that demonstrates how you can mix code within an application using code resources.

Optimizing for the PowerPC

by Michael Ross

Michael looks at some of the differences between the PowerPC and Pentium architectures and shares his techniques to optimize code for the PowerPC.

Comparing PowerPC to DEC Alpha

by Shlomo Weiss and James E. Smith

The PowerPC processor includes a powerful instruction set coupled with flexible instruction ordering; DEC Alpha's more rigid structure relies on simple instructions and a faster clock.

High-Performance Programming for the PowerPC

by Kip McClanahan, Mike Phillip, and Mark VandenBrink

While moving Windows NT applications from an 80x86- to a PowerPC-based platform is straightforward, performance may be sluggish after the port. Our authors examine how byte alignment, inlining, and exception handling affect performance, then show you how to avoid the pitfalls.

Bit Operations with C Macros

by John Rogers

John lays the foundation for an "endian engine" that handles a variety of byte orders--from the 68K Big-endian and Intel Little-endian, to the PowerPC's Bi-endian format.

COLUMNS

Ramblings in Real-Time

by Michael Abrash

3-D transforms let you convert coordinates from one coordinate space to another. But, as Michael has discovered, your approach to 3-D transform problems depends largely on your frame of reference.

DTACK Revisited

by Hal W. Hardenbergh

From Hal's point of view, nothing much has happened in desktop-computing architectures since 1982. With that in mind, Hal compares the PowerPC 601 to Intel's upcoming P6.

Software and the Law

by Marc E. Brown

Marc discusses when software can be patented, how to patent it, and how you can deal with patent-infringement allegations.

Patterns and Software Design

by Erich Gamma and Richard Helm

While Observer patterns are commonly used to decouple data from a user interface, they can also help define and manage dependencies between objects.

Editorial

by Michael Floyd


Copyright © 1995, Dr. Dobb's Journal