unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Squee!! guile-squee brings postgresql bindings for guile via the FFI
@ 2015-09-24 19:13 Christopher Allan Webber
  2015-09-24 20:36 ` Taylan Ulrich Bayırlı/Kammer
  2015-09-26 23:34 ` Greg Troxel
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Allan Webber @ 2015-09-24 19:13 UTC (permalink / raw)
  To: guile-user@gnu.org

Hello all!

I started a little experimental project recently called
guile-squee... it's presently verrrry simple:

  https://notabug.org/cwebber/guile-squee

It's postgres bindings via the FFI.  This was originally for my own
purposes because I need something to serialize json data in and out of
postgres for my "activitystuff" project, but a few other Guile hackers
have taken interest.  I just added David Pirotte and David Thompson as
collaborators.

Where will things go from here?  Time will tell!  But here's some things
we're interested in:

 - Right now all values to and from sql are represented as strings.
   Racket does a nice job of converting to and from proper scheme
   values, we should do something like that using the byte format
   and converting to and from proper scheme types via bytevectors.
 - Something like https://github.com/fukamachi/sxql like would be
   stellar
 - Something like http://eudoxia.me/crane/ sitting on top of the sxql
   layer would be nice too
 - ???
 - <<Late-90s-slashdot-esque "profit!!!" joke!>>

Anyway, if this piques your interest, maybe take a look!
 - cwebb



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Squee!! guile-squee brings postgresql bindings for guile via the FFI
  2015-09-24 19:13 Squee!! guile-squee brings postgresql bindings for guile via the FFI Christopher Allan Webber
@ 2015-09-24 20:36 ` Taylan Ulrich Bayırlı/Kammer
  2015-09-26 23:34 ` Greg Troxel
  1 sibling, 0 replies; 3+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2015-09-24 20:36 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guile-user@gnu.org

For what it's worth, there's an R7RS PostgreSQL library (yeah you heard
that right!) from Takashi Kato:

https://github.com/ktakashi/r7rs-postgresql

It uses SRFI-106 though, so it can't be used on Guile (even by replacing
the R7RS library boilerplate with Guile module boilerplate, which is
usually trivial).

Maybe comparing to it will stir some ideas or so, just wanted to point
out its existence for what it might be worth.

Taylan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Squee!! guile-squee brings postgresql bindings for guile via the FFI
  2015-09-24 19:13 Squee!! guile-squee brings postgresql bindings for guile via the FFI Christopher Allan Webber
  2015-09-24 20:36 ` Taylan Ulrich Bayırlı/Kammer
@ 2015-09-26 23:34 ` Greg Troxel
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Troxel @ 2015-09-26 23:34 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guile-user@gnu.org

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]


Christopher Allan Webber <cwebber@dustycloud.org> writes:

> I started a little experimental project recently called
> guile-squee... it's presently verrrry simple:
>
>   https://notabug.org/cwebber/guile-squee
>
> It's postgres bindings via the FFI.  This was originally for my own
> purposes because I need something to serialize json data in and out of
> postgres for my "activitystuff" project, but a few other Guile hackers
> have taken interest.  I just added David Pirotte and David Thompson as
> collaborators.

I am curious what you see as the advantages and disadvantages vs
guile-pg, which seems fairly mature.

[-- Attachment #2: Type: application/pgp-signature, Size: 180 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-26 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 19:13 Squee!! guile-squee brings postgresql bindings for guile via the FFI Christopher Allan Webber
2015-09-24 20:36 ` Taylan Ulrich Bayırlı/Kammer
2015-09-26 23:34 ` Greg Troxel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).