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
Ractorを試してみるぞ!+メタバースにおける地域.rbをやっているぜ
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ItoJum
June 22, 2026
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ractorを試してみるぞ!+メタバースにおける地域.rbをやっているぜ
ItoJum
June 22, 2026
More Decks by ItoJum
See All by ItoJum
VRChat.rb_11_メタプログラミングRubyのご紹介.pdf
itojum
0
13
従業員データ基盤でのパターンマッチをご紹介_Roppongi.rb スポンサーLT
itojum
0
65
DXRuby互換のPicoRuby.wasmライブラリを作っている
itojum
1
47
RubyKaigi_2026_follow_up_SmartHRスポンサーLT
itojum
0
22
サマーインターンシップのメン ターをやって得た学び5選_あつまれ!若⼿エンジニアのLT&ゆるっと交流会
itojum
0
270
SmartHRを支える従業員データ基盤とそのインフラ_Innovative Crosstalk Jamboree Geeks '26
itojum
0
400
VRChat.rbの野望.pdf
itojum
0
14
なぜtree-sitter-rubyの日本語シンボルはシンタックスハイライトされないのか
itojum
0
96
新卒一年目のコミュニティ駆動ライフ_新卒N年目のLT交流会.pdf
itojum
0
130
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
340
A better future with KSS
kneath
240
18k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
850
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
900
Code Review Best Practice
trishagee
74
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
30 Presentation Tips
portentint
PRO
1
400
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
Transcript
Ractorを試してみるぞ! wakate.rb #7 いとじゅん(@itojum1230) 1
自己紹介 いとじゅん(@itojum1230) SmartHRでプロダクトエンジニアやってます。そろ そろ試用期間が終わります 技術コミュニティとメタプログラミングに 興味があります VRChat.rbのオーガナイザーをやってます 2
Ractorってなぁに? • Ruby3.0から実験的に導入されている • Rubyにおける並列処理機能 • なんかいろいろ期待の機能らしい ◦ GVLという排他制御の制限を回避し、 真の並列処理
を行えるらしい ◦ 変更可能なオブジェクトを共有できない ◦ 強そう 3
並行・並列処理の比較表 Thread Ractor Process.fork 並行/並列 並行(I/O待ちのみ並列) 並列 並列 GVLの影響 受ける
受けない 受けない メモリ消費 小 小~中? 大 メモリ空間 共有できる 共有しない CoW 4
試してみよう! • 環境 ◦ MacBook air ◦ M2(8コア) • 処理内容
◦ 10,000のmdファイルを htmlファイルへ変換 ◦ Frontmatter ◦ ERB • ベンチマーク ◦ 処理時間 ◦ メモリ消費量 生成されるHTML 5
結果 実行時間 メモリ消費量 なにもなし 8.32s 34.8MB Thread 8.20s 39.1MB Ractor
3.38s 42.5MB Process.fork 2.15s 203.6MB 6
おわりに • 比較表と大体同じ結果が得られた ◦ Process.forkが一番速いが、メモリ消費がすごい ◦ Ractorがバランスよさそう • なお、RactorはGemの互換性がネックすぎる ◦
Markdownパーサーを自作する羽目になった ◦ Process.forkはどうなんですかね?教えてえらい人 7
メタバースにおける地域.rbを やっているぜ wakate.rb #7 いとじゅん(@itojum1230) 8
自己紹介 いとじゅん (@itojum1230) SmartHRでプロダクトエンジニアやってます。 そろそろ試用期間が終わります 技術コミュニティとメタプログラミングに興味が あります VRChat.rbのオーガナイザーをやってます 9
自己紹介 いとじゅん (@itojum1230) SmartHRでプロダクトエンジニアやってます。 そろそろ試用期間が終わります 技術コミュニティとメタプログラミングに興味が あります VRChat.rbのオーガナイザーをやってます 10 これの話をします
私がオーガナイザーをやっているイベント 11
VRChat.rbとは リアルのRubyコミュニティと メタバース上の技術学術コミュニティを つなぐコミュニティ 12
実際の様子 13
VRChat.rbの特徴 14
メタバース開催の気軽さ 場所の制約一切なし!時間の制約も緩い! Rubyistじゃない人もふらっと訪れる気軽さ! 15
リアル開催に近いコミュニケーションの質 メタバース空間を共有して交流できる! リアルと同じように交流の輪が形成される! 16
VRChat.rbの目標 17
リアルとメタバースの相互交流 リアルからRubyistがVRChat.rbを通して、 VRChatの技術コミュニティに! VRChatの技術コミュニティから、 リアルのRubyコミュニティに! 18
宣伝 VRChat.rb #5 19 次回は6/23㈫22:00~(明日!)
まとめ • VRChat.rbはVRChatで開催されて いる地域.rb • リアルのRubyistとメタバース上のエ ンジニアをつなぐことが目的 • 明日開催される!!!! ◦
これが一番重要 20