ended4월 24일· 1 sources

Efficient tar Access in WebAssembly Through Virtual Mounting Without Extraction

WebAssembly 메모리 절감: tar 추출 없이 가상 마운팅으로 직접 접근

Why it matters

This technique eliminates the costly step of downloading, decompressing, and copying entire tar.gz archives by mounting them as virtual filesystems in WebAssembly using metadata indexing. By leveraging Emscripten's WORKERFS backend, file contents are accessed on-demand directly from the tar blob without copying data into the Wasm heap, making it essential for memory-constrained WebAssembly environments. The method has proven transformative for WebR, enabling significantly faster R package distribution while maintaining compatibility with existing static tar.gz hosting infrastructure.

1
Sources
+0
24h
Growth
145d
Active
WebAssemblytar archiveEmscriptenmemory mappingWORKERFS

Sources

Related Issues