Y
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
espadrine
4404 days ago
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.
link
pcwalton
4404 days ago
Caching of the compiled asm.js code is implemented:
https://blog.mozilla.org/luke/2014/01/14/asm-js-aot-compilat...
link
fulafel
4404 days ago
Yes. And you could leave out support for PDF-embedded JS for this purpouse.
link
On the other hand, there might be an initial compilation pause when starting to load the PDF.