Created
May 7, 2015 00:20
-
-
Save monochromegane/2fc28cfe7967a15f13de to your computer and use it in GitHub Desktop.
GoCon2015summer発表案
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generative programming in Go. | |
こちらのエントリ http://blog.monochromegane.com/blog/2015/03/04/argen/ で紹介した `argen` をつくって得られた go generate まわりの知見を発表します。 | |
# What | |
argenの簡単な紹介を通してGo言語でのGenerative programmingとは何かを説明します。 | |
# Why | |
なぜGenerative programmingが必要かを説明します。 | |
- Go言語でのGenericsのサポート状況 | |
- 構造体の埋込/interfaceとの使い分け | |
- reflectionとの性能比較 | |
# How | |
コード解析、生成のTipsを交えてGenerative programmingのやり方を説明します。 | |
- go/parser, go/ast | |
- template | |
- go generate | |
以上です。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment