> On Oct 18, 2017, at 5:50 PM, Caio Lima <[email protected]> wrote: > > Hi WebKittens. > > I’m planning to start implement JS BigInt proposal on JSC, however I > would like to sync with you the way you are planning to implement such > feature. > > Right now, I’m thinking in implement BigInt operations into C++ > (possibly on WTF?) and make the JSBigInt use this implementation.
We need something GC-optimized from the start since that will determine a lot of the details. So, I don’t think that a WTF implementation is appropriate. It should be a JSCell from day one. > 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. By now, I’m thinking in implement a proof of > concept and then, optimize the BigInt lib part. So, what I would like > to collect from you is: Is there any problem start work on that > feature? We should do a GC-optimized bigint. If there was a great library that had the right license, we could port it to allocate using our GC. I don’t have a strong view on whether we should write our own from scratch or use somebody else’s as a starting point (so long as the license is ok). I don’t have any objection to you working on this. -Filip > > It is one of the proposals that I’ve made to my Coding Experience at > Igalia, so I will also have the support of developers from there, > since they are implementing it on SpiderMonkey and the spec champion > is also in the team. > > Regards, > Caio. > _______________________________________________ > webkit-dev mailing list > [email protected] > https://lists.webkit.org/mailman/listinfo/webkit-dev _______________________________________________ webkit-dev mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-dev

