swift-collections VS shelf

Compare swift-collections vs shelf and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
swift-collections shelf
10 2
3,514 52
2.5% -
8.9 0.0
2 days ago over 1 year ago
Swift JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

swift-collections

Posts with mentions or reviews of swift-collections. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-15.

shelf

Posts with mentions or reviews of shelf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-17.
  • Show HN: Bike – macOS Native Outliner
    6 projects | news.ycombinator.com | 17 May 2022
    I think you could encode a “shelf” last-write-wins CRDT into your HTML using data attributes without exploding your file size. You would need to add a data-version attribute, and if you want to support hand-editing or editing by programs that don’t understand the CRDT, a CRC32 or other parity as data-parity so your loader can tell when a user might have edited a row without updating data-version.

    Shelf is really simple - the JS implementation is tiny (https://github.com/dglittle/shelf) and a walkthrough of the algorithm here: https://bartoszsypytkowski.com/shelf-crdt/amp/

    It wouldn’t handle character level sync - but would let you merge documents at a rows/items/blocks level.

  • Downsides of Offline First
    7 projects | news.ycombinator.com | 1 Oct 2021
    The CRDT I was referencing was Shelf by Greg Little. He's given a few talks about it at the braid meetups. When he first showed it off, Kevin Jahns (the Yjs author) was also there and was as impressed as I was:

    https://braid.org/meeting-8

    The code is all here. Its tiny:

    https://github.com/dglittle/shelf

What are some alternatives?

When comparing swift-collections and shelf you can also consider the following projects:

yjs - Shared data types for building collaborative software

crdt-example-app - A full implementation of CRDTs using hybrid logical clocks and a demo app that uses it

orgextended - Sublime Text OrgMode Extension

distributed-counters - Experiments with distributed counters

hummingbird - Lightweight, flexible HTTP server framework written in Swift

Homebrew-cask - 🍻 A CLI workflow for the administration of macOS applications distributed as binaries

Containers - This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.

Motion - Animation engine for gesturally-driven user interfaces, animations, and interactions on iOS, macOS, and tvOS.

ViewInspector - Runtime introspection and unit testing of SwiftUI views

pyvibe - Generate styled HTML pages from Python

swift-win32 - A Windows application framework for Swift