simdjson-go
jsonlite
Our great sponsors
simdjson-go | jsonlite | |
---|---|---|
6 | 3 | |
1,753 | 842 | |
0.7% | - | |
4.0 | 4.3 | |
5 months ago | over 1 year ago | |
Go | Shell | |
Apache License 2.0 | Apache License 2.0 |
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.
simdjson-go
-
Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19
Speaking of Go, there's a simdjson implementation for golang too:
> Performance wise, simdjson-go runs on average at about 40% to 60% of the speed of simdjson. Compared to Golang's standard package encoding/json, simdjson-go is about 10x faster.
I haven't tried it yet but I don't really need that speed.
-
How to Use AVX512 in Golang
I agree. For performance-sensitive situations, C/C++ or Rust is the only choice. However, many developers choose Go or other languages for engineering efficiency. A typical use case of SIMD in Go is simdjson-go. Besides, there are plenty of bindings and ports of simdjson. "Other languages" developers also need performance improvement from native instructions such as SIMD.
- Sonic: A fast JSON serializing and deserializing library
- Whats the fastest JSON unmarshaling package as of right now?
-
What is the best solution to unique data in golang
I suggest to use a streaming library to parse your file. Like jstream or simdjson-go
-
I wrote yet another json parser. It may be a contender for fastest.
You can also try comparing with https://github.com/minio/simdjson-go. It does use a different API, however, would be good to compare nevertheless.
jsonlite
-
I made nodb, a RESTFful API to store and fetch JSON
I also wrote a dead simple bash, and very naive implementation of a JSON store (https://github.com/nodesocket/jsonlite) which scratched an itch I personally needed a few years ago. To my surprise it sees like a lot of people were interested.
- JSONlite: A simple, self-contained, serverless, zero-config, JSON document store
-
Show HN: SleekDB 2.0 – Simple database effortless
Somewhat related. I wrote a very very simple tool called JSONlite (https://github.com/nodesocket/jsonlite) which is pure bash and stores data in flat files. It does not support nested querying, or querying really of any sort besides the primary id.
What are some alternatives?
easyjson - Fast JSON serializer for golang.
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
jstream - Streaming JSON parser for Go
wacom-hid-descriptors - Database of HID descriptors for Wacom pen/touch digitizers
jsonparser - One of the fastest alternative JSON parser for Go that does not require schema
bashunit - Test your bash scripts in the fastest and simplest way, discover the most modern bash testing framework.
sonic - A blazingly fast JSON serializing & deserializing library
TermuxArch - You can use setupTermuxArch.bash 📲 to install Arch Linux in Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/TermuxArch/docs/install
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
google-drive-upload - Bash scripts to upload files to google drive
rjson - A fast json parser for go
bootiso - A bash program to securely create a bootable USB device from one image file.