3 databases in 3 days hga@xxxxxx (30 Sep 2019 00:36 UTC)
Support for Scheme standards and implementations Lassi Kortela (30 Sep 2019 08:11 UTC)
Re: Support for Scheme standards and implementations hga@xxxxxx (30 Sep 2019 11:25 UTC)
Scheme implementations and portability Lassi Kortela (30 Sep 2019 13:14 UTC)
Re: Scheme implementations and portability John Cowan (30 Sep 2019 19:27 UTC)
Scheme implementations, portability, FFIs Lassi Kortela (30 Sep 2019 21:16 UTC)
Re: Scheme implementations, portability, FFIs John Cowan (30 Sep 2019 22:10 UTC)
JDBC Lassi Kortela (30 Sep 2019 13:15 UTC)
Re: JDBC hga@xxxxxx (30 Sep 2019 13:24 UTC)
Re: JDBC and subprocess protocol Lassi Kortela (30 Sep 2019 14:29 UTC)
Re: JDBC and subprocess protocol hga@xxxxxx (30 Sep 2019 15:16 UTC)
Re: JDBC and subprocess protocol Lassi Kortela (30 Sep 2019 15:47 UTC)
Re: JDBC and subprocess protocol Lassi Kortela (30 Sep 2019 15:55 UTC)
Re: JDBC John Cowan (30 Sep 2019 15:10 UTC)
Re: JDBC Lassi Kortela (30 Sep 2019 15:26 UTC)
Re: JDBC Lassi Kortela (30 Sep 2019 15:34 UTC)
sdbi design in detail and MariaDB CONNECT hga@xxxxxx (30 Sep 2019 16:14 UTC)
Re: sdbi design in detail and MariaDB CONNECT Lassi Kortela (30 Sep 2019 16:28 UTC)
Re: sdbi design in detail and MariaDB CONNECT John Cowan (30 Sep 2019 20:25 UTC)
Re: JDBC John Cowan (30 Sep 2019 16:44 UTC)
Re: JDBC Lassi Kortela (30 Sep 2019 20:52 UTC)
Re: JDBC Alaric Snell-Pym (01 Oct 2019 09:26 UTC)
Re: JDBC hga@xxxxxx (01 Oct 2019 09:55 UTC)
Re: JDBC Alaric Snell-Pym (01 Oct 2019 11:09 UTC)

Re: JDBC and subprocess protocol Lassi Kortela 30 Sep 2019 15:46 UTC

> Based on the change of the Subject: line, you want to do it through a
> subprocess connector?  Sounds good.

Yeah, I automatically assumed that was meant. Is there another approach
that makes sense?

For JVM Schemes like Kawa, it would make more sense to do a Scheme
wrapper that runs in the same JVM, but to use JDBC from other Schemes a
subprocess written in Java and using only standard JVM features is lightest.

> Can the binary format be implemented by generic R6RS/R7RS-small
> implementations?

Yes, it is already implemented in portable R6RS, R7RS, and Common Lisp
and Python :) Source files binary.sls, binary.scm, binary.lisp,
binary.py in <https://github.com/lispunion/database-subprocess>.

> Are the hazards of text so great they outweigh the
> presumed advantages for debugging, i.e. using a serialization library
> which allows transparent use of either?

Yes. Binary is a lot simpler and faster when shipping blobs and
weirdly-encoded text strings around (both of which we'll be sure to get
from queries). And simpler/faster/less error-prone in practically all
other ways too.

The debuggability point you make is valid. That's why we're planning
with John to make dual text and binary formats that can encode the same
set of data. Then you can read the binary data from the subprocess into
Scheme and convert it into text at will to inspect and edit it. And you
can easily turn S-expressions to binary data in Scheme code.

I've already done all of that in Scheme and Common Lisp and it's the
best of both worlds.
<https://github.com/lispunion/database-subprocess/blob/master/test-sqlite.sps>