Re: Migrating from UFFI to CFFI
Russ Tyndall <[email protected]> Tue, 08 Oct 2013 16:21:08 -0400
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Victor, Actually the work is done and CLSQL supports running over UFFI or CFFI. We also ran into some cases where UFFI was not as performant or had errors and have been running under CFFI in production sites for quite some time. The solution outlined below requires the CFFI-UFFI-COMPAT library (quicklisp). To enable CFFI you must require :clsql-cffi before any of the specific backends. Once that is done, you may require :clsql-odbc etc. Oddly, I notice that we are not depending on CFFI-UFFI-COMPAT (which is probably a bug), so you may have to depend on that separately. Something like `:depend-on '(:cffi-uffi-compat :clsql-cffi :clsql-odbc)` in your asd should get you going using CFFI. Please do report any bugs or troubles you experience. Cheers and hope this helps, Russ Tyndall Acceleration.net On 10/8/2013 10:00 AM, Victor wrote: > Hi all, > > CLSQL currently relies on the UFFI for the native interface. I > understand that both CLSQL and UFFI were developed by Kevin. But > apparently CFFI is considered to be better maintained due to larger > user base. And I am afraid that I've stuck into some issues caused by > UFFI. > > Are there any plans or ongoing projects to migrate CLSQL from UFFI to > CFFI? > > Thanks, > Victor > _______________________________________________ > CLSQL mailing list > [email protected] > http://lists.b9.com/cgi-bin/mailman/listinfo/clsql