Compiling Your Language to WasmGC & Friends
LTトラックAEnglish
WasmGCは、ガベージコレクション機能を持つ言語をWebAssemblyにコンパイルすることを可能にします。しかし、実際のコンパイラバックエンドでは、まだいくつかの課題が残っています。例えば、豊富な型システムをWasmGCにマッピングすること、非同期コードをJSPIでブリッジすること、そしてWasmオブジェクトがJavaScriptプロトタイプを保持できるようにカスタムディスクリプタを使用することなどです。
このライトニングトークでは、ScalaからJavaScript/WasmへのコンパイラであるScala.jsを例に挙げながら、これらの課題について解説し、皆さんが最も関心を寄せている点、つまり「WasmGCは高速なのか?」という点についてお話しします。WasmGCバックエンドとJavaScriptバックエンドのベンチマーク結果もご紹介します。

Rikito Taniguchi
Rikito (@tanishiking) is working as a Scala Compiler Engineer at VirtusLab and Scala Center. Most of his development work has been on the Scala 3 compiler and build tooling, and he is currently focused on the Scala-to-Wasm compiler. In his spare time he enjoys bouldering and MtG though these days he's mostly busy by parenting.