I'm a programmer.

Tokyo, Japan
Joined June 2008
structもgenericにできることに気づいたので Map[K cmp.Ordered, V any] みたいな利用しやすい形になった gist.github.com/ichiban/7036…
1
166
Goのgenericsをゴニョゴニョしてたら便利そうなものができた。bump allocationでGCにやさしい赤黒木 gist.github.com/ichiban/7036…
1
155
In Prolog, terms (statements) are separated by periods yet you can write a float like `3.14`. So how does a Prolog interpreter know it's `X = 3.14.` not `X = 3.` and `14.`? 🧵 #prolog #programming #language #syntax
1
2
1
266
When a Prolog interpreter sees `3.`- a period following a sequence of decimal digit chars (0-9), it peeks the next character. If the next character is also a decimal digit char, then it's a float number token. #prolog
1
133
If the next character is either a layout char (whitespace) or single line comment, it's an end token. So the Prolog processor knows it's `X = 3.14.` #prolog
116
『街灯の下で、失くした鍵を探す』
194
Goの上で動くオタク向け言語
200
未知の領域に入った
1
1
217
I think the net effect of businesses offering AI products in their current incarnation will mainly come in the form of reduced margins. Most value will accrue to the users and it will be tough for a while to make money. connor-shepherd.ghost.io/ai-…
5
4
3
39
6,741
伸び悩んでる
175
はじめた時は79だったのでだいぶ改善してきた
1
185
VMの命令セットをGoのsliceにあった形に変更したら爆速になった気がする
133
Goで論理プログラミング|guregu zenn.dev/guregu/articles/509… #zenn
9
12
5,429
Just released v0.1.0 of my pengines client for Go! You can now do RPC directly from @1ban's Go prolog interpreter to a remote @SwiProlog_ 😎 github.com/guregu/pengine#rp… #prolog #golang
1
3
1
8