Hacker News new | ask | show | jobs
by david2ndaccount 172 days ago
If you want to remain portable, write your code in the intersection of the big 3 - GCC, Clang and MSVC - and you’ll be good enough. Other implementations will either be weird enough that many things you’d expect to work won’t or are forced to copy what those 3 do anyway.
1 comments

This is what I have been doing for years. Works well for me.

Sometimes it is annoying but realistically it is a good strategy.