Writing Portable Applications

What is the most efficient way of writing portable applications (eg. apps that runs on Windows, Linux and MacOS)?

The general techniques are

But,

There are costs associated with portability. Take these into account when deciding what level of portability you really need:


When I want my apps to be small, fast and portable I write them in CeePlusPlus using the WxWidgets framework. Portability is just a recompile.


And for the most part portability is completely pointless. Vast swathes of the application arena simply don't need it at all. Portability should always be subject to the YouArentGonnaNeedIt maxim. -- NeilWilson

See also CrossPlatformLightweightComponents


EditText of this page (last edited July 5, 2005) or FindPage with title or text search