News for hackers. Stuff that matters.
Re:My fast JSON library in Go is now even faster and safer by meowface on Wednesday September 20, 2023 @11:55PM (#37593050)
https://github.com/sugawarayuuta/benchmark - Performance looks pretty comparable to go-json (https://github.com/goccy/go-json). Faster in some tests, slower in others. Not sure if it'd be worth switching for me. Good work either way. Would be interested to see benchmarks of the latest version.
Re:My fast JSON library in Go is now even faster and safer by 9VFlE on Thursday September 21, 2023 @12:59AM (#37593390)
How is it compared to bytedance/sonic?
Re:My fast JSON library in Go is now even faster and safer by meowface on Thursday September 21, 2023 @12:08PM (#37599746)
Sorry, I was only comparing go-json because both Sonnet and go-json are drop-in replacements for the standard library's JSON encoder and decoder.