Portable 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.
Preface
Introduction
Chapter 1: Preparing for Portability
Chapter 2: ANSI C/C++
Chapter 3: Techniques for Portability
Chapter 4: Editing and Source Control
Chapter 5: Processor Differences
Chapter 6: Floating Point
Chapter 7: Preprocessor
Chapter 8: Compiler Quirks
Chapter 9: User Interaction
Chapter 10: Networking
Chapter 11: Operating Systems
Chapter 12: Dynamic Libraries
Chapter 13: Security and Permissions
Chapter 14: File Systems
Chapter 15: Scalability and Portability
Chapter 16: Portability and Data
Chapter 17: Internationalization and Localization
Chapter 18: Scripting Languages
Chapter 19: Cross-platform Libraries and Toolkits
Appendix A: POSH
Appendix B: The Simple Audio Library
Appendix C: The Rules for Portability
References
View a sample chapter, Chapter 5: Processor Differences
Download the Poshlib code
Download the Sal code
Visit the Write Portable Code website for more information, downloads, and errata.
Editado: Julio 2005
272 páginas
ISBN-10: 1-593270-56-9
ISBN-13: 978-1-59327-056-8
Brian Hook is a professional software developer and author who has worked primarily in the gaming and entertainment industries. His experience developing cross-platform software at companies such as id software, 3Dfx Interactive, and Pyrogon gives him a unique view into the process of cross-platform software development.