-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Description
What exactly did this library gain from including this library? #3184
From my quick look at it, it requires CGO? goccy/go-json is already really fast and a pure go implementation. It seems like there was no real value add proposal for this libraries integration and it was just ushered in.
Note:
https://github.com/bytedance/sonic#compatibility
Sonic DOES NOT ensure to support all environments, due to the difficulty of developing high-performance codes. For
developers who use sonic to build their applications in different environments (ex: developing on M1 Mac but running on linux server), or those who want to handle JSON strictly consistent with encoding/json, we provide some compatible
APIs as sonic.API
Does this means that gin web severs are no longer ARM compatible? Seems a bit odd for a web framework. Folks generating code with oapi-codegen automatically inherit this dependency regardless of using gin or echo. Seems like unwanted behavior to me.