News for hackers. Stuff that matters.
Re:Beads: Computer language and toolchain by deckard1 on Thursday May 27, 2021 @05:49PM (#27309000)
bignum as the default integer is quite common in lots of languages[1]. Notably, Lisp, Scheme, Erlang, Python.

Scheme is a bit interesting in that they have a "numeric tower", which contains rationals and even complex numbers (implementations were free to implement a subset of this tower, at least as far as R5RS, not sure today)

[1] https://en.wikipedia.org/wiki/List_of_arbitrary-precision_ar...

Re:Beads: Computer language and toolchain by travv0 on Thursday May 27, 2021 @06:30PM (#27309394)
Just to elaborate a bit, in CL, numbers are FIXNUMs by default but are promoted to BIGNUMs if needed. CL also has rational and complex numbers, which it probably got from Scheme but I'm not familiar with that history.