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
NGK2023S - OCaml最高! スマホ開発にも使えちゃう?!
Search
Haochen Kotoi-Xie
January 21, 2023
Programming
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
NGK2023S - OCaml最高! スマホ開発にも使えちゃう?!
Repository:
https://github.com/haochenx/ocaml_react_native_sample
Haochen Kotoi-Xie
January 21, 2023
Other Decks in Programming
See All in Programming
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.8k
iOSDC2026登壇資料.pdf
riofujimon
0
170
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
350
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
700
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
Heart of Swift Concurrency
koher
0
910
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
130
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
180
Are APIs Still Relevant in the AI Era?
soyuka
0
270
App Intentsのビルドプロセスを支える技術
kntkymt
0
400
What We Talk About When We Talk About XP
m_seki
2
660
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
150
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.1k
Six Lessons from altMBA
skipperchong
29
4.5k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Optimizing for Happiness
mojombo
378
71k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Evolving SEO for Evolving Search Engines
ryanjones
0
300
What's in a price? How to price your products and services
michaelherold
247
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Exploring anti-patterns in Rails
aemeredith
4
510
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Transcript
Haochen Kotoi-Xie (twitter: @haochenxie) on 2023-01-21 OCaml࠷ߴ! εϚϗ։ൃʹ͑ͪΌ͏?! Prepared for
NGK2023S LT
Haochen Kotoi-Xie (twitter: @haochenxie) on 2023-01-21 OCaml࠷ߴ! εϚϗ։ൃʹ͑ͪΌ͏?! Prepared for
NGK2023S LT
OCamlͳʹ? ΈΜͳେ͖ ChatGPT ઌੜʹฉ͍ͯΈͨ!
OCamlͳʹ? ΈΜͳେ͖ ChatGPT ઌੜʹฉ͍ͯΈͨ!
ChatGPT ઌੜ͕ڭ͑ͯΒͬͨ.. $SFBUFEXJUI%"--h& BO"*TZTUFNCZ0QFO"* OCamlߴͰܕ҆શ!
εϚϗΞϓϦ։ൃʹ͍͍ͨͶ 🤔
• js_of_ocaml : OCaml όΠτίʔυ → JavaScript • ReScript/ReasonML :
OCaml ιʔείʔυ → JavaScript • React Native : JavaScript/TypeScript ͰΞϓϦ։ൃ ==> Ͱ͖ͪΌ͏ͷͰ 🤩 ͪΐͬͱௐͯΈΕ…
࣮ࡍͬͯΈΑ͏
࣮ࡍͬͯΈΑ͏
࣮ࡍͬͯΈΑ͏
࣮ࡍͬͯΈΑ͏
࣮ࡍͬͯΈΑ͏
࣮ࡍͬͯΈΑ͏ ×
• js_of_ocaml : OCaml όΠτίʔυ → JavaScript • ReScript/ReasonML :
OCaml ιʔείʔυ → JavaScript • React Native : JavaScript/TypeScript ͰΞϓϦ։ൃ ==> Ͱ͖ͪΌ͏ͷͰ 🤩 ==> Ͱ͖ͯ͠·ͬͨ 😳 🤯 😲 😏 😏 😏
ੈͷதศརͳͷ͕͍ͬͺ͍🎉 × ɾɾɾ
Ͳ͏ͤJoy Project͚ͩ͡Όͳ͍? 🤔
Ͳ͏ͤJoy Project͚ͩ͡Όͳ͍? 🤔 ͍͍ ۀͰ͍ͬͯΔΜͩ 😏
ΞʔΩςΫνϟҰྫ (໊ͱ͔ग़ͤͳ͍͚Ͳ……) • SDKϓϩδΣΫτ (Android/iOS) • ίΞΞϧΰϦζϜ: Proper OCaml (compiled
via js_of_ocaml) • εϚϗηϯαʔσʔλऩू෦: React Native Native Modules • GUI࣮: TypeScript (React Native) • ࣮ݧతʹ ReScript ಋೖͨ͠ → େਓͷࣄͰ TypeScript-only ʹͳͬͨ • Glue Code: TypeScript (React Native) • ΫϥΠΤϯτίʔυ͚API: Java / Swift
ײ • ϚϧνϓϥοτϑΥʔϜͰίʔυγΣΞϦϯάͰ͖ͯͤ • Code Change͕ϦΞϧλΠϜͰϓϨϏϡʔͰ͖ΔReact Nativeਆ! • Native Modules
ͷ։ൃΊΜͲ͍͘͞.. • ܕ҆શརްੜ! • OCaml ͍͍ͧ! εϚϗ։ൃʹ͑ΔΜͩͧ! ݁
ײ • ϚϧνϓϥοτϑΥʔϜͰίʔυγΣΞϦϯάͰ͖ͯͤ • Code Change͕ϦΞϧλΠϜͰϓϨϏϡʔͰ͖ΔReact Nativeਆ! • Native Modules
ͷ։ൃΊΜͲ͍͘͞.. • ܕ҆શརްੜ! • OCaml ͍͍ͧ! εϚϗ։ൃʹ͑ΔΜͩͧ! ݁ FIN.