Re: Databases for Pharo that do not use FFI
Posted by
Dale Henrichs-3 on
Aug 10, 2013; 5:13pm
URL: https://forum.world.st/Databases-for-Pharo-that-do-not-use-FFI-tp4703117p4703131.html
GemStone's GCI library uses FFI, but the GCI layer has an option to make non-blocking FFI calls (you end up polling for response) so the vm is free to spin away while polling ... unfortunately, the current GCI API is also single threaded (we're planning to change this in an upcoming release) so you can make only one concurrent non-blocking call.
Dale
----- Original Message -----
| From:
[hidden email]
| To:
[hidden email]
| Sent: Saturday, August 10, 2013 6:44:06 AM
| Subject: [Pharo-users] Databases for Pharo that do not use FFI
|
| Hello
|
| I have been tinkering with Pharo long enough now to contemplate
| writing a "serious" applications with it. An important consideration
| is databases. I have been looking at SQLite but realise since it
| works through FFI it probably blocks the VM whilst processing a
| query. Is this correct?
|
| VoyageMongo looks interesting. PostgreSQL is supported too. Do either
| of
| these work through FFI?
|
| Many thanks in advance.
|
|