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
同人誌とVMづくり
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Katsuhiko Kageyama
September 14, 2026
Technology
56
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
同人誌とVMづくり
Katsuhiko Kageyama
September 14, 2026
More Decks by Katsuhiko Kageyama
See All by Katsuhiko Kageyama
Tab5をRubyで動くパソコンにする
kishima
2
420
Family mrubyの進捗
kishima
1
140
PicoRuby as a Multi-VM Operating System
kishima
1
500
PCとPicoRuby-ESP32間でシリアルファイル転送
kishima
1
58
M5UnifiedとPicoRubyで楽しむM5シリーズ
kishima
0
580
Rubyでmicro-ROS!
kishima
0
200
mruby(PicoRuby)で ファミコン音楽を奏でる2
kishima
1
240
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
2
830
PicoRuby/R2P2で自分だけのコンピュータを作ろう
kishima
1
700
Other Decks in Technology
See All in Technology
[2026 Oracle Technical Deep Dive] VMwareワークロードのOCI移行実践ガイド - OCVSでの継続利用からOCIコンピュートへの移行まで (2026年9月17日開催)
oracle4engineer
PRO
0
110
2026-10-01_MagicPod_QAハーネスエンジニアリングとQA組織の未来像
ynisqa1988
1
490
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
520
生成AIで高い生産性を求められて、 悩み、乗り越えた話
mot_techtalk
2
110
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
200
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
310
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
170
20260930_Gemma4_Hands-on
tsho
0
210
[2026 Oracle Technical Deep Dive] AI時代のデータベース基盤をどう選ぶ? Exadata Database Serviceの選択肢と使い分け (2026年9月17日開催)
oracle4engineer
PRO
0
210
1人アドミンな私はAWSアカウント申請をSlackで完結したい!
ysuzuki
0
110
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
leveragestech
PRO
0
140
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
810
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Skip the Path - Find Your Career Trail
mkilby
1
240
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Building Adaptive Systems
keathley
44
3.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
Code Review Best Practice
trishagee
74
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Code Reviewing Like a Champion
maltzj
528
40k
Everyday Curiosity
cassininazir
0
340
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Transcript
同人誌と VMづくり 2026/9/14 ko.rb kishima
自己紹介 ID:@kishima IoTの会社で、ロボット制御など組み込み系やのお仕 事をしています 最近はPicoRuby(とC)で書いた自作OSで遊んで ます
11月の技術書典への出店 ? 2019年
AIと同人誌 バイトコードの命令の 説明だけなら、AIで ほぼ正確なものがで きる ・・・人間いらなくね?
バイトコード辞書→mruby が全部わかる本 目次 1 mruby の全体像 2 バイトコード 3 VM
の仕組み 4 GC 5 コードジェネレータ 6 組込みクラスとライブラリ 7 Extension # puts "Hello, " + "Ruby" irep 0 nregs=5 nlocals=1 pools=2 syms=1 reps=0 ilen=15 1 000 STRING 2 0 1 003 STRING 1 006 ADD 1 008 SSEND 1 012 RETURN 1 014 STOP 3 2 1 1 1 0 こんな感じのバイトコード 8 移植の手順 9 opcode リファレンス(全 119 命令) AIでやれるところまでやってみるかの精神 1 ; :puts
人とAIのための本にする 実装解説書なので、AIでも書ける範囲は多い 人間はあまり実装を理解しなくてもいい時代なのかも 新しい目的: 誰でもmruby VM を AI で実装できる材料にもできる本
実際にVMを作って本に生かす 本を書く → 実装で確かめる → 本を直す → …
SabiRuby — Rust 製の mruby VM(最新準拠) Fable+Opusで、2日で 大体できてしまった 119 2344/2507
40 実行命令すべて実装 mruby付属のテストを通した 通らないものは理由あり 移植した gem(Fiber, Regexp, Task…) no_std 1 ×3.5 wasm でもマイコン向けでも ビルドしやすい Unsafeの数 C-mrubyとの比較は3倍遅い!(フィボ ナッチ数計算)
SabiRuby Playground ・本家のコンパイラと SabiRuby を WebAssembly に ・VM インスペクタ:1 命令ずつ進めて、レジスタ・フレーム・GC
を見る ・Fiber、Task、正規表現、実時間の sleep などサンプル付き kishima.github.io/sabiruby-playground/
Bevy との連携 (rubevy) ・ロボット 1 体 = mruby-task のタスク 1
つ ・ゲーム内エディタで書き換えて即反映 ・loop {} を書いてもゲームは止まらない SabiRuby Battle: https://kishima.github.io/rubevy_games/
技術書典21 の新刊 「Deep Dive into mruby」 現在、下書きで350ページ・・・ 成果物: SabiRuby github.com/kishima/sabiruby
Playground kishima.github.io/sabiruby-playground/ SabiRuby Battle kishima.github.io/rubevy_games/ 移植キット github.com/kishima/mruby-porting-kit