Maybe consider making the primitive be fixed-modulus finite commutative rings ℤ/nℤ instead.
-
-
…so lot’s of special cases vs having few primitives?
-
It's more general than special-casing (mod 2**64) as uint64_t or whatever.
-
what matters to me is special cases in VM. Multiply them by number of different VMs...
-
to get a full picture. One high-level JS library with int64 could do all of this, and..
-
…wouldn’t have to be re-implemented everywhere
-
we can always introduce int128 later, or even BigInts as a replacement for both
-
but for that, you'll need to have a lot of magic too, like unboxed int64 arrays
-
/me improvising on unboxing: what if we would fetch Int64 out of Int32 array?
- 15 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.