3 ms·
Portability libraries like glib are better at hiding the differences, at least for simpler C/C++ programs. Also (sorry BSDs), there is kind of only one "Unix",
by rwmj 5y ago
Portability libraries like glib are better at hiding the differences, at least for simpler C/C++ programs. Also (sorry BSDs), there is kind of only one "Unix", which is Linux. Even if you consider Linux + BSDs + macOS, that's a lot fewer combinations than in the good old days when you might have considered a port to Solaris, HP-UX, SCO, AIX, OSF/1, ... all of which were very different.
Porting programs to Windows still remains a challenge.
- tyingq 5y ago>Solaris, HP-UX, SCO, AIX, OSF/1 Just to make the problem more clear, add: Irix, Ultrix, SunOS, DG/UX, Pyramid OSX, NCR Unix, Xenix, A/UX, Bull DPX, EP/IX, ISC, MachTen, NeXT, Dynix, UnixWare, ConvexOS, Coherent, DomainOS and more... See the supported platforms for something like Kermit or Pine to see this isn't just piling on. Some real and popular software had to support huge lists like this. Perl's CPANTS testing network was neat for stuff like this, you could write a module (including C code), and watch all the various ways your code would bomb on other platforms without having direct access to them. http://www.columbia.edu/kermit/unix.html http://www.columbia.edu/kermit/unix.html http://www.mit.edu/afs.new/athena/astaff/source/src-9.0/third/pine/doc/pine-ports http://www.mit.edu/afs.new/athena/astaff/source/src-9.0/thir...