3 ms·
I'm a little annoyed that they said Bigint uses cases never materialized. I've used it several times and it isn't something that's easy to transpile. A bigint c
by 8n4vidtmkvmk 2y ago
I'm a little annoyed that they said Bigint uses cases never materialized. I've used it several times and it isn't something that's easy to transpile. A bigint class has bad ergonomics and there's no way the perf can be equivalent.
- senfiaj 2y agoSame toughs. It's irreplaceable when working with arbitrary sized integers. Even if it's used on 1-2% of websites, it's still a significant usage. Surely, it won't be used as commonly a regular floating point number.
- styfle 2y agoIt’s because Google doesn’t use Node.js or any JS outside the browser, so they assume low browser usage is low usage in general which isn’t true. https://github.com/search?q=BigInt+language%3ATypeScript&type=code https://github.com/search?q=BigInt+language%3ATypeScript&typ... https://github.com/search?q=BigInt+language%3AJavaScript&type=code https://github.com/search?q=BigInt+language%3AJavaScript&typ...