circe VS jvm-serializers

Compare circe vs jvm-serializers and see what are their differences.

jvm-serializers

Benchmark comparing serialization libraries on the JVM (by eishay)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
circe jvm-serializers
12 7
2,473 3,274
0.4% -
7.4 4.4
4 days ago 7 months ago
Scala Java
Apache License 2.0 -
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.

circe

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

jvm-serializers

Posts with mentions or reviews of jvm-serializers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-07.
  • Fury: 170x faster than JDK, fast serialization powered by JIT and Zero-copy
    12 projects | news.ycombinator.com | 7 Oct 2023
    Compared with protobuf, fury is 3.2x faster. When comparing with avro, fury is 5.3x faster. Compared with flatbuffers, fury is 4.8x faster. See https://github.com/eishay/jvm-serializers/wiki for detailed benchmark data
  • The state of Java Object Serialization libraries in Q2 2023
    5 projects | /r/java | 7 Apr 2023
    First, there's benchmarks here if you haven't seen it: jvm-serializers. Not terribly scientific, but it's something. To make any decision, you really need to benchmark your own object graph and it's important to configure the serializer for your particular usage. Still, it is sort of useful for comparing frameworks. It would be interesting to see how Loial performs there. Ping me if you add it.
  • Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19+
    4 projects | /r/programming | 6 Mar 2023
    It depends. Some binary encodings such as flatbuffer are actually slower than some JSON libraries. There's a wide range of performance even in the JSON libraries themselves. Generally the faster JSON libraries are the ones that work on a predefined schema and so are able to generate code specifically for that JSON.
  • Go standard library: structured, leveled logging
    11 projects | news.ycombinator.com | 11 Sep 2022
    > I'm surprised this is up for debate.

    I looked into logging in protobuf when I was seeing if there was a better binary encoding for ring-buffer logging, along the same lines as nanolog:

    https://tersesystems.com/blog/2020/11/26/queryable-logging-w...

    What I found was that it's typically not the binary encoding vs string encoding that makes a difference. The biggest factors are "is there a predefined schema", "is there a precompiler that will generate code for this schema", and "what is the complexity of the output format". With that in mind, if you are dealing with chaotic semi-structured data, JSON is pretty good, and actually faster than some binary encodings:

    https://github.com/eishay/jvm-serializers/wiki/Newer-Results...

  • Scala 3.0 serialization
    5 projects | /r/scala | 30 Mar 2021
    You could use any of the JVM serialisers which should still work.

What are some alternatives?

When comparing circe and jvm-serializers you can also consider the following projects:

json4s - JSON library

fury-benchmarks - Serialization Benchmarks for fury with other libraries

spray-json - A lightweight, clean and simple JSON implementation in Scala

Apache Avro - Apache Avro is a data serialization system.

play-json

zio-json - Fast, secure JSON library with tight ZIO integration.

janino - Janino is a super-small, super-fast Java™ compiler.

jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes

grpc-dotnet - gRPC for .NET

jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs

opentelemetry-specificatio