emscripten-core / emscripten-core/emscripten
[question] Using lazy files in browser in main thread but in async mode
オープン
wontfix
- 主要言語
- C++
- スター
- 27.6k
- フォーク
- 3.6k
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 109
説明
The docs mention that browsers disallow synchronous XHR and thus lazy files are supported only in Web Worker mode. But binary XHR are supported in async mode, aren't they? When using MODULARIZE'd modules, we're in async mode anyway (and maybe ASYNCIFY could help to yield execution while file is loading over the internet)
(For me, it's mostly a question about consistency/ease of debugging, since in practice the heavy code should be running in Web Worker anyway)
コントリビューションガイド
評価
この issue はまだ評価されていません。