This past week I have been dusting off my old implementation of the SSH protocol in order to
exercise the new Syndicated Actor design and implementations. You can
find the new SSH code here.
(You’ll need the
novy branch of the latest Syndicate/rkt implementation to
The old SSH code used a 2014 dataspace-like language dialect called “Marketplace”, which shared some concepts with modern Syndicate but relied much more heavily on a pure-functional programming style within each actor. The new code uses mutability within each actor where it makes sense, and takes advantage of Syndicate DSL features like facets and dataflow variables that I didn’t have back in 2014 to make the code more modular and easier to read and work with.
Big changes include:
A protocol for streams, and revision of the TCP/IP driver to use it;
A protocol for services and service activations, and revision of the Syndicate/rkt implementation to use it;
plus a couple of small Syndicate/rkt syntax changes (renaming
on, making the notion of “event expander” actually useful, and a
once form for convenient definition of state-machine-like