Snappy VS jsony

Compare Snappy vs jsony and see what are their differences.

Snappy

A fast compressor/decompressor (by google)

jsony

A loose, direct to object json parser with hooks. (by treeform)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Snappy jsony
5 4
5,994 254
0.6% -
5.2 5.2
17 days ago 10 days ago
C++ Nim
GNU General Public License v3.0 or later 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.

Snappy

Posts with mentions or reviews of Snappy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-14.
  • Why I enjoy using the Nim programming language at Reddit.
    10 projects | /r/RedditEng | 14 Nov 2022
    Another example of Nim being really fast is the supersnappy library. This library benchmarks faster than Google’s C or C++ Snappy implementation.
  • Stretch iPhone to Its Limit: 2GiB Stable Diffusion Model Runs Locally on Device
    5 projects | news.ycombinator.com | 9 Nov 2022
    It doesn't destroy performance for the simple reason that nowadays memory access has higher latency than pure compute. If you need to use compute to produce some data to be stored in memory, your overall throughput could very well be faster than without compression.

    There have been a large amount of innovation on fast compression in recent years. Traditional compression tools like gzip or xz are geared towards higher compression ratio, but memory compression tends to favor speed. Check out those algorithms:

    * lz4: https://lz4.github.io/lz4/

    * Google's snappy: https://github.com/google/snappy

    * Facebook's zstd in fast mode: http://facebook.github.io/zstd/#benchmarks

  • Compression with best ratio and fast decompression
    1 project | /r/learnprogramming | 30 Aug 2022
    Google released Snappy, which is extremely fast and robust (both at compression and decompression), but it's definitely not nearly as good (in terms of compression ratio). Google mostly uses it for real-time compression, for example of network messages - not for long-term storage.
  • How to store item info?
    1 project | /r/GameDevelopment | 4 Sep 2021
    Just compress it! Of course if you will you ZIP, players will able to just open this zip file and change whatever they want. But you can use less popular compression algorithms which are not supported by default Windows File Explorer. Snappy for example.
  • What's the best way to compress strings?
    6 projects | /r/cpp | 29 Jul 2021

jsony

Posts with mentions or reviews of jsony. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-01.
  • Nim v2.0 Released
    49 projects | news.ycombinator.com | 1 Aug 2023
    Nim's default json library is terrible in performance, but there're much faster drop-in replacements like jsony[1]. I'm not sure that's the main issue for low rank, but it's definitely one of them.

    1. https://github.com/treeform/jsony

  • Why I enjoy using the Nim programming language at Reddit.
    10 projects | /r/RedditEng | 14 Nov 2022
    One of the fastest things I have written in Nim is a JSON parsing library. Why is it fast? Well, it uses Nim’s metaprogramming to parse JSON directly into typed objects without any intermediate representations or any unnecessary memory allocations. This means I can skip parsing JSON into a dictionary representation and then converting from the dictionaries to the real typed objects.
  • Setup a Website with Nim
    8 projects | news.ycombinator.com | 30 Jan 2022
  • Nim vs Python: json serialization performance
    3 projects | /r/nim | 27 Oct 2021
    The nim stdlib's json(due to how it works) is relatively slow. Jsony Jason are some alternatives that are more performant and speeeedy.

What are some alternatives?

When comparing Snappy and jsony you can also consider the following projects:

zstd - Zstandard - Fast real-time compression algorithm

supersnappy - Dependency-free and performant Nim Snappy implementation.

LZ4 - Extremely Fast Compression algorithm

glfm - Wrapper of GLFM (OpenGL ES and input for iOS and Android) library for Nim.

brotli - Brotli compression format

fungus - Object variants done like other langugaes

ZLib - A massively spiffy yet delicately unobtrusive compression library.

npeg - PEGs for Nim, another take

LZMA - (Unofficial) Git mirror of LZMA SDK releases

nim_python_json

zlib-ng - zlib replacement with optimizations for "next generation" systems.

html2karax - Converts static html to Karax in Nim