4 ms·
We use it for the hash module in our standard library for example: https://deno.land/std@0.91.0/hash https://deno.land/std@0.91.0/hash. The wasm version is magn
by lucacasonato 6y ago
We use it for the hash module in our standard library for example: https://deno.land/std@0.91.0/hash https://deno.land/std@0.91.0/hash. The wasm version is magnitudes faster than a pure JS implementation. Another example is sqlite, running in WASM: https://deno.land/x/sqlite@v2.4.0 https://deno.land/x/sqlite@v2.4.0. Fully sandboxed sqlite :-)
- int_19h 6y agoIt will be the ultimate irony if, 20 years down the line, Deno is still around, but solely as a de facto standard / cross-platform WebAssembly execution engine.
- e12e 6y agoWhy would that be ironic? It's essentially the route Java is taking with graal/truffle - allowing heterogeneous mix of languages to be compiled and optimized. Why not allow typescript to use Fortran numeric libraries via wasm?
- int_19h 6y agoJavaScript in Deno doesn't itself run on top of WebAssembly, so this isn't really quite like Graal. If you use Deno to run wasm, all the JS bits are basically ignored. It's a bit like using a web renderer solely for <canvas>.