Go Encoding

Open-source Go projects categorized as Encoding

Top 22 Go Encoding Projects

  • msgpack

    msgpack.org[Go] MessagePack encoding for Golang (by vmihailenco)

    Project mention: save/load state and pointers | /r/golang | 2022-11-24

    As a side note you cannot do JSON, since it cannot do "int" keys. I tested vmihailenco/msgpack and it works fine - you can try that if you want a JSON-like experience.

  • stegify

    🔍 Go tool for LSB steganography, capable of hiding any file within an image.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • encoding

    Go package containing implementations of efficient encoding, decoding, and validation APIs.

    Project mention: Rust vs. Go in 2023 | news.ycombinator.com | 2023-08-13

    https://github.com/BurntSushi/rebar#summary-of-search-time-b...

    Further, Go refusing to have macros means that many libraries use reflection instead, which often makes those parts of the Go program perform no better than Python and in some cases worse. Rust can just generate all of that at compile time with macros, and optimize them with LLVM like any other code. Some Go libraries go to enormous lengths to reduce reflection overhead, but that's hard to justify for most things, and hard to maintain even once done. The legendary https://github.com/segmentio/encoding seems to be abandoned now and progress on Go JSON in general seems to have died with https://github.com/go-json-experiment/json .

    Many people claiming their projects are IO-bound are just assuming that's the case because most of the time is spent in their input reader. If they actually measured they'd see it's not even saturating a 100Mbps link, let alone 1-100Gbps, so by definition it is not IO-bound. Even if they didn't need more throughput than that, they still could have put those cycles to better use or at worst saved energy. Isn't that what people like to say about Go vs Python, that Go saves energy? Sure, but it still burns a lot more energy than it would if it had macros.

    Rust can use state-of-the-art memory allocators like mimalloc, while Go is still stuck on an old fork of tcmalloc, and not just tcmalloc in its original C, but transpiled to Go so it optimizes much less than LLVM would optimize it. (Many people benchmarking them forget to even try substitute allocators in Rust, so they're actually underestimating just how much faster Rust is)

    Finally, even Go Generics have failed to improve performance, and in many cases can make it unimaginably worse through -- I kid you not -- global lock contention hidden behind innocent type assertion syntax: https://planetscale.com/blog/generics-can-make-your-go-code-...

    It's not even close. There are many reasons Go is a lot slower than Rust and many of them are likely to remain forever. Most of them have not seen meaningful progress in a decade or more. The GC has improved, which is great, but that's not even a factor on the Rust side.

  • ecoji

    Encodes (and decodes) data as emojis

    Project mention: NPM won't publish packages containing the word keygen | news.ycombinator.com | 2023-06-14
  • dongle

    A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption

  • sttr

    cross-platform, cli app to perform various operations on string

  • go-geom

    Package geom implements efficient geometry types for geospatial applications.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • watson

    WATSON: Wasted but Amazing Turing-incomplete Stack-based Object Notation (by genkami)

  • base64

    Faster base64 encoding for Go (by cristalhq)

  • go-webp

    Simple and fast webp library for golang

  • jx

    json encoding and decoding (by go-faster)

  • polyline

    Package polyline implements a Google Maps Encoding Polyline encoder and decoder.

  • go-fixedwidth

    Encoding and decoding for fixed-width formatted data

  • go-kml

    Package kml provides convenience methods for creating and writing KML documents.

  • qs

    Go module for encoding structs into URL query parameters

  • aces

    Encode in a character set of your choice

    Project mention: Aces – CLI to encode any data to a character set of your choice | news.ycombinator.com | 2023-03-07
  • ffmpegd

    FFmpeg websocket server for ffmpeg-commander.

    Project mention: Web front end for ephemeral docker containers? | /r/homelab | 2023-05-16

    https://github.com/alfg/ffmpeg-commander might be what you're looking for. i think you use it with https://github.com/alfg/ffmpegd

  • fpdecimal

    🛫 Fixed-Point Decimals

  • fpmoney

    🧧 Fixed-Point Decimal Money

  • swallowjson

    Golang: Support for preserving unknown fields from JSON when unmarshalling instead of discarding

  • redigo

    🔥 A Redis client for GoLang featuring Tags with Gob & JSON encoding. (by ainsleyclark)

  • gocryptography

    An Implementation Of Several Encryption Algorithms, Made For Educational Purposes

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-13.

Go Encoding related posts

Index

What are some of the best open-source Encoding projects in Go? This list will help you:

Project Stars
1 msgpack 2,143
2 stegify 1,123
3 encoding 925
4 ecoji 812
5 dongle 768
6 sttr 744
7 go-geom 713
8 watson 271
9 base64 173
10 go-webp 155
11 jx 123
12 polyline 90
13 go-fixedwidth 77
14 go-kml 76
15 qs 66
16 aces 65
17 ffmpegd 53
18 fpdecimal 24
19 fpmoney 20
20 swallowjson 3
21 redigo 2
22 gocryptography 0
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org