Re: version negotiation

Tõivo Leedjärv <[email protected]> Wed, 30 Jun 2021 16:19:51 +0200
Newsgroups gmane.network.unison.devel
Message-ID <CAALvpZT04BXNzcht6gf-Ryd8sVbg5Mj5Tbs_09Jo0a5=RDAt-g@mail.gmail.com>
On Wed, Jun 30, 2021 at 3:51 PM Benjamin Pierce <[email protected]> wrote:
>
> I'm not 100% clear how this will work.  If the type of some data structure changes, then how will the code be able to switch protocols without some kind of translation layer?

Yes, there must be a translation layer. Luckily, the encoding format
itself largely fills the role of translation layer, together with
conditional/versioned de-/serialization.