1994 Special 1996

Powerpc programming 1995

text on archive.org (DVD)

(couverture_manquante.jpg)

Editorial

[author : Michael Floyd] #Edito

TABLE OF CONTENTS

FEATURES

Porting to the PowerMac

[author : 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

[author : 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

[author : 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

[author : 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

[author : 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

[author : 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

[author : 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

[author : 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

[author : 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.