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
Rubyで書いたテトリスをブラウザで動かしてみた
Search
shigeru. nakajima
January 12, 2024
Programming
2.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubyで書いたテトリスをブラウザで動かしてみた
https://kyotojs.connpass.com/event/302442/
shigeru. nakajima
January 12, 2024
More Decks by shigeru. nakajima
See All by shigeru. nakajima
.NETでruby.wasmを動かしてみた
ledsun
0
99
Introduce dRuby
ledsun
0
580
Watching Ruby in browsers
ledsun
0
360
Using Ruby in the browser is wonderful
ledsun
1
5.3k
ruby.wasm に関する進捗報告
ledsun
0
1.5k
Hacking Guide of the ruby.wasm
ledsun
0
2.1k
私の作ったruby.wasm アプリケーション
ledsun
0
910
Load gem from browser
ledsun
2
2.2k
パラメタライズドテスト
ledsun
0
800
Other Decks in Programming
See All in Programming
ALB ログから Trace を気合で繋げる技術
fohte
7
880
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
440
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
240
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
300
Webの地図
yosuke_furukawa
PRO
6
4.1k
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
3.8k
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
1.9k
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1.1k
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
140
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
130
AI × TiDD / 2026.09.05 Redmine 大阪
tokudiro
1
120
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
The Limits of Empathy - UXLibs8
cassininazir
1
650
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
410
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
510
Embracing the Ebb and Flow
colly
88
5.2k
The SEO identity crisis: Don't let AI make you average
varn
0
550
Statistics for Hackers
jakevdp
799
230k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
340
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Transcript
WA RB Rubyで書いたテトリスをブ ラウザで動かしてみた 2024/01/12 ledsun (中島滋:株式会社ラグザイア) 於 ToKyoto.js #02
自己紹介 WA RB
本業はJavaScriptプロ グラマです。 サイトで動 いているアノテーションエ ディタを10年作っていま す。 WA RB https://textae.pubannotation.org/
WA RB
RubyKaigi 2023のスピーカー です。RubyのWebAssebly版 のruby.wasmを使ったブラウザ のRubyプログラミングを快適に する話をしました。 WA RB ここでpastakさんと出会いました。
WA RB
CRubyで書いたテト リスをruby.wasmつ かってブラウザで動か してみた WA RB
Qiita記事「WSL2上に Ruby開発環境を構築して テトリスを作ってみた」を参 考にテトリスを作りました。 WA RB https://qiita.com/flee_rife/items/c4bc3ff007a9af4f2625 同僚が書いた記事です。 「いいね」してもらえると嬉しいです。
WA RB VSCodeのターミナルで 動かすデモを見せます
ブラウザで動くように修正 しました。 WA RB
WA RB デモを見せます
修正ファイルはIOに関わる 3つだけです。 WA RB Webpackみたいな バンドルツールは つかっていません。
すごいでしょ。JavaScript でもなかなかできないはず。 UMDのような中間形式に 変換していません。 WA RB denoを使ったらできる? 詳しい人居たら教えてく ださい。
モジュールローディングの 互換性が難しい。 require/importがブラウ ザとCLIでミスマッチ。 WA RB ここを互換性を保って ruby.wasmに移植した
WA RB モジュールの依存関係を解決 してダウンロードしています。
すごいだろう、と 自慢しに来ました。 WA RB オチはないです
WA RB 提供 終