zicl
A Tcl interpreter reimplemented from C in Zig, based on the design of Jimtcl. Its key difference is thread-safe value sharing, with lexical variable capture planned. Commands evaluate and basic object operations are in place, though core commands still need implementation. It originated as a sub-project of folk.computer and may eventually be swapped in there.
What it addresses
folk.computer incurs about a 20% overhead serializing and deserializing values sent between threads, which also prevents sending large amounts of data around; a previous attempt to make the Jimtcl interpreter thread-safe ended up slower than the status quo.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
zicl
A Tcl interpreter reimplemented from C in Zig, based on the design of Jimtcl. Its key difference is thread-safe value sharing, with lexical variable capture planned. Commands evaluate and basic object operations are in place, though core commands still need implementation. It originated as a sub-project of folk.computer and may eventually be swapped in there.
Problem: folk.computer incurs about a 20% overhead serializing and deserializing values sent between threads, which also prevents sending large amounts of data around; a previous attempt to make the Jimtcl interpreter thread-safe ended up slower than the status quo.
Posted by @smj-edison · Original source ↗
Source text · @smj-edison · · Source ↗
Porting/reimplementing a Tcl interpreter from C to Zig, based on the design of Jimtcl. This is one of those sub-projects that started due to another project (folk.computer in this case). The biggest difference is thread-safe value sharing, and (soon to be) lexical variable capture.