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
mrubyで躓いたところを共有したい!
Search
yuukis234
April 25, 2019
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mrubyで躓いたところを共有したい!
yuukis234
April 25, 2019
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
How to train your dragon (web standard)
notwaldorf
96
6.9k
Leo the Paperboy
mayatellez
10
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Done Done
chrislema
187
17k
The SEO Collaboration Effect
kristinabergwall1
1
590
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Music & Morning Musume
bryan
48
7.4k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Transcript
mrubyで躓いたところを 共有したい
なんでしたいのか? ・mrubyでゲーム作っていてめちゃくちゃ躓いた。 ・でも、詳しい動作を調べると絶対に時間がかかる。 ・今後、やる人が居たら、それを知っておいてくれるのもいいかもしれないと思ってやっ た。
躓いたポイント ・ポインタが理解できなかった ・うまく、Cでつくったクラスが動かせなかった。
なぜ、ポインタが理解できなかったのか? ・メモリ管理の理解が浅い ・概念が馴染みがない ・しっくりくる説明を知らなかった
Cで作ったクラスが正しくロードされていなかった 何が起こったのか? ・mrb_mruby_games_gem_initで正しくロードがされていなかった。 ・コンパイルにはエラーがされていない。 解決策 ・エントリーポイントに処理をまとめておけばよかった。