Note that this is a v8/JavaScript feature, so this post is just an FYI for
blink-dev — no signoff from Blink API owners is required.


*Contact emails*

jkumme...@chromium.org, n...@chromium.org


*Explainer*

https://github.com/tc39/proposal-bigint/blob/master/README.md


*Spec*

https://tc39.github.io/proposal-bigint


*Summary*

This proposal brings arbitrary-precision integers to JavaScript, along with
new TypedArrays with signed and unsigned 64-bit integer elements.


*Is this feature supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?*

Yes.


*Debuggability*

As of this writing, DevTools support is being worked on. It will be
available before shipping.

All the usual DevTools features will work for code containing BigInts.


*Interoperability risk*

Edge: No public signals

Firefox: In development:
https://bugzilla.mozilla.org/show_bug.cgi?id=1366287

Safari: In development: https://bugs.webkit.org/show_bug.cgi?id=179001

Web developers: Positive, e.g.
https://github.com/tc39/proposal-bigint/issues/53


*Compatibility risk*

BigInt literals were invalid syntax before.

The "BigInt", "BigInt64Array", "BigUint64Array" constructors could clash
with user-defined globals.


*Activation risk*

The semantics of the BigInt proposal are not polyfillable (it would require
operator overloading).


*Tests*

test262 contains tests for BigInt, BigInt64Array, BigUintArray, which V8
passes.

V8 also has its own tests:
https://chromium.googlesource.com/v8/v8/+/master/test/mjsunit/harmony/bigint


*Tracking bug*

crbug.com/v8/6791


*Entry on the feature dashboard*

https://www.chromestatus.com/features/5371603852460032


*Requesting approval to ship?*

Yes.

We would like to ship BigInts on ToT in ~3 weeks, in time for Chrome 67.

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to