Loïc Grenié on Fri, 22 Jan 2016 21:59:51 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Experimental javascript port of GP

On 2016-01-22 at 21:49 GMT+01:00 Bill Allombert wrote:
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

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

you can time it using


  (153 in a native 64bit binary) what do I win?
(gettime() does not work)

     However bnfinit does, so the most important function ever is