is2
simdjson-go
Our great sponsors
is2 | simdjson-go | |
---|---|---|
2 | 6 | |
7 | 1,757 | |
- | 1.0% | |
0.0 | 4.0 | |
about 1 year ago | 6 months ago | |
C++ | Go | |
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.
is2
-
Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19
I used the rapidjson streams with my little embedded REST HTTP(s) server library: https://github.com/Edgio/is2/
-
Rust is a hard way to make a web API
https://github.com/verizondigital/is2
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.
https://github.com/minio/simdjson-go
-
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.
What are some alternatives?
quantizr - Quanta is an open-source CMS with ChatGPT and Social Media (Fediverse) features
easyjson - Fast JSON serializer for golang.
jelly - User authentication/sessions/etc for Actix-Web. More of a sample project than a crate, but probably useful to some people.
jstream - Streaming JSON parser for Go
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
jsonparser - One of the fastest alternative JSON parser for Go that does not require schema
cargo-watch - Watches over your Cargo project's source.
sonic - A blazingly fast JSON serializing & deserializing library
Blitz - ⚡️ The Missing Fullstack Toolkit for Next.js
jsonlite - A simple, self-contained, serverless, zero-configuration, json document store.
gleam - ⭐️ A friendly language for building type-safe, scalable systems!
rjson - A fast json parser for go