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
mrubyで躓いたところを共有したい!
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yuukis234
April 25, 2019
0
180
mrubyで躓いたところを共有したい!
yuukis234
April 25, 2019
Tweet
Share
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
2
250
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
4 Signs Your Business is Dying
shpigford
187
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Curious Case for Waylosing
cassininazir
0
240
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
57
Automating Front-end Workflow
addyosmani
1371
200k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Transcript
mrubyで躓いたところを 共有したい
なんでしたいのか? ・mrubyでゲーム作っていてめちゃくちゃ躓いた。 ・でも、詳しい動作を調べると絶対に時間がかかる。 ・今後、やる人が居たら、それを知っておいてくれるのもいいかもしれないと思ってやっ た。
躓いたポイント ・ポインタが理解できなかった ・うまく、Cでつくったクラスが動かせなかった。
なぜ、ポインタが理解できなかったのか? ・メモリ管理の理解が浅い ・概念が馴染みがない ・しっくりくる説明を知らなかった
Cで作ったクラスが正しくロードされていなかった 何が起こったのか? ・mrb_mruby_games_gem_initで正しくロードがされていなかった。 ・コンパイルにはエラーがされていない。 解決策 ・エントリーポイントに処理をまとめておけばよかった。