Hi,

just wanted to ask if anyone is currently working on optimizing BigInts 
(especially ones that fit in 64bit), or if it is being considered in some 
prioritetization efforts?

The proposal [0] and the blog post [1] suggest that it is on the roadmap, 
I'm just wondering if anything is already happening.

I think this would be particulary useful for compilers targeting js (as 
changing int backend is clearly much easier than changing the target to 
wasm), such as Scala.js [2], or js_of_ocaml (which is what I have a direct 
interest in).

Could someone estimate how hard would it be to implement the basic 
optimizations (like BigInt.asIntN(64, b1 + b2) => native addition)?

[0] https://github.com/tc39/proposal-bigint#dont-break-good-performance
[1] https://v8.dev/blog/bigint
[2] https://github.com/tc39/proposal-bigint/issues/117

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to