News for hackers. Stuff that matters.
Re:David Patterson Says It’s Time for New Computer Architect... by bcheung on Monday September 17, 2018 @09:06PM (#18011541)
There's bit fields in C++.

https://en.cppreference.com/w/cpp/language/bit_field

If you don't need the full precision or range of a 64-bit integer you can pack multiple of them together to get multiple integers transferred in a single cache line read. Compressing in this manner also means you are more likely to get a cache hit.

There are no comments on this comment yet.