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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Katsuhiko Kageyama
September 14, 2026
Technology
62
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
440
Family mrubyの進捗
kishima
1
150
PicoRuby as a Multi-VM Operating System
kishima
1
520
PCとPicoRuby-ESP32間でシリアルファイル転送
kishima
1
60
M5UnifiedとPicoRubyで楽しむM5シリーズ
kishima
0
620
Rubyでmicro-ROS!
kishima
0
210
mruby(PicoRuby)で ファミコン音楽を奏でる2
kishima
1
260
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
2
850
PicoRuby/R2P2で自分だけのコンピュータを作ろう
kishima
1
780
Other Decks in Technology
See All in Technology
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.4k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
190
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
200
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
900
How to Design Configuration for Rails Applications
willnet
1
860
AI時代のPRレビューにどう向き合うか?
kairim0
1
250
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
150
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
160
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
290
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
220
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
It's Worth the Effort
3n
188
29k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Bash Introduction
62gerente
615
220k
Become a Pro
speakerdeck
PRO
31
6.3k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
The Cost Of JavaScript in 2023
addyosmani
55
10k
My Coaching Mixtape
mlcsv
0
360
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