• Re: ANNOUNCE: valkey-tcl 1.0.0

    From Colin Macleod@21:1/5 to All on Sun Aug 25 19:14:34 2024
    Konstantin Kushnir <[email protected]> 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?

    --
    Thanks,
    Colin Macleod.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Macleod@21:1/5 to All on Mon Aug 26 07:48:34 2024
    Colin Macleod <[email protected]d> posted:

    Konstantin Kushnir <[email protected]> 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)