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. Learn more →
Top 22 Go Encoding Projects
-
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.
-
-
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.
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.
-
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
-
-
-
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.
-
-
-
-
-
-
-
-
-
Project mention: Aces – CLI to encode any data to a character set of your choice | news.ycombinator.com | 2023-03-07
-
https://github.com/alfg/ffmpeg-commander might be what you're looking for. i think you use it with https://github.com/alfg/ffmpegd
-
-
-
swallowjson
Golang: Support for preserving unknown fields from JSON when unmarshalling instead of discarding
-
-
-
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.
Go Encoding related posts
- save/load state and pointers
- Watson: Wasted but Turing-Incomplete Stack-Based Object Notation
- Working in the software industry, circa 1989 – Jim Grey
- Small Fixed-Point Decimals library
- Why all the hate?
- Unmarshal some fields in struct and the rest in map
- Package to read a configuration file to environmental variables
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Sep 2023
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 |