Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GoでGemを作っています
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
enta0701
October 24, 2017
Technology
740
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GoでGemを作っています
LT資料
enta0701
October 24, 2017
More Decks by enta0701
See All by enta0701
ミルクココアが好きです
endotakuya
0
77
Kubernetes 超入門
endotakuya
0
170
GKE と EKS について 理解した気分になる7分間
endotakuya
0
86
はじめての CircleCI × EKS
endotakuya
1
710
Go / Node.js で入門する gRPC
endotakuya
0
220
LINE Clova スキルの開発ハンズオンに enebular は最適だった話。
endotakuya
1
1.1k
LINE Clova と自由に会話をしよう
endotakuya
0
200
GoでClova Extension開発ができるようになりました
endotakuya
0
86
シンプルなテンプレートエンジンが欲しい
endotakuya
0
840
Other Decks in Technology
See All in Technology
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
310
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
280
今さら理解するウェブフォントver.2026
takanorip
3
700
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
130
AI時代のPRレビューにどう向き合うか?
kairim0
1
220
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
160
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
160
Classmethod Company Deck
satoshi7
0
190
DGX Spark でどこまでハッキングができるのか?
kash1064
2
1.2k
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
110
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
140
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Designing Powerful Visuals for Engaging Learning
tmiket
1
600
Un-Boring Meetings
codingconduct
0
450
Documentation Writing (for coders)
carmenintech
77
5.6k
Being A Developer After 40
akosma
92
590k
Design in an AI World
tapps
1
350
Fireside Chat
paigeccino
43
4.1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Transcript
(PͰ(FNΛ࡞͍ͬͯ·͢ ʮ࠷ۙɺ(Pݴޠ࢝Ί·ͨ͠ʯͷձ !FOUB
ࣗݾհ ❐ɹԕ౻ ❐ɹגࣜձࣾϕʔγοΫʢ৽ଔ̍ʣ ❐ɹؠख㱺౦ژ ❐ɹ3VCZ%PDLFSLT ɹ(P"OESPJE+4 ❐ɹ(Pྺɿϲ݄͙Β͍ !FOUB !FOEPUBLVZB !FOUB
ຊ
(PͰ(FNΛ࡞͍ͬͯ·͢
ࣾʹͯ 3BJMT͚ͩͰ ը૾ΛಈతϦαΠζ͍ͨ͠ ❐ύϥϝʔλʹαΠζΛ༩ͯ͠ಈతϦαΠζ ❐ࣄલϦαΠζ6*ͷมߋʹऑ͍
ํ๏͍Ζ͍Ζ͋ΔΒ͍͠ ❐ɹOHJOYͷը૾ϦαΠζαʔό ❐ɹ"LBNBJ ❐ɹJNHJY ❐ɹ*NBHF3FTJ[FS ͱ͔ͱ͔ɻ
;ͱ ͋Δ2JJUBͷهࣄΛࢥ͍ग़ͨ͠
3VCZ͔Β(PΛ͍͡ΕΔ ❐ഒ͘ͳΔʁʂ ❐''*ʢ'PSFJHO'VODUJPO*OUFSGBDFʣ ❐ͳΜ͔ྑͦ͞͏ʢͦΜͳʹਂ͘ߟ͑ͣʣ
࡞ͬͯΈͨ ❐JSFT ɾը૾ॲཧʢ3FTJ[F $SPQ FUDʣɺ(Pͤ ɾ3VCZʢ(FNʣɺ(PͷؔΛݺͼग़͚ͩ͢ ɾ%PXOMPBET͙Β͍ ɾΩϟογϡରԠ <%= ires_tag(
path: "image.jpg", width: 90, height: 120 ) %>
͓ੈʹͳͬͨύοέʔδ ❐ϦαΠζ ɾHJUIVCDPNOGOUSFTJ[F ɾґଘύοέʔδͳ͠ ❐Γൈ͖ ɾHJUIVCDPNPMJBNCDVUUFS ɾґଘύοέʔδͳ͠
''*Ͱ(PΛ͏४උ 3VCZ͔Β''*ͰಡΈࠐΉͨΊʹ4IBSFE0CKFDUԽ package main import ( "C" ) func main()
{} //export test func test() *C.char { return C.CString("test!!!") } ᶃ$ΛಡΈࠐΉ ᶄ໊ؔΛࢦఆ
''*Ͱ(PΛ͏४උ Ϗϧυ $ go build -buildmode=c-shared -o test.so main.go 㱺
test.h test.so ͋ͱɺUFTUTPΛ3VCZଆͰݺΜͰ͋͛Ε0,
తʹʁ 3.BHJDL *SFT ʢΩϟογϡͳ͠ʣ *SFT ʢΩϟογϡ͋Γʣ NT NT NT ɾYʢ,#ʣͷը૾ຕ
ɾYʢʣʹϦαΠζ ɾ7JFXͰදࣔ͢Δ͚ͩ
ͪΐͬͱؾʹͳͬͯ·͢ 2%PDLFSͰڥΛ࡞Δ࣌ɺ ɹΞϓϦέʔγϣϯͷύεͬͯͲ͏ઃఆͯ͠·͔͢ʁ $ echo $GOPATH /go WORKDIR /go/src/ires #
or WORKDIR /go/src/github.com/endotakuya/ires ͷͱ͖ɺ
·ͱΊ ɾॏΊͳॲཧΛ(Pʹ͓ͤͯ͠ΈΔͷΞϦ͔ ɾ4IBSFE0CKFDUº''*ͳͷͰɺ͍ΖΜͳݴޠʹରԠՄ ɾ$ͱ(PͰͷͷΓͱΓʢ$$4USJOHͱ͔ʣҙ ɾ(Pॻָ͍͍ͯͯ͠ʂʢ·ͩπϥ͞Λ͔ͬͯͳ͍͚ͩ ɾؾʹͳΔํͪ͜Β͔Β ɾIUUQTSVCZHFNTPSHHFNTJSFT ɾIUUQTHJUIVCDPNFOEPUBLVZBJSFT
͋Γ͕ͱ͏͍͟͝·ͨ͠