Bringing the Web up to Speed with WebAssembly - nagutabby/senior-thesis GitHub Wiki

Citation


@inproceedings{10.1145/3062341.3062363,
author = {A. Haas and others},
title = {Bringing the Web up to Speed with WebAssembly},
year = {2017},
isbn = {9781450349888},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3062341.3062363},
doi = {10.1145/3062341.3062363},
booktitle = {Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation},
pages = {185–200},
numpages = {16},
keywords = {assembly languages, type systems, virtual machines, programming languages, just-in-time compilers},
location = {Barcelona, Spain},
series = {PLDI 2017}
}

概要

  • Cのプログラムを、JavaScriptであるasm.jsの代わりにWebAssemblyにコンパイルすると、Chromeで43%早く実行される
  • 評価した24のベンチマークのうち、WebAssemblyを使用した7つのベンチマークの実行時間のほぼ全てで、WebAssemblyはネイティブコードよりも2倍以上遅い
  • PolybenchCベンチマークスイートを使用したベンチマークを実施