Closed sindresorhus closed 5 years ago
@sindresorhus Is it time already for this ??
It'll be a long while still before these v8 changes land in Node. See this node release list which details the supported versions of v8.
Node already supports BigInt behind flag.
Since this library is written in TypeScript, we probably have to wait for TypeScript to support BigInt
, BigInt64Array
, and BigUint64Array
.
An issue is opened for this: https://github.com/Microsoft/TypeScript/issues/15096
And it is listed in TypeScript 3.0 milestone: https://github.com/Microsoft/TypeScript/milestone/70
It seems they started working on the milestone 2 weeks ago but only 2% are closed. It will still take time.
TypeScript now supports BigInt: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html
@issuehunt has funded $40.00 to this issue.
Hello!
I'd like to help out with implementing support for BigInt and its Array types. What would I need to do to get started? Just create a PR?
Hey @vladfrangu -- your help is very welcome 😄
I'd recommend opening a PR and following the patterns in the code and tests that all of the other types follow. Feel free to open a WIP PR and ask any questions you may have along the way.
Maybe just start with BigInt
to keep the PR focused and then add support for the array types in a second pass.
Thanks!
@sindresorhus has rewarded $36.00 to @vladfrangu. See it on IssueHunt
http://2ality.com/2017/03/es-integer.html https://groups.google.com/forum/#!msg/v8-dev/x571Gr0khNo/y8Jk0_vSBAAJ
Also
BigInt64Array
andBigUint64Array
Blocked by https://github.com/Microsoft/TypeScript/issues/15096