A Guide to Developing Software for Multiple Platforms
By Brian Hook
Publisher: No Starch Press
Final Release Date: July 2005
Portable software development is writing software that runs on a broad range of computer systems instead of just one (e.g., Windows). Programmers often pick up the idioms, tricks and methodologies for developing cross-platform software through sheer trial and error, as they encounter the same mistakes and patterns of code over time. If you're an intermediate-to advanced-level programmer who'd rather cut to the chase, Write Portable Code contains the lessons, patterns and knowledge you'll need for developing cross-platform software.
Write Portable Code explains how to:
avoid common portability mistakes when starting out a new project, thereby saving time when a port must occur
re-factor existing, non-portable code so that it can be easily transplanted to new platforms
find bugs masked by platform specific behaviors
Programmers who avoid becoming married to a specific development environment or target platform greatly expand the target market for their software products. Whether you design cross-platform software from the ground up or have to move large amounts of code from one platform to another, the information contained in Write Portable Code will help you achieve your goals and grow as a programmer.
TOC Preface IntroductionChapter 1: Preparing for PortabilityChapter 2: ANSI C/C++Chapter 3: Techniques for PortabilityChapter 4: Editing and Source ControlChapter 5: Processor DifferencesChapter 6: Floating PointChapter 7: PreprocessorChapter 8: Compiler QuirksChapter 9: User InteractionChapter 10: NetworkingChapter 11: Operating SystemsChapter 12: Dynamic LibrariesChapter 13: Security and PermissionsChapter 14: File SystemsChapter 15: Scalability and PortabilityChapter 16: Portability and DataChapter 17: Internationalization and LocalizationChapter 18: Scripting LanguagesChapter 19: Cross-platform Libraries and Toolkits Appendix A: POSHAppendix B: The Simple Audio LibraryAppendix C: The Rules for PortabilityReferences