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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
880
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
200
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
sbt 2.0: takeoff
eed3si9n
0
160
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Abbi's Birthday
coloredviolet
4
10k
Building AI with AI
inesmontani
PRO
1
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Building an army of robots
kneath
307
47k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Skip the Path - Find Your Career Trail
mkilby
1
260
Being A Developer After 40
akosma
92
590k
GitHub's CSS Performance
jonrohan
1033
470k
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.