<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizdra</author_name>
  <author_url>https://blog.hatena.ne.jp/mizdra/</author_url>
  <blog_title>mizdra's blog</blog_title>
  <blog_url>https://www.mizdra.net/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>Rust</anon>
    <anon>webassembly</anon>
    <anon>ポケモン</anon>
  </categories>
  <description>tl;dr C++のツールをWebAssemblyを使ってWebに移植した WebAssemblyへコンパイルする言語としてRustを, JS-WebAssembly間のバインディングにwasm-bindgenを採用した 乱数計算処理をWebAssemblyで実装することで, C++実装と比べて0.2〜0.7倍, JS実装と比べて1〜13倍の性能が出た はじめに 枠だけ確保してずっと放置していた去年のAdvent Calendarの記事がようやく書けたと思ったら, もう少しで今年のAdvent Calendarがやってくる季節になってしまいました. この記事は Pokémon RNG Adve…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mizdra.net%2Fentry%2F2018%2F10%2F17%2F080000&quot; title=&quot;WebAssemblyを使って乱数調整ツールをWebに移植した話 - mizdra&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mizdra/20181016/20181016174516.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-17 08:00:00</published>
  <title>WebAssemblyを使って乱数調整ツールをWebに移植した話</title>
  <type>rich</type>
  <url>https://www.mizdra.net/entry/2018/10/17/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
