Firefox web browser - Faster, more secure & customizable Firefox Mobileの開発者のひとりであるAlon Zakai氏がオープンソース版のシューティングゲーム「DOOM」をブラウザへ移植したことを発表した。Emscriptenと呼ばれるLLVM-to-JavaScriptコンパイラを使い、CのソースコードをJavaScriptへ変換して実現している。特別な実装は使用されておらず、標準のWeb技術のみを組み合わせて実現したと説明がある。なお、執筆現在、記事に掲載されているJavaScript版のDOOMのページはアクセスできなくなっている。 実行速度を引き上げるための実装上の工夫として、通常の配列ではなく型付けされた配列を使っていることも紹介されている。JavaScriptの型付けされた配列を利用する事例はここ数ヵ月で特に増