Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Making a CRuby gem using C
Search
KONDO Uchio
May 22, 2019
Technology
1
100
Making a CRuby gem using C
Very simple way to make CRuby gem with C
KONDO Uchio
May 22, 2019
Tweet
Share
More Decks by KONDO Uchio
See All by KONDO Uchio
大規模レガシーテストを 倒すための CI基盤の作り方 / #CICD2023
udzura
5
2.4k
Ruby x BPF in Action / RubyKaigi 2022
udzura
0
260
Narrative of Ruby & Rust
udzura
0
230
開発者生産性指標の可視化 / pepabo-four-keys
udzura
3
1.7k
Talk of RBS
udzura
0
450
Re: みなさん最近どうですか? / FGN tech meetup in 2021
udzura
0
790
Dockerとやわらかい仮想化 - ProSec-IT/SECKUN 2021 edition -
udzura
2
740
Device access filtering in cgroup v2
udzura
1
930
"Story of Rucy" on RubyKaigi takeout 2021
udzura
0
850
Other Decks in Technology
See All in Technology
あなたの知らない OneDrive
murachiakira
0
240
Webアクセシビリティ入門
recruitengineers
PRO
1
270
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
MySQL HeatWave:サービス概要のご紹介
oracle4engineer
PRO
4
1.7k
トヨタ生産方式(TPS)入門
recruitengineers
PRO
3
240
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
2
200
Yahoo!広告ビジネス基盤におけるバックエンド開発
lycorptech_jp
PRO
1
280
夢の印税生活 / Life on Royalties
tmtms
0
280
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
24
6.2k
見てわかるテスト駆動開発
recruitengineers
PRO
5
360
帳票Vibe Coding
terurou
0
140
制約理論(ToC)入門
recruitengineers
PRO
3
320
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Designing for Performance
lara
610
69k
Embracing the Ebb and Flow
colly
87
4.8k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Building an army of robots
kneath
306
46k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Cult of Friendly URLs
andyhume
79
6.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
GitHub's CSS Performance
jonrohan
1031
460k
How STYLIGHT went responsive
nonsquared
100
5.7k
Transcript
$ͷۀՐʹম͔ΕΔલʹ ۙ౻͏͓ͪ(.01FQBCP *OD 'VLVPLBSC 3VCZͷ$֦ுHFNΛॻ͘
લఏ
ʮϤογϟ$ॻͧ͘ʯͱ͍͏લఏͷ wࠓɺ3VCZΛ͍ͬͯΔͷʹΘ͟Θ͟$ݴޠΛॻ͘͜ͱͷҙٛ൷ ʹؔͯ͠͡·ͤΜ wۀՐʹඈͼࠐΜͰ͍͘ਓ͕ଟগͰՐইΛܰ͘Ͱ͖ΔΜͳΒͦΕͦ ΕͳΓʹҙຯ͕͋Δͱࢥ͏ͷͰʜ
ͦͦ wࠓͷ-5ΑΓॆ࣮͍ͯͯ͠ศརͳࢿྉ͕͋Γ·͢ wຊޠͰ͋Γ·͢ɻɹFYUFOTJPOKBSEPDԟ෮ಡ͏ wIUUQTHJUIVCDPNSVCZSVCZCMPCUSVOLEPD FYUFOTJPOKBSEPD wIUUQTHVJEFTSVCZHFNTPSHHFNTXJUIFYUFOTJPOT
͏$ͷؔͱ ϥΠϒϥϦͷใΛཧ͢Δ
Ͳ͏͍͏$Λॻ͘ͷʁ wԿ͔͠Βͷཧ༝ͰMJCDͷඪ४ؔͷൣғͰॻ͍ͨԿ͔Λॻ͔ͳ͍ͱ͍ ͚ͳ͍ wˠݱࡏͷ3VCZͰͦ͏͍͏धཁ͕ൃੜ͢Δ͜ͱྲྀੴʹكͰ wಛఆͷ$ϥΠϒϥϦͷόΠϯσΟϯάΛ࡞͢Δ wˠ͜Ε͕Ұ൪ଟ͍ͣɻࠓճ͜Ε
wMJCBQQBSNPSΛ͏ wMJCBQQBSNPSͷઆ໌࠷ޙʹ͢Δ wBB@DIBOHF@IBU ͱ͍͏ؔΛ͏ wIUUQNBOQBHFTVCVOUVDPNNBOQBHFTYFOJBMNBO BB@DIBOHF@IBUIUNM ࠓͷςʔϚ
ఆٛ w͜ͷؔVOTJHOFEMPOHNBHJD@UPLFOͱ͍͏Λอ࣋ͨ͠··ʹ ͓͔ͯ͠ͳ͍ͱ͍͚ͳ͍ͷͰɺΠϯελϯεΛͭͬͯ͘ޙΖͰอ࣋͢ Δ wͱ͍͏Λޙड़
HFNͷܗΛ࡞Δ
͍ͭͷͭ w͍ͭ௨ΓͷCVOEMFHFNͰ0, wศརͳFYUͱ͍͏Φϓγϣϯ͕͋Δ wHFNͷ໊લBSNMPDLͰ͢ɻ
ϑΝΠϧߏ
࣮͢Δ
3VCZͷ$֦ுͷ࠷ݶͷίπ wͱͯ࠷ݶͰ͢ wFYUFOTJPOKBSEPDಡ͏
$ϨϕϧΦϒδΣΫτͷཧ w3VCZʹ($͕͋Δʢͬͯ·ͨ͠ʁʣ wࣗͰ$ͰΦϒδΣΫτΛ࡞ͬͯ͠·ͬͨ߹ʹɺͦͷΦϒδΣΫ τΛΘͳ͘ͳͬͨͱ͖ʹղ์͢Δํ๏Λ3VCZʹڭ͑ͯ͋͛ͳ͍ͱ ͍͚ͳ͍ wͨͩ͠ɺͦͷλΠϛϯάࣗମ3VCZͷ($͕Α͠ͳʹͯ͘͠ΕΔͷ Ͱɺํ๏͚ͩΛࢦఆ͢Ε0,
SC@EBUB@UZQF@Uͱ͍͏ܕΛ͏ wଞͷύϥϝʔλΊͬͪΌଟ͍ͷͰஔ͍ͱ͘ wGSFF͢ΔͨΊͷؔΛWPJE EGSFF WPJE Ͱࢦఆ͢Δ w୯७ʹղ์͢Δ͚ͩͷॲཧͳΒͱࢦఆ͢Ε͍͍Β͍͠
͜Μͳײ͡
BMMPDJOJUJBMJ[FͰߏମΛొ͢Δ
ؔͰߏମΛग़͢
ؔΛϝιουʹొ͢Δ
͜͜·ͰͰϏϧυͰ͖Δ wϥΠϒϥϦΛొ͍ͯ͠ͳ͍ͷͰɺϩʔυͰ͖ͳ͍
ϥΠϒϥϦνΣοΫΛ͢Δ
FYUDPOGSCΛॻ͘ wFYUDPOGԿΛ͍ͯ͠Δʁ w֦ுϥΠϒϥϦΛϏϧυ͢ΔͨΊͷ.BLFpMFΛ࡞ͬͯ͘ΕΔ wͦͷதͰϥΠϒϥϦͷଘࡏνΣοΫɺؔͷଘࡏνΣοΫͳͲΛͯ͠ ͘ΕΔ
ࠓճ͜͏
MJCBQQBSNPSEFW͕ͳ͍
BQUͰೖΕͨޙ
ࢼ͠ʹಈ͔͢ͱͰ͖ͨͬΆ͍ʁ
50%0ػೳςετ
·ͱΊ
%JTDMBJNFS·ͩHFNͱ͍ͯ͠Ͱ͢ wཚʹSBOEPN ͔ͭͬͯΔʢશવηΩϡΞ͡Όͳ͍ʣ wΤϥʔॲཧ͕͍͍Ճݮ wQFSSPS Λ3VCZͷHFNͰ͏ͷͪΐͬͱ wͦͷଞɺཁ͢Δʹʮ$ࢮͶʯͱ͍͏ײ͡ͳͷͰɺόΠϯσΟϯάͰ͋ͬ ͯΓۀՐͱ͍͏ଞͳ͍ɻ
ͱ͍͏͜ͱͰɺ 3VCZ,BJHJͰߴ·ͬͯ $Λॻ͘ਓ͕૿͑Δͱخ͍͠Ͱ͢
خ͍͠ͷ͔ʁͤͳͷ͔ʁ
ͦΕ୭ʹΘ͔Γ·ͤΜɻ
4FFZPV FOKPZ4&(7