3 ms·
At least we can agree that a driver is non-trivial. How about a program that calls a C library? The only project I know of that publishes in multiple languages
by eliasmacpherson 13y ago
At least we can agree that a driver is non-trivial.
How about a program that calls a C library?
The only project I know of that publishes in multiple languages, vtd-xml - the C++ library has 40k lines of code versus C which is 60k. I don't dispute that C can be more verbose - but it's not a stretch of the imagination to think there's a program somewhere out there that meets Stroustrup's requirements better in C than C++.
Not sure at what point we will have a certain agreement on what is trivial and what isn't. Here's an example of someone writing a lot of code to wrap a C library in to C++, and then doing a few calls to it.
http://www.codeproject.com/Articles/6343/CppSQLite-C-Wrapper-for-SQLite http://www.codeproject.com/Articles/6343/CppSQLite-C-Wrapper...