3 ms·
I've written a PostgreSQL protocol client in Limbo [1] that uses CSP / Channels ... long long ago in the time before Go-lang ... I can say that libpq is not th
by SixSigma 12y ago
I've written a PostgreSQL protocol client in Limbo [1] that uses CSP / Channels ... long long ago in the time before Go-lang ...
I can say that libpq is not the best example of how to write a client. It uses all text, it doesn't use the asynchronicity very well.
I think there is some room in libpq for improvement, if only someone would take it on :)
[1] http://plan9.bell-labs.com/sources/contrib/maht/limbo/pg/ http://plan9.bell-labs.com/sources/contrib/maht/limbo/pg/