Intent to ship: BigInt, BigInt64Array, BigUint64Array

288 views
Skip to first unread message

Jakob Kummerow

unread,
Mar 2, 2018, 2:25:47 PM3/2/18
to v8-users, v8-...@googlegroups.com, blink-dev

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

jkum...@chromium.org, ne...@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.


Mathias Bynens

unread,
Mar 2, 2018, 2:57:03 PM3/2/18
to v8-...@googlegroups.com, v8-users, blink-dev
🎉


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

ramon...@gmail.com

unread,
Mar 2, 2018, 3:20:31 PM3/2/18
to v8-u...@googlegroups.com

Hello!

I use a new email filtering service called BitBounce to better filter my spam. To deliver your email to my inbox, please click the link below and pay the small Credo fee. Thank you!

You can sign up or get more info about BitBounce by clicking here.

To deliver your email:

We’ve never met. I’ll pay your fee.

I know you. Add me to your whitelist.

Email That Pays

BitBounce is a product by:

Turing Technology, Inc.

BitBounce.com

Redwood City, CA

Adam Klein

unread,
Mar 2, 2018, 3:22:08 PM3/2/18
to v8-users, v8-...@googlegroups.com, blink-dev
LGTM for V8!

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscribe@googlegroups.com.

Sathya Gunasekaran

unread,
Mar 6, 2018, 9:07:28 PM3/6/18
to v8-...@googlegroups.com, v8-users, blink-dev
LGTM

On Fri, Mar 2, 2018 at 11:25 AM, Jakob Kummerow <jkum...@chromium.org> wrote:
> ---
> 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+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages