Re:Cakelisp: A performance-oriented Lisp-like language
by makuto on Friday June 02, 2023 @08:37AM
(#36164268)
That's true. I was mainly trying to indicate there is no boxing or anything like some languages seem to have with their types.
Re:Cakelisp: A performance-oriented Lisp-like language
by Warwolt on Friday June 02, 2023 @10:43AM
(#36165775)
> int is 32 bits with no sign bit or anything like other Lisp implementations do
This seems potentially confusing, since usually "int" just refers to a signed integer of some platform specific size.
Maybe it would be better to say something like, "int is like uint32_t, 32 bits and no sign bit without any additional data"?
int in C can be anything with at least 16 bits.