Re:Show HN: Gojay – Performant JSON encoder/decoder for Golang
by woolvalley on Sunday May 20, 2018 @04:58PM
(#17114687)
How much of a difference you think rust would of made? Have you made something similar?
[ Parent
| on HN ]
Re:Show HN: Gojay – Performant JSON encoder/decoder for Golang
by nieksand on Sunday May 20, 2018 @05:22PM
(#17114793)
I've written some high req/sec projects in Rust, but nothing that would be apples-to-apples to that particular Go project.
The memory access patterns are straight-forward enough that the remaining GC could definitely go away. If I had to make a wild, from the hip, and unsubstantiated guess, maybe a 2x to 5x performance multiple. That would include a comparable amount of time spent optimizing and would depend greatly on the quality of the Kafka crates for Rust (which I've never used).