News for hackers. Stuff that matters.
Re:Bosque Programming Language by scoutt on Thursday May 14, 2020 @10:38AM (#23180082)
This is correct, and applies (and is helpful) to many cases.

But the moment you need to shift an "Int", or do bitwise operations or transmit it in a network packet (think about endianness, etc.), is the moment you may regret that the compiler is doing too much heavy-lifting for you.

Re:Bosque Programming Language by a1369209993 on Thursday May 14, 2020 @04:17PM (#23184828)
If it actually is a unlimited-width integer, bit logic/shifting can work fine, and network packets have to be x&0xFF,x>>8&0xFF,etc anyway. But that's painful for direct translation to machine code (what happens when I try to return 340'282'366'920'938'463'463'374'607'431'768'211'456 from a function?), so either it's secretly a fixed-width integer (and they're being deliberately vague about what width, which is suspicious), or the language defaults to possibly allocating memory (and possibly getting a OOM error) on every single arithmetic operation, which is a catastrophically undesirable property in a systems programming language.