Email list hosting service & mailing list manager

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:55 UTC

>> 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?

Sorry, I missed the "transparent use of either" part.

I would write any subprocesses to use a binary format only. Any
binary-speaking process can be easily turned into a text-speaking
process by adding a binary<->text filter to the front. For example as a
Unix process:

     binary-to-text-filter process-that-speaks-binary args...

binary-to-text-filter launches process-that-speaks-binary with pipes on
stdin/stdout such that any text the user writes to the filter's stdin
goes as binary to the subprocess's stdin, and any binary data coming
from the subprocess's stdout is written as text to the filter's stdout.

In Scheme it's even easier since we have portable libraries to read and
write the binary format so we can just read it into Scheme objects and
write Scheme objects (this is what I'm already doing :)

My overarching design goal would be to make each subprocess as simple as
possible, so text traffic is one complex thing that is simple to
eliminate by relying on consumers of the subprocesses to have richer
tooling.