@bmeurer just wrote a little Knuth's uparrow library https://www.npmjs.com/package/uparrow but I thought BigInt has only a hardwarelimit. Found in the V8 [https://v8.dev/features/bigint ] article to BigInt that it is capped at 64-bit Integers. Is there an (easy) way to exceed that limit? #v8 #bigint
See https://v8.dev/blog/bigint#fn2 . "Sorry, we haven’t yet figured out how to squeeze an infinite amount of data into your computer’s finite amount of memory"
-
-
But let's say some computer's have more finite memory to use than others. So why not trying to set the cap to the max(amountOfFiniteMemory) - alittleBitOfPlaceToHoldFree
-
We want limits to be the same on every machine, so that a program that works on your machine will run anywhere. That's why the max {BigInt, String, Array} length and the max {heap, object} size are all constants, independent from your machine's available memory.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.