Entries Tagged ‘memory’:

What every programmer should know about memory

“In the early days computers were much simpler. The various components of a system, such as the CPU, memory, mass storage, and network interfaces, were developed together and, as a result, were quite balanced in their performance. For example, the memory and network interfaces were not (much) faster than the CPU at providing data. This [...]

Tags: , , ,

Leave a Comment

Uninitialized Memory in Arrays

This is a really neat trick that has been around for over 30 years. With an array, you can leave values uninitialized and then read during normal operation and your code will work properly no matter what junk data is in the array. I may try to implement this using C or Perl just for [...]

Tags: , ,

Leave a Comment