3 thoughts on “Which library makes C programming most pleasant?”
The STL (STLPort), Boost, and PACE. That assumes you can use C++. Do you have a good reason to avoid C++? (g++ is a formidable compiler)
If in C, APR is probably my first choice, then GLib. The NSPR is a real mess in spots, and does not seem to port as well to obscure platforms (HPuX, Alpha, Palm). GLib has been ported to Palm (but not WinCE to my knowledge), and APR runs on pretty much every Unix I know of (and Win32 of course).
I’m with Bruce, my favourite “easier to program in C” library is libstdc++. 😉
That’s right, I keep on forgetting that libstdc++ is now a great STL (a few versions back it was not completely standard, even if it had some cool add-ons).
The STL (STLPort), Boost, and PACE. That assumes you can use C++. Do you have a good reason to avoid C++? (g++ is a formidable compiler)
If in C, APR is probably my first choice, then GLib. The NSPR is a real mess in spots, and does not seem to port as well to obscure platforms (HPuX, Alpha, Palm). GLib has been ported to Palm (but not WinCE to my knowledge), and APR runs on pretty much every Unix I know of (and Win32 of course).
I’m with Bruce, my favourite “easier to program in C” library is libstdc++. 😉
That’s right, I keep on forgetting that libstdc++ is now a great STL (a few versions back it was not completely standard, even if it had some cool add-ons).