Sujet : Re: ANNOUNCE: valkey-tcl 1.0.0
De : user7 (at) *nospam* cmacleod.me.uk.invalid (Colin Macleod)
Groupes : comp.lang.tclDate : 26. Aug 2024, 08:48:34
Autres entêtes
Message-ID : <1724658514-7@cmacleod.me.uk>
References : 1 2
User-Agent : Newsgrouper/0.5
Colin Macleod <
user7@cmacleod.me.uk.invalid> posted:
Konstantin Kushnir <chpock@gmail.com> posted:
I am pleased to announce version 1.0.0 of valkey-tcl.
valkey-tcl is TCL/C extension that provides an interface to the Valkey
key-value store.
Hi Konstantin, I've been using Redis from Tcl via Pietro Cerutti's
Retcl interface - https://code.ptrcrt.ch/retcl/doc/trunk/docs/index.html .
Since Valkey is a fork of Redis I had assumed that Retcl would also work
for it, though I have not tried it yet myself. Could you explain what
advantages valkey-tcl has?
I see that valkey-tcl uses a C library. Retcl is pure Tcl code, so easier
to install, but might have lower performance.
Valkey-tcl appears to only support synchronous commands, I don't see an
equivalent to the async and callback-driven modes that Retcl also has.
The libvalkey page says "It also supports any server that uses the RESP
protocol" so that suggests that valkey-tcl would also work with Redis or
with any of the other compatible alternatives such as KeyDB.
-- Colin Macleod.