<i>Can I use libzdb in my iOS or Mac OS X app?</i><p><i>Yes[...]</i><p>Except it's GPLed, so it can't be used in any closed-source apps, or any apps that you want to distribute on the App Store, without an explicit exception.<p>If you're not married to the license for philosophical reasons (which I would respect, it's your right), I'd suggest a change to something simple like BSD.<p>This would, of course, allow someone to take your code, change it, and not release their changes, but it would also make it usable to the majority of programmers.
FWIW, I went to the website, clicked Documentation, and when nothing changed on the site except the button I started to wonder if the site was offline or my web browser had locked up. Then I clicked another link, noticed my scrollbar changed size, and realized you were updating content below the bottom of my screen due to the unusually enormous header.
Showing example code on the home page is a great idea, having the small thumbnail with the expand icon made it easy to jump in and see what their API looks like. Going to give this library a try soon :)
have you considered a varargs call for setting parameters with type codes? so something like<p><pre><code> PreparedStatement_setArgs(p, 's', "a string", 'i', 42, 'f', 3.1415926);
</code></pre>
would set arguments 1-3. i know it's not "OO", but i have done something similar in an internal lib for work and it's very useful and easy to use.<p>[edit] the number of parameters is assumed equal to the number of '?' in the query. i also have something similar for reading results from the ResultSet, but that required pointers and a count, and was much more likely to lead to errors.
Look good, but does it work on Windows? It's not on the operating system list.<p>If it does, I might very well use this in the future.<p>Edit: Saw it was GPL. Well it looks good at least.
i have a <i>fundamental</i> question regarding this: instead of a pool of connections, is it possible to have an event-loop based aysnc-io in place ? this is with little experience with db's...