by Brian Hook
July 2005, 272 pp.
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.
Visit the Write Portable Code website for more information, downloads, and errata.
About the Author
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.
Table of Contents
Appendix A: POSH
Book description blurb
“People interested in portability issues will find this a great resource.”
"Even if you are not a C/C++ programmer, but portability interests you, this book is a good read... [Hook] really gets into the details."
"What makes this book worth owning is the breadth of its coverage, and the way the author ties various solutions together."
"The author's knowledge and experience shines through, as does his writing skill."
"Hook was clever enough and so well focused, that he wrote precisely the right amount to cover everything he needed to, without rambling."
“I like this book - it had all the ‘gotchas’ I knew about and added
Included in roundup of infosec and related books: "Buy a copy for any developers you know tasked with such projects. They will likely thank you!"
Included in New & Noteworthy section: "As a veteran of the platform-fragmented game and entertainment industries, Hook learned the art of designing up-front for portability. You can learn from his experience through both the text and the source of the libraries he provides."
Interview with author Brian Hook
Link to Slashdot review
"A very well written and very readable book. There are many aspects to portability and Hook addresses more of them than many of us had previously suspected existed and addresses them with firm authority."
Selected as one of Jerry Pournelle’s "Computer Books of the Month": "Experienced C users advise me that I will not go wrong by recommending this book."
"An interesting read that can help any developer think outside the box and consider the time and architectural investment needed to write code beyond the bounds of a single OS."
"Highly practical and very useful... A big plus for the book is the sample application, SAL (Simple Audio Library), which puts into practice the principles that are discussed throughout the book."
5/5 stars: "Are you into mining for programming gold? Take a look here to see if you can think about more than one platform at a time from a non-Java approach."
"Write Portable Code is packed with specifics which lend to both an overall understanding of concepts and the ability to troubleshoot common problems."
Book info posted
“This sample chapter examines the issues you'll run into when moving code between processor architectures.”
“A really good investment in your survival...”
“Within the first few chapters, I’ve already learned about a new tool.”