Skip to content

Using diamond-types with an external data structure #15

@archseer

Description

@archseer

I've been meaning to experiment with diamond-types in Helix which already uses Ropey + an OT Transaction to apply changes.

Would it be possible to use diamond-types by feeding it edits then extracting a list of operations to replay on the rope? (I think Atom's teletype-crdt worked in a similar way.) That way we can only use CRDTs when a collaboration session is started and just use the plain rope when editing locally. I saw you had a module that supported this prior to the rewrite, but it's gone now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions