On 15 Jan 2018, at 16:34, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
2018-01-15 12:25 GMT-03:00 Sven Van Caekenberghe <sven@stfx.eu>:
On 15 Jan 2018, at 10:55, Sven Van Caekenberghe <sven@stfx.eu> wrote:
To add to your list, I recently wrote a new PostgreSQL client, P3, that is using only TCP networking (no native library mess).
Another important advantage of a TCP/IP based database client is that outstanding/long-running calls do not block your image.
I think thas has more to do with the way FFI calls work in Pharo rather than TCP/IP. I.e. Dolphin Smalltalk had the option of non-blocking FFI, used extensively for DB access where there is more wait and transfer state, than execution.
Yes, of course, it is not impossible, just much harder to get right. With networking you get this basically for free.