1992 18.01 1994

Vol.18 n°1 (#196) january 1993

(ddj_1993_01.jpg)

p.8 EDITORIAL

[author : Jonathan Erickson] #Edito

TABLE OF CONTENTS

FEATURES

p.18 EXTENDING WINDOWS TO 32 BITS

[author : Steven Baker]

Steven discusses the ins and outs of 32-bit Windows development, focusing on 32-bit C compilers and Windows extenders. But he points out that for some applications, moving to 32-bit Windows makes sense only if the potential of 32-bit CPUs can be exploited.

p.28 PORTING FROM 16-BIT TO 32-BIT EXTENDED DOS

[author : Joe Huffman]

Among the more subtle pitfalls of converting 16-bit applications to 32-bit are those involving memory protection, integer size, and structure size and padding. Joe shows you how to avoid these problems - and what to do when you can't.

p.34 64-BIT PROGRAMMING IN A 32-BIT WORLD

[author : Andy Nicholson]

Andy presents proven guidelines for writing C code that's portable across 16-, 32-, or 64-bit processors. The rules include handling high-level and low-level structures, structure packing and word alignment, and machine addressing characteristics.

p.44 LUC PUBLIC-KEY ENCRYPTION

[author : Peter Smith]

LUC public-key encryption may be the first cryptographic scheme to seriously challenge RSA's 15 years of dominance. Unlike RSA, LUC uses calculation of Lucas functions instead of exponentiation for encoding and decoding.

p.52 DDJ HANDPRINTING RECOGNITION CONTEST WRAP-UP

[author : Ray Valdes]

Who's the fastest? How about the most accurate? And how did they do it? Ray presents the results of the first-ever handprinting-recognition contest.

EMBEDDED SYSTEMS

p.58 WINDOWS DDE FOR REAL-TIME APPLICATIONS

[author : Kamal Shah]

Window's dynamic data exchange provides a powerful mechanism for communication among applications. Kamal examines how real-time DDE-aware applications can communicate with Windows applications using iRMX for Windows DDE extensions.

NETWORKED SYSTEMS

p.66 SIMULATING HYPERCUBES IN UNIX, PART II

[author : Jeffery W. Hamilton and Eileen M. Ormsby]

In the second installment of this two-part article, our authors present the source code for a simulated hypercube system that runs under standard UNIX and describe how you can use the system.

EXAMINING ROOM

p.74 PORTING TO THE WIN32 API

[author : Peter Handsman]

Peter discusses his experiences in porting nearly 35,000 lines of C++ code from the Windows NT 32-bit API.

PROGRAMMER'S WORKBENCH

p.80 PROFILING FOR PERFORMANCE

[author : Joseph M. Newcomer]

Profiling tools were developed to help identify those parts of a program which are consuming significant computing resources so that you can optimize program performance. Still, its necessary to understand what's being measured, how accurately it's being measured, and the reliability of the resulting numbers.

COLUMNS

p.109 PROGRAMMING PARADIGMS

[author : Michael Swaine]

Mathematician Steven Wolfram, developer of Mathematica, takes time out to talk with Michael in this two-part column. This month they discuss the nature of programming languages and why they're so slow to change.

p.115 C PROGRAMMING

[author : Al Stevens]

D-Flat++ development continues, as Al takes a look at the DF++ portability layer that normalizes the code for different compilers and the definition of the base DFWindow class.

p.121 STRUCTURED PROGRAMMING

[author : Jeff Duntemann]

Jeff dives into the recently released Borland Pascal with Object 7.0, the latest incarnation of the venerable Turbo Pascal. This new version can be Windows or DOS hosted and targeted, and includes a royalty-free DOS extender.

p.127 GRAPHICS PROGRAMMING

[author : Michael Abrash]

Dirty rectangles can help you clean up the visual quality of graphics animation. With this technique, a copy of display memory is kept in offscreen memory where drawing takes place. Drawings are then copied to the screen in a burst.

p.133 PROGRAMMER'S BOOKSHELF

[author : Al Stevens]

Pamela McCorduck's Aaron's Code tells the story of Harold Cohen, his Aaron software, and the quest for realistic computer-generated art.

FORUM

p.10 LETTERS

[author : you]

p.152 SWAINE'S FLAMES

[author : Michael Swaine]

PROGRAMMER'S SERVICES

p.146 OF INTEREST

[author : Tami Zemel]