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
85
2020 - MOPCON - 拿到錘子的我想在為控制器上實作 Ruby VM
蒼時弦や
October 24, 2020
Tweet
Share
More Decks by 蒼時弦や
See All by 蒼時弦や
2023 - RubyConfTW - Rethink Rails Architecture
elct9620
0
46
20230916 - DDDTW - 導入 Domain-Driven Design 的最佳時機
elct9620
0
280
2023 - WebConf - 選擇適合你的技能組合
elct9620
0
490
20230322 - Generative AI 小聚 ft. Happy Designer
elct9620
0
240
2022 - 默默會 - 重新學習 MVC 的 Model
elct9620
1
360
MOPCON 2022 - 從 Domain-Driven Design 看網站開發框架隱藏
elct9620
1
400
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
200
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
220
2021 - RubyKaigi - It is time to build your mruby VM on the microcontroller?
elct9620
0
170
Other Decks in Programming
See All in Programming
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.2k
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
ゆるい個人開発のススメ
kuroppe1819
10
990
Site Reliability Engineering for GMO
pyama86
8
1k
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
0
860
Code Reviews
bkuhlmann
4
890
What We Can Learn From OSS
inouehi
0
420
Ruby Pattern Matching
bkuhlmann
0
930
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
640
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
120
Featured
See All Featured
The Language of Interfaces
destraynor
151
23k
Product Roadmaps are Hard
iamctodd
44
9.7k
Building an army of robots
kneath
300
41k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Facilitating Awesome Meetings
lara
42
5.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Unsuck your backbone
ammeep
663
57k
Agile that works and the tools we love
rasmusluckow
325
20k
How to Ace a Technical Interview
jacobian
272
22k
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