Giter VIP home page Giter VIP logo

Comments (9)

Hoishin avatar Hoishin commented on September 13, 2024 1

Node already supports BigInt behind flag.
screen shot 2018-05-22 at 12 14 29

from is.

vladfrangu avatar vladfrangu commented on September 13, 2024 1

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?

from is.

sunilhari avatar sunilhari commented on September 13, 2024

@sindresorhus Is it time already for this ??

https://twitter.com/v8js/status/991705626391732224

from is.

transitive-bullshit avatar transitive-bullshit commented on September 13, 2024

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.

from is.

Hoishin avatar Hoishin commented on September 13, 2024

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: microsoft/TypeScript#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.

from is.

sindresorhus avatar sindresorhus commented on September 13, 2024

TypeScript now supports BigInt: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html

from is.

IssueHuntBot avatar IssueHuntBot commented on September 13, 2024

@IssueHunt has funded $40.00 to this issue.


from is.

transitive-bullshit avatar transitive-bullshit commented on September 13, 2024

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!

from is.

IssueHuntBot avatar IssueHuntBot commented on September 13, 2024

@sindresorhus has rewarded $36.00 to @vladfrangu. See it on IssueHunt

  • 💰 Total deposit: $40.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $4.00

from is.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.