emscripten-core / emscripten-core/emscripten

[feature request] Modernize file_package.py: chunking; promise-based loading and file creation; caching/decompression -> library-js; JSON-based index

Open
#14,385 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Grouping earlier issues:
- [ ] https://github.com/emscripten-core/emscripten/issues/14362
- [ ] https://github.com/emscripten-core/emscripten/issues/12347
- [ ] https://github.com/emscripten-core/emscripten/issues/12342
- [ ] https://github.com/emscripten-core/emscripten/issues/18445

Currently it uses timers / dependenciesFullfilled callback which are not controlled by the user.

Maybe good first steps for an implementor:
- move out helper methods (mainly IDBFS caching / LZ4 decompression) produced by file_packager.py into a JS file that can be included with the main JS library
- file_packager.py should also export a JSON containing file-list and data offsets

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.