News for hackers. Stuff that matters.
Re:How to find size of an array in C without sizeof by kabdib on Monday December 26, 2016 @05:40PM (#13260159)
Often enough; "pack" files in video games are often many GB. Memory-map one of those and there you are . . .
Re:How to find size of an array in C without sizeof by bonzini on Monday December 26, 2016 @05:47PM (#13260188)
The parent is taking about >2gb on a 32-bit machine.
Re:How to find size of an array in C without sizeof by icebraining on Tuesday December 27, 2016 @05:32AM (#13262391)
So what? You can have up to 64GB of RAM on a 32-bit machine: https://en.wikipedia.org/wiki/Physical_Address_Extension
Re:How to find size of an array in C without sizeof by bonzini on Tuesday December 27, 2016 @02:05PM (#13265257)
But those have to be mapped a slice at a time into virtual addresses.