BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//pretalx.coscup.org//coscup-2026//talk//8KYD9D
BEGIN:VTIMEZONE
TZID:CST
BEGIN:STANDARD
DTSTART:20000101T000000
RRULE:FREQ=YEARLY;BYMONTH=1
TZNAME:CST
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:pretalx-coscup-2026-8KYD9D@pretalx.coscup.org
DTSTART;TZID=CST:20260809T101000
DTEND;TZID=CST:20260809T104000
DESCRIPTION:SITCON 2026 我們在 Ruby Taiwan 攤位放了一個現場用 R
 uby 寫一行程式的小遊戲：Jekyll 靜態站 + ruby.wasm，在瀏覽
 器裡跑 Ruby 4.0。設計上很單純，工程上完全不是。\n\n上
 線第一天我們發現：iOS Safari 整個卡住、Android Chrome 靜默
  hang 在載入畫面、學生切到別的 app 回來題目就消失。最
 後這個跑了一千人的攤位，背後其實是三個讓我們改寫
 一半程式碼的手機瀏覽器地雷。\n\n這場 talk 會帶你進到
 這個專案的引擎室：我們怎麼把 EXPECTED_MAP 整段砍掉、改
 用 `rubyVM.eval` + StringIO + `srand(seed)` 讓答案在前端即時算
 ；中、英、日三語的 i18n 怎麼從 Liquid 一路注入到 JavaScri
 pt；7 題標準 Ruby 加 3 題 JS／Python／PHP 對照題的跨語言流
 程怎麼設計；以及那三個手機 bug 真正的 root cause 與修法
 。\n\n適合對 ruby.wasm、前端 Ruby、或「怎麼把 Ruby 推到 Rai
 ls 以外」有興趣的所有人。\n\n---\n\nAt SITCON 2026\, the Ruby T
 aiwan booth ran a live coding game: a Jekyll static site + ruby.wasm 4.0\,
  with students writing one-line Ruby in the browser. Simple in concept\, b
 rutal in practice.\n\nDay one\, we found out: iOS Safari froze\, Android C
 hrome silently hung at load\, students who switched apps lost their progre
 ss. The booth that served 1000 students was held together by fixes for thr
 ee mobile-browser landmines.\n\nThis talk takes you into the engine room: 
 how we replaced a giant EXPECTED_MAP with `rubyVM.eval` + StringIO + `sran
 d(seed)` to compute answers in the browser\; how zh/en/ja i18n flows from 
 Liquid into JavaScript\; how the 7 Ruby + 3 cross-language (JS/Python/PHP)
  format works\; and the real root cause behind each mobile bug.\n\nFor any
 one curious about ruby.wasm\, Ruby in the browser\, or pushing Ruby beyond
  Rails.
DTSTAMP:20260713T142445Z
LOCATION:TR514
SUMMARY:你的 ruby.wasm 在手機上其實會壞 - Mu-Fan Teng
URL:https://pretalx.coscup.org/coscup-2026/talk/8KYD9D/
END:VEVENT
END:VCALENDAR
