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
2020 - MOPCON - 拿到錘子的我想在為控制器上實作 Ruby VM
Search
蒼時弦や
October 24, 2020
Programming
0
91
2020 - MOPCON - 拿到錘子的我想在為控制器上實作 Ruby VM
蒼時弦や
October 24, 2020
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2024 - COSCUP - Clean Architecture in Rails
elct9620
2
140
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
110
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
380
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
600
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
330
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
420
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
450
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
230
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
260
Other Decks in Programming
See All in Programming
PRレビューのお供にDanger
stoticdev
1
240
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
900
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
160
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
620
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
330
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
18
4.1k
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
990
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
230
DRFを少しずつ オニオンアーキテクチャに寄せていく DjangoCongress JP 2025
nealle
2
280
楽しく向き合う例外対応
okutsu
0
700
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
710
Ça bouge du côté des animations CSS !
goetter
2
150
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
520
For a Future-Friendly Web
brad_frost
176
9.6k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Become a Pro
speakerdeck
PRO
26
5.2k
Navigating Team Friction
lara
183
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Designing for humans not robots
tammielis
250
25k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
How to Ace a Technical Interview
jacobian
276
23k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Transcript
拿到錘⼦的我想 在微控制器上⾯執⾏ Ruby Photo by Johannes Plenio from Pexels
WEB DEVELOPER GAME DEVELOPER ࣌ ݭ @elct9620
None
None
Background
None
None
Virtual Machine
In computing, a virtual machine (VM) is an emulation of
a computer system. - Wikipedia
Process virtual machines are designed to execute computer programs in
a platform-independent environment. - Wikipedia
Compiler Source Code Executable
Compiler Source Code Ruby VM
https://bit.ly/2T4BCiG
Getting Started
https://bit.ly/3ojwEwX
None
None
None
None
IREP
An intermediate representation (IR) is the data structure or code
used internally by a compiler or virtual machine to represent source code. - Wikipedia
app.mrb RITE Header IREP Debug Section
IREP ISEQ Pools Symbols IREP
mrb_exec
None
Load Variable
None
None
mruby is designed for Embedded System which is Raspberry Pi,
but mruby-L1VM's target is run under 1KB RAM
Behind VM
None
None
None
None
None
None
None
Hardware
Development Board is made software developer easier to build an
application with hardware
The SDK for Development Board usually based on C or
C++, which means it is possible to run Golang, Ruby, or Python on it.
The hardest for developers is no hardware knowledge to write
their driver for their hardware
Hardware Abstraction Layer
https://bit.ly/3kiNzxf
https://bit.ly/3mcdLdu
None
None
None
Conclusion