<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>convertical</author_name>
  <author_url>https://blog.hatena.ne.jp/convertical/</author_url>
  <blog_title>anti scroll</blog_title>
  <blog_url>https://tategakibunko.hatenablog.com/</blog_url>
  <categories>
    <anon>縦書き文庫</anon>
    <anon>rust</anon>
    <anon>wasm</anon>
  </categories>
  <description>非同期処理への対応 wasm、js間の非同期処理に対応したことで、組版の完了したページを（全ページの計算の完了を待たずに）表示できるようになりました。 これによって、長編の作品も0.1 ~ 0.2秒ぐらいで表示されるようになり、使用感が改善されました。 技術的な部分 実はjsと非同期にやり取りする部分のコードのサンプルは、wasm_bindgenのサンプルに入っています。 https://github.com/rustwasm/wasm-bindgen/tree/main/examples/request-animation-frame 肝要なところを抜き出すと以下のようになります。 pub …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftategakibunko.hatenablog.com%2Fentry%2F2022%2F09%2F08%2F172058&quot; title=&quot;作品の長さに関係なく、高速に作品が表示されるようになりました - anti scroll&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-08 17:20:58</published>
  <title>作品の長さに関係なく、高速に作品が表示されるようになりました</title>
  <type>rich</type>
  <url>https://tategakibunko.hatenablog.com/entry/2022/09/08/172058</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
