MySQL and c++

Hi,
What is the difference between the mysql++ port and the mysqlcppapi port? Apart from the fact mysql++ will NOT compile on AMD64. :(

Thanking you in advance,
Jonathan.
 
Hello Jonathan,

The mysqlcppapi package description on the FreeBSD Ports website says:

mysqlcppapi is a C++ wrapper for the MySQL C API library.

It is a branch of the MySql++ project, but it has diverged significantly for
the following reasons:

* MySQL++ is aggressively optimised for speed, but optimisation should happen
after the design is mature, and that optimisation should be targeted.
Premature optimisation obscures the design and prevents it from improving.
* MySQL++ provides too many ways to do things instead of deciding on an
interface. Again, this obscures the design.
* MySQL++ uses preprocessor macros to an extent that is unacceptable in a C++
library.

databases/mysqlcppapi

Hope that helps buddy :)

draco
 
Thanks Draco, and for some reason I did get mysql++ to compile on AMD 64. So it's all systems go!

Cheers,
Jonathan.
 
Back
Top