mus-go - the fastest Golang serializer today

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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
  • go_serialization_benchmarks

    Benchmarks of Go serialization methods

  • Hey everyone! Let me introduce you to mus-go - the fastest Golang serializer today. If you look at benchmarks (https://github.com/alecthomas/go_serialization_benchmarks), you can see that it could be almost twice as fast as its closest "competitor":

  • go-codec-bench

    Benchmark of go binary and text encodings

  • Might want to add it to https://github.com/ugorji/go-codec-bench

  • 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.

    InfluxDB logo
  • go

    The Go programming language

  • For what it's worth, even the stdlib json package will panic in certain edge cases involving unmarshaling a composite type. But yeah, generally, JSON unmarshaling errors *are* returned as errors.

  • msgpack

    MessagePack is an extremely efficient object serialization library. It's like JSON, but very fast and small.

  • Sorry, but I don't think it looks like MessagePack. I wonder why you think so? MUS format does not contain a data types, unlike MessagePack. So, for example, the uint8 type in MessagePack can be encoded with two bytes (from the MessagePack specification): uint 8 stores a 8-bit unsigned integer +--------+--------+ | 0xcc |ZZZZZZZZ| +--------+--------+ The same data type in MUS format is encoded with just one byte. This fact alone is quite a significant difference.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Evolving the Go Standard Library with math/rand/v2

    1 project | news.ycombinator.com | 1 May 2024
  • Microsoft Maintains Go Fork for FIPS 140-2 Support

    5 projects | news.ycombinator.com | 30 Apr 2024
  • How to use Retrieval Augmented Generation (RAG) for Go applications

    3 projects | dev.to | 28 Apr 2024
  • Building a Playful File Locker with GoFr

    4 projects | dev.to | 19 Apr 2024
  • Fastest way to get IPv4 address from string

    1 project | news.ycombinator.com | 14 Apr 2024