Write Portable Code: An Introduction to Developing Software for Multiple PlatformsPortable software development is the task of writing software for not just one computer system (e.g. Windows), but for a broad range of computer systems. Write Portable Code contains the lessons, patterns, and knowledge for developing cross-platform software that programmers usually must acquire through sheer trial and error. This book is targeted at intermediate- to advanced-level programmers and will be a valuable resource for designers of cross-platform software, programmers looking to extend their skills to additional platforms, and programmers faced with the tricky task of moving code from one platform to another. Visit the Write Portable Code website for more information, downloads, and errata. |
Contents
THE ART OF PORTABLE DEVELOPMENT | 1 |
CHAPTER 1 PORTABILITY CONCEPTS | 7 |
CHAPTER 2 ANSI C AND C++ | 19 |
CHAPTER 3 TECHNIQUES FOR PORTABILITY | 25 |
CHAPTER 4 EDITING AND SOURCE CONTROL | 63 |
CHAPTER 5 PROCESSOR DIFFERENCES | 77 |
CHAPTER 6 FLOATING POINT | 91 |
CHAPTER 7 PREPROCESSOR | 109 |
CHAPTER 12 DYNAMIC LIBRARIES | 175 |
CHAPTER 13 FILESYSTEMS | 187 |
CHAPTER 14 SCALABILITY | 197 |
CHAPTER 15 PORTABILITY AND DATA | 201 |
CHAPTER 16 INTERNATIONALIZATION AND LOCALIZATION | 207 |
CHAPTER 17 SCRIPTING LANGUAGES | 213 |
CHAPTER 18 CROSSPLATFORM LIBRARIES AND TOOLKITS | 219 |
APPENDIX A POSH | 223 |
Other editions - View all
Common terms and phrases
abstraction alignment allow ANSI application appropriate architecture assume assumptions avoid bits buffer build byte calling chapter char characters common compiler complex const constant conventions create cross-platform define depending device dynamically early environment error example exceptions executable expect files filesystems float floating-point format function graphics handle implementation important integer interface issues language limited Linux load machine means memory Microsoft move multiple object operating system ordering particular performance platform pointer port portable portable software POSH possible prefer problems reason require result shared signed simple single sometimes specific stack standard static structure Table things thread typedef unsigned variable void Windows writing