Crowding out OpenBSD
Posted Nov 14, 2012 15:41 UTC (Wed) by
cruff (subscriber, #7201)
In reply to:
Crowding out OpenBSD by vonbrand
Parent article:
Crowding out OpenBSD
Writing portable code is very hard. Keeping it portable is a lot of of extra work, requiring many able bodies.
I have to say that writing portable code is not really that hard, as long as you have a well defined common base, such as POSIX, to target. It just takes discipline and proper abstraction of the features you need that are not part of the base. I've written multithreaded C++ software for a variety of POSIX compliant OSes that only required some straight forward GNU make makefiles and a few OS dependent source files to fill in the missing or OS dependent parts. Didn't even need the mess of autoconf, etc.
Once you stray far from the common base chasing the neat new features, whether for the wow factor or because of need, then it can be hard, but need not be complex if structured correctly.
(
Log in to post comments)