By Syd Logan
Cross-Platform improvement in C++ is the definitive consultant to constructing transportable C/C++ software code that might run natively on home windows, Macintosh, and Linux/Unix structures with no compromising performance, usability, or caliber.
Long-time Mozilla and Netscape developer Syd Logan systematically addresses all of the technical and administration demanding situations linked to software program portability from making plans and layout via coding, trying out, and deployment. Drawing on his huge adventure with cross-platform improvement, Logan completely covers matters starting from using local APIs to the most recent thoughts for transportable GUI improvement. alongside the way in which, he demonstrates tips to in attaining characteristic parity whereas fending off the issues inherent to conventional cross-platform improvement ways.
This booklet can be an vital source for each software program expert and technical supervisor who's construction new cross-platform software program, porting latest C/C++ software program, or making plans software program which can sometime require cross-platform support.
Build Cross-Platform purposes with no Compromise
Throughout the booklet, Logan illuminates his innovations with sensible situations and huge, downloadable code examples, together with an entire cross-platform GUI toolkit according to Mozilla’s XUL so that you can obtain, regulate, and research from. insurance includes
* regulations and techniques utilized by Netscape, permitting them to send net browsers to hundreds of thousands of clients on home windows, Mac OS, and Linux
* offering performance and interfaces which are constant on all systems
* knowing key similarities and alterations between prime platform-specific GUI APIs, together with Win32/.NET, Cocoa, and Gtk+
* picking while and while to not use local IDEs and the way to restrict their influence on portability
* Leveraging standards-based APIs, together with POSIX and STL
* keeping off hidden portability pitfalls linked to floating element, char forms, information serialization, and kinds in C++
* using platform abstraction libraries equivalent to the Netscape transportable Runtime (NSPR)
* setting up a good cross-platform malicious program reporting and monitoring system
* developing builds for a number of systems and detecting construct disasters throughout systems after they occur
* realizing the local runtime surroundings and its impression on installation
* using wxWidgets to create multi-platform GUI functions from a unmarried code base
* completely checking out software portability
* figuring out cross-platform GUI toolkit layout with Trixul