Hacker News new | ask | show | jobs
by v413 4404 days ago
How about converting this viewer through Emscripten using asm.js. Would be interesting to see performance comparison with pdf.js :)
2 comments

Especially on Firefox. The product would be asm.js…

On the other hand, there might be an initial compilation pause when starting to load the PDF.

Caching of the compiled asm.js code is implemented: https://blog.mozilla.org/luke/2014/01/14/asm-js-aot-compilat...
Yes. And you could leave out support for PDF-embedded JS for this purpouse.