[squeak-dev] SQLite in Squeak Smalltalk

Ben Coman btc at openinworld.com
Thu Feb 9 13:08:45 UTC 2017


On Thu, Feb 9, 2017 at 8:01 PM, Edwin Ancaer <eancaer at gmail.com> wrote:
> Hello,
>
> I would like to use SQLite in a Squeak project. I currently use Squeak 5.1
> on the raspberry Pi.
>
>  I found the 'List of SQLite / SQLite3 wrapper implementations' on the
> squeak wiki. The most recent wrapper is NBSQLite3 (2014), but that seems to
> be specific for Pharo.

Yes. That would be Pharo only.  The NB is NativeBoost which was a
Pharo 4 diversion for a high performance FFI, but was x86 only and
made it harder to collaborate on the VM with Squeak folks.  Pharo 5
FFI returned to the fold to use again the original-FFI & Alien, but
with (IIUC) a layer called Unified FFI so NB syntax translates to
original-FFI backend.
(http://forum.world.st/UFFI-on-Squeak-td4895679.html)

>  I installed the one before that, SQLite (2013),
> reported as 'might be outdated'.
>
> After installation,all tests failed. It must have something to do with the
> FFI settings, because when I add the location of the SQLite.so in the
> module: parameter  off the cdel's of the external functions, there are just
> 2 errors remaining.
>
> Before I start looking into this any further, I would like to ask if this
> SQLite wrapper is the correct one to use?

>From a distance, this one from 2016 has potential...
http://smalltalkhub.com/#!/~MilanVavra/SqueakSQLite3

cheers -ben


More information about the Squeak-dev mailing list