logoalt Hacker News

frumplestlatz • yesterday at 6:26 PM • 1 reply • view on HN

If you stick to POSIX, things generally work everywhere. It's not really a question of what is better, just what is portable.


Replies

mahboi • yesterday at 7:27 PM

I don't know how compatible my Mac will really be with a Free/OpenBSD machine. Last time I tested this theory, some C code I was building on Mac clang didn't build on FreeBSD clang cause I was unknowingly using some extension enabled by default. But that was about 12 years ago.