Golang
go-beancountというリポジトリにて、goでbeancount処理系やツールチェーンをいろいろ書いているので紹介したい。 まあ、書いているのは私ではなくて主にClaude Codeだが。 beancheck beancountの整合性チェッカー。公式のbean-checkと似た感じのもの 公式のP…
先日公開したgrpc-gatewayだが、gRPCのメーリングリストで宣伝したらGoogleからフィードバックがあったので対応した。実はGoogleは社内にgrpc-gatewayに似た仕組みを持っていて、RESTful APIとgRPCの...
grpc-gatewayというgRPCからJSON APIへの変換プロキシ生成機を書いた。 これを使えば社内のmicroservicesはgRPCで通信しつつ公開APIはJSON APIで提供する、みたいなことが簡単になる。背景gRPCの良い...
Today I read memory management in go compiler.There are go.y, y.tab.[ch], lex.c and other files in src/cmd/gc/ directory. It seems that the go compiler has a lexical analyzer written by hand and a syntax parser generated by yacc(bison). le…
Recently I read Go lang. I began to understand its structure.How to buildYou can build the go compiler and tools as documented in the official documentation. It is quite easy. But it was confusing for me that I must run ./all.bash instead …