jj VS rkyv

Compare jj vs rkyv and see what are their differences.

jj

A Git-compatible VCS that is both simple and powerful (by martinvonz)

rkyv

Zero-copy deserialization framework for Rust (by rkyv)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jj rkyv
88 13
6,642 2,566
- 4.1%
10.0 8.9
7 days ago 4 days ago
Rust Rust
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.

jj

Posts with mentions or reviews of jj. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-05.
  • Why Don't I Like Git More?
    4 projects | news.ycombinator.com | 5 Apr 2024
  • Twenty Years Is Nothing
    4 projects | news.ycombinator.com | 4 Mar 2024
    Jujutsu is along the lines of what you describe: https://github.com/martinvonz/jj

    You can drop it in and work seamlessly from git repos

  • Git Branches as a Social Construct
    4 projects | news.ycombinator.com | 15 Jan 2024
    Pull Requests (or Merge Requests) are merged only when (1) all of the automated tests pass; and (2) enough necessary reviewers have indicated approval.

    Git doesn't tell you when it's necessary to have full test coverage and manual infosec review in development cycles that produce releases, and neither do Pull Requests.

    https://westurner.github.io/hnlog/#comment-19552164 ctrl-f hubflow

    It looks like datasift's gitflow/hubflow docs are 404'ing, but the original nvie blog post [1] has the Git branching workflow diagrams; which the wpsharks/hubflow fork [3] of datasift/gitflow fork [2] of gitflow [1]has a copy of in the README:

    [1] https://github.com/nvie/gitflow

    [2] https://github.com/datasift/gitflow

    [3] https://github.com/wpsharks/hubflow?tab=readme-ov-file

    https://learngitbranching.js.org/ is still a great resource, and it could work on mobile devices.

    The math of VCS deltas and mutable and immutable content-addressed DAG nodes identified by 2^n bits describing repo/$((2*inf)) bits ;

    >> "ugit – Learn Git Internals by Building Git in Python" https://www.leshenko.net/p/ugit/

    SLSA.dev is a social construct atop e.g. git, which is really a low-level purpose-built tool and Perl and now Python porcelain.

    jj (jujutsu) is a git-compatible VCS CLI: https://github.com/martinvonz/jj

    "Ask HN: Best Git workflow for small teams" (2016)

  • PyPy has moved to Git, GitHub
    3 projects | news.ycombinator.com | 1 Jan 2024
    You will probably like Jujutsu, which takes much inspiration from Mercurial: https://github.com/martinvonz/jj

    It isn't a 1-to-1 clone, either. But tools like revsets are there, cset evolution is "built in" to the design, etc. There is no concept of phases, we might think about adding that, but there is a concept of immutable commits (so you don't overwrite public ones.)

    It also has many novel features that make it stand out. We care a lot about performance and usability. Give it a shot. I think you might be pleasantly surprised.

    Disclosure: I am a developer of Jujutsu. I do it in my spare time.

  • Ask HN: Can we do better than Git for version control?
    17 projects | news.ycombinator.com | 10 Dec 2023
    I have created a discussion. Thank you both

    https://github.com/martinvonz/jj/discussions/2691

  • I (kind of) killed Mercurial at Mozilla
    12 projects | news.ycombinator.com | 21 Nov 2023
    > why don't version control systems (especially ones that can change history) have undo/redo functionality out of the box?

    It's true. And Jujutsu has undo functionality out of the box, too. It's not just Sapling. :) https://github.com/martinvonz/jj

  • Confusing Git Terminology
    5 projects | news.ycombinator.com | 2 Nov 2023
  • Things I just don't like about Git
    6 projects | news.ycombinator.com | 8 Oct 2023
    Git made the only choice a popular VCS can make. History rewrites will exist, period. If you're opposed to history rewrites, then git gives you the tools to ensure the repos you control are not rewritten, and that's all it can do in a world where people have control of their own computers.

    If Fossil ever becomes as popular as git, people will create software that allows history rewriting in Fossil, and that's fine. People will do what they want on their own computer, and I think it's morally wrong to try and stop that.

    Another user in this thread linked to jj [0], an alternative git client that does some pretty weird things. For example, it replaces the working tree with a working commit and commits quite often. I like git and that seems weird to me, but I'm not offended, people can do what they want on their own computer and I have the tools to ensure repos under my control are not effected. That's all I can hope for.

    [0]: https://github.com/martinvonz/jj

  • Pijul: Version-Control Post-Git • Goto 2023
    11 projects | news.ycombinator.com | 11 Aug 2023
    I recently found out about another project called jj: https://github.com/martinvonz/jj. It takes inspiration from Pijul and others but is git-compatible.
  • A beginner's guide to Git version control
    4 projects | news.ycombinator.com | 7 Aug 2023
    https://github.com/martinvonz/jj

    I think maybe both fossil and bitkeeper are more intuitive too.

    Did you try any of those?

rkyv

Posts with mentions or reviews of rkyv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-18.
  • Müsli - An experimental binary serialization framework with more choice
    7 projects | /r/rust | 18 May 2023
    And before you ask: This only provides partial zero-copy support in strings and byte arrays like serde. But it's not like rkyv which constructs validated references into the data.
  • A new major version of jql has been released
    4 projects | /r/rust | 23 Apr 2023
    Regarding JSON, what kind of other implementation do you have in mind? I've seen e.g. `rkyv` which looks really neat (https://github.com/rkyv/rkyv/issues/85). So far `serde_json` is providing a clean surface API but maybe there's best solution?
  • My negative views on Rust
    6 projects | /r/programming | 10 Dec 2022
    Thank you for your concern. I've done plenty of projects that go beyond a "Hello World" such as a GPU accelerated password cracker. I am starting soon a C++/Rust job. I already contributed to codebases I didn't write.
  • Hey Rustaceans! Got a question? Ask here! (37/2022)!
    12 projects | /r/rust | 12 Sep 2022
    rkyv is awesome because it supports full zero-copy deserialization. You can serialize your HashMap to a file. Later you can directly use the HashMap from the file without creating and populating a new HashMap in memory (rkyv directly indexes into the raw bytes). For even faster access times you can even mmap the file.
  • Bizarre memory leak caused by tokio runtime
    4 projects | /r/rust | 8 Sep 2022
    I had the same problem when trying to deserialize a big struct with rkyv: see rkyv#277.
  • Advice for the next dozen Rust GUIs
    9 projects | /r/rust | 15 Jul 2022
    Any chance of working with zero-copy deserialization frameworks? like https://github.com/rkyv/rkyv or capnproto
  • Pijul 1.0 Beta
    5 projects | news.ycombinator.com | 19 Jan 2022
    Hi, you seem to know a bit about Sanakirja!

    It stores 4kb blobs, right? Does Pijul first parses the data (copying it to other allocations), or uses the data as is? I mean, there are some libraries like cap'n'proto[0] and rkyv[1] that can directly use the file contents as an in-memory data structure, I was wondering if Pijul did anything like that.

    I mean, is this btree page [2] stored exactly like this on disk, and does Pijul exploits that to avoid further copying data?

    (I guess there's a trouble with compression there: to decompress you really need to write in another buffer)

    Also, is the I/O done with something that prevent userspace copies like mmap or io_uring, or does it eventually calls read() to copy the data to its own buffer?

    I want to build something like Sanakirja, but with those features, so I'm wondering if there's any overlap.

    [0] https://github.com/capnproto/capnproto-rust

    [1] https://github.com/rkyv/rkyv

    [2] https://docs.rs/sanakirja-core/latest/sanakirja_core/btree/p...

  • Is there a library like Serde but which makes it easy to mutate serialized data stored in a [u8] or Vec<u8>?
    2 projects | /r/rust | 6 Dec 2021
    I think https://github.com/rkyv/rkyv does this. Also capnproto like was mentioned here, and perhaps https://docs.rs/zerocopy/0.6.1/zerocopy/index.html too
  • rkyv 0.7: Endian-agnostic types, `no_std` validation, performance improvements, github sponsors and more!
    4 projects | /r/rust | 7 Jul 2021
    It's been two months since the last major rkyv release, and three months since the last major feature release. After all that time, I'm proud to announce that rkyv 0.7 is finally out!
  • rkyv 0.5: Comparison derives, serialize bounds, and the future
    2 projects | /r/rust | 5 Apr 2021
    After roughly two months of work, rkyv 0.5 is finally out!

What are some alternatives?

When comparing jj and rkyv you can also consider the following projects:

git-branchless - High-velocity, monorepo-scale workflow for Git

rust-serialization-benchmarks

Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

NoProto - Flexible, Fast & Compact Serialization with RPC

forgit - :zzz: A utility tool powered by fzf for using git interactively.

capnproto-rust - Cap'n Proto for Rust

EdenSCM - A Scalable, User-Friendly Source Control System. [Moved to: https://github.com/facebook/sapling]

zero-copy-pads - Padding/aligning values without heap allocation

pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

tree-buf - An experimental serialization system written in Rust

git-imerge - Incremental merge for git

rust_serialization_benchmark - Benchmarks for rust serialization frameworks