News for hackers. Stuff that matters.
Re:Vulnerabilities Induced by Migrating to 64-Bit Platforms ... by pcwalton on Sunday September 18, 2016 @01:04PM (#12526057)
> I wonder how much of the push towards LP64 (ints are 32 bits, pointers and longs are 64) was to match Java.

It was to avoid breakage when porting existing programs.

> I think this is one place where Swift (among other modern languages) has it right.

We used to do ILP64 in Rust and we got a huge number of complaints; there was work by a significant segment of the community to fork the language over it. The memory usage argument is still very important to a lot of people.

Re:Vulnerabilities Induced by Migrating to 64-Bit Platforms ... by gok on Sunday September 18, 2016 @02:32PM (#12526472)
So there are/was sufficient amounts of existing code that assumes that int is 32 bit, but not enough that assumes long is 32 bit?
Re:Vulnerabilities Induced by Migrating to 64-Bit Platforms ... by pcwalton on Sunday September 18, 2016 @02:33PM (#12526479)
Right. int is much more common than long.