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
440
2022 - COSCUP - 我想慢慢寫程式該怎麼辦?
elct9620
0
230
2022 - COSCUP - 打造高速 Ruby 專案開發流程
elct9620
0
250
Other Decks in Programming
See All in Programming
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
300
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
250
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
130
Datadog Workflow Automation で圧倒的価値提供
showwin
1
160
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
460
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.1k
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the benefits are huge)
lmammino
1
150
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
54
19k
Formの複雑さに立ち向かう
bmthd
1
930
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.6k
Ça bouge du côté des animations CSS !
goetter
2
150
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Building Applications with DynamoDB
mza
93
6.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
A better future with KSS
kneath
238
17k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
570
Measuring & Analyzing Core Web Vitals
bluesmoon
6
250
Building Adaptive Systems
keathley
40
2.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.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