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
Katsuhiko Kageyama
September 14, 2026
Technology
65
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
450
Family mrubyの進捗
kishima
1
160
PicoRuby as a Multi-VM Operating System
kishima
1
570
PCとPicoRuby-ESP32間でシリアルファイル転送
kishima
1
64
M5UnifiedとPicoRubyで楽しむM5シリーズ
kishima
0
660
Rubyでmicro-ROS!
kishima
0
230
mruby(PicoRuby)で ファミコン音楽を奏でる2
kishima
1
290
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
2
870
PicoRuby/R2P2で自分だけのコンピュータを作ろう
kishima
1
850
Other Decks in Technology
See All in Technology
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
150
TSKaigi Sendai 2026 - tsgo時代のTypeScript Playgroundはどう動くか
teamlab
PRO
0
100
AIエージェント統制はAPIから——押さえるべき5つの要素
nagix
0
120
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
150
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
150
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
480
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
0
250
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
4
2.5k
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
1
150
Copilot Coworkで「みのるん式」やってみた
minorun365
PRO
2
1.5k
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
1
150
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
630
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Marketing to machines
jonoalderson
1
6k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
320
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
670
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Thoughts on Productivity
jonyablonski
76
5.4k
Product Roadmaps are Hard
iamctodd
55
13k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Between Models and Reality
mayunak
4
560
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