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
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
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
My Coaching Mixtape
mlcsv
0
320
Practical Orchestrator
shlominoach
192
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Code Review Best Practice
trishagee
74
20k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
430
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
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