Better HN
topnewbestaskshowjobs
Log inSign up

goccy

72 karma · joined Nov 7, 2019 (7y ago) · 20 submissions

Submissions

1.

Show HN: A Go JSON library faster than Sonic, with encoding/JSON/v2 support(github.com ↗)

3 points · by goccy · 3w ago · discuss

2.

Show HN: BigQuery Emulator – run Google BigQuery locally for tests(github.com ↗)

1 points · by goccy · 6mo ago · discuss

comment 5y ago · link · parent

I develop a library goccy/go-yaml for manipulating YAML in Go. Go already has a major library github.com/go-yaml/yaml, but I wanted a new library for various reasons, so I decided to make it myself from scratch. This library is a major library among Japanese Gophers as well as github.com/go-yaml/yaml. It is used by many companies and OSS. However, I would like more people outside of Japan to use it.

Perhaps you're wondering why you need to use github.com/goccy/go-yaml instead of github.com/go-yaml/yaml. The reason is I wrote it in the README.

Of course, github.com/go-yaml/yaml is a great library. But in many cases I also believe that github.com/goccy/go-yaml will also help your development.

If you like it, please give it a try. And I would be grateful if you could give me feedback.

Finaly, This library is developed in my personal time. I develop many other OSSs, and depending on the development priority, I may not be able to immediately respond to feature requests. If you have a request for github.com/goccy/go-yaml, please consider sponsoring. I get new vitality thanks to the sponsors. I also strive to meet the needs of sponsors as much as possible.

4.

Show HN: A yet another useful YAML library for Go(github.com ↗)

1 points · by goccy · 5y ago · 1 comment

comment 5y ago · link · parent

I develop a library goccy/go-yaml for manipulating YAML in Go. Go already has a major library github.com/go-yaml/yaml, but I wanted a new library for various reasons, so I decided to make it myself from scratch.

This library is a major library among Japanese Gophers as well as github.com/go-yaml/yaml. It is used by many companies and OSS. However, I would like more people outside of Japan to use it.

Perhaps you're wondering why you need to use github.com/goccy/go-yaml instead of github.com/go-yaml/yaml. The reason is I wrote it in the README.

Of course, github.com/go-yaml/yaml is a great library. But in many cases I also believe that github.com/goccy/go-yaml will also help your development.

If you like it, please give it a try. And I would be grateful if you could give me feedback.

Finaly, This library is developed in my personal time. I develop many other OSSs, and depending on the development priority, I may not be able to immediately respond to feature requests. If you have a request for github.com/goccy/go-yaml, please consider sponsoring. I get new vitality thanks to the sponsors. I also strive to meet the needs of sponsors as much as possible.

6.

A library to help everyone working with YAML in Go(github.com ↗)

4 points · by goccy · 5y ago · 1 comment

comment 5y ago · link · parent

I'm sorry. I'm a fan of this service, and when I introduced it in a my tweet ( https://twitter.com/goccy54/status/1370800229054779396?s=20 ) , it seems that many users have accessed it.

comment 5y ago · link · parent

Thank you for your report. It's an interesting result. If you have code that can be reproduced, I will try to optimize it to be faster than easyjson.

comment 5y ago · link · parent

Thank you for your nice feedback !

comment 5y ago · link · parent

I fixed it ! Thanks !

comment 5y ago · link · parent

Yes, Of course !! Welcome !!

comment 5y ago · link · parent

I think it depends on the application. In many cases, encoding/json is fast enough and stable, but I think you can try to use a faster library if JSON encoding / decoding is performance critical on your application.

comment 5y ago · link · parent

Thank you so much !

comment 5y ago · link · parent

I tried to compare it with simdjson-go, but the interface of this library is very different from other libraries and it was difficult to compare. However, I think simdjson-go has the best decoder performance.

comment 5y ago · link · parent

Thank you for your feedback! In fact, it's understandable to be scared because it uses a lot of uncommon techniques. By growing this project, I would like to be able to use advanced techniques with peace of mind.

comment 5y ago · link · parent

I develop a super fast JSON library ( https://github.com/goccy/go-json ) . It is drop-in replacement of encoding/json.

This library is available by simply replacing the import statement. It's more compatible and much faster than json-iterator/go.

Please give me your feedback ! Thanks !

17.

Show HN: A fast JSON library for Go(github.com ↗)

119 points · by goccy · 5y ago · 31 comments

18.

YAML Support for the Go Language(github.com ↗)

2 points · by goccy · 7y ago · discuss