Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
akkyie committed Jan 30, 2019
1 parent 705c4e4 commit 0958768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions src/020_related_works.ja.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ \section{ESP-IDFによるOTA}

Espressif SystemsによるESP8266およびESP32向け開発環境であるESP-IDF\cite{esp_idf}は、OTAアップデートを行う手段を提供している\cite{esp_ota}。
起動するプログラムが2つ格納できるようにパーティションを区切り、片方を起動に用いている間にもう片方に格納されているプログラムをアップデートすることで、起動中のOTAアップデートを実現している。

\section{WebブラウザにおけるWebAssemblyプログラムの実行}
9 changes: 0 additions & 9 deletions src/040_implementation.ja.tex
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,3 @@ \section{ホストプログラム}
FreeRTOS上のプロセスとして実装し、ESP-IDFによりコンパイルされESP32に書き込まれる。

このプログラム内に、事前にWebAssemblyバイナリとしてコンパイルしたプログラムを定数として保持し、libwasmを用いて実行する。

\section{既存実装との比較}

本実装による実行フローを、WebAssembly実行環境として一般に用いられるWebブラウザと比較する。

Webブラウザは取得したWebページのHTMLに基づいてJavaScriptを取得・実行し、JavaScriptからWebAssemblyプログラムを取得する。
取得したWebAssemblyプログラムはJavaScript VMで、JavaScript VMのJITを用いて実行される。

(図)

0 comments on commit 0958768

Please sign in to comment.