dcodeIO / webassembly

A minimal toolkit and runtime to produce and run WebAssembly modules.
Other
816 stars 31 forks source link

Binary tools cache & load from buffer #29

Open finwo opened 5 years ago

finwo commented 5 years ago

Reason for the load from buffer: Makes it easier to include compiled modules into a packaging system like browserify or webpack by converting the compiled file into a buffer-returning javascript file.

Reason for the binary tools cache: To prevent multiple downloads of the same file during both development and deployment (some projects may install WebAssembly multiple times through various paths).