Re: [webkit-dev] BigInt implementation

2017-10-19 Thread Jordi Montes
Hello Filip, I spent some time looking for the perfect library to implement BigInts in JS some months ago and I did not find any match. Many of the C++ librearies have or a license problem (GMP, MPFR..), or need the size of the integer at compile time (ttmath,..) or two indirections header + the n

Re: [webkit-dev] BigInt implementation

2017-10-19 Thread Michael Catanzaro
On Wed, Oct 18, 2017 at 7:50 PM, Caio Lima wrote: As I have checked with some other implementors, some of them are going to use libgmp (SpiderMonkey case), but I don’t think its license (GPLv2) aligns with WebKit’s license and I heard that V8 is implementing their BigInt lib as well. This li

Re: [webkit-dev] BigInt implementation

2017-10-19 Thread Filip Pizlo
Seems like V8’s is an ok place to start. Maybe all you’d have to do is remove the accurate GC artifacts (Handle and such). -Filip > On Oct 19, 2017, at 2:31 AM, Daniel Ehrenberg wrote: > > On 2017-10-19 03:18, Filip Pizlo wrote: >>> On Oct 18, 2017, at 5:50 PM, Caio Lima wrote: >>> >>> Hi W