David Vallner
8/28/2006 2:51:00 PM
Mer Gilmartin wrote:
> Ok I thought for a bit I might need both modules, but I
> think now I only need one.
You only need one.
> Which is better? Or which should you use for what?
Use the C binding I'd say. It'll be both faster, and the logic is
performed by the "original" MySQL interface library, and because of that
will probably be both more stable and complete.
Use the pure Ruby binding if you have to deploy on a platform where you
can't compile the extension, or where a binary gem isn't available.
(Which leaves only rare edge cases - shell accounts on shared *nix boxes
without GCC, or 64-bit Windowsen.)
David Vallner