Andreas Holmstrom on Sat, 30 Jan 2016 21:58:35 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Experimental javascript port of GP |
Dear PARI developers,
Following Bernard Parisse (the author of xcas) demo
at the Ateliers, I have built PARI/GP to _javascript_ using emscripten.
The result is a version of GP that run in your browser.
You can try it at
<http://pari.math.u-bordeaux.fr/gp.html>
It has close to the same feature set as the stand-alone windows binary.
The speed depends on your web browser.
With firefox, it is about four time slower than a native binary.
(part of the slowness being due to _javascript_ missing support for
64bit integers, so PARI is compiled for 32bit).
One test is
factor(2^128+1)
you can time it using
my(t=getwalltime());factor(2^128+1);getwalltime()-t
(gettime() does not work)
Cheers,
Bill.