What every programmer should know about memory (2007)
1–10 of 55 posts
Re: What every programmer should know about memory (2007)
#2Great Read.
Re: What every programmer should know about memory (2007)
#3http://www.eecs.berkeley.edu/~rcs/research/interactive_laten...
Re: What every programmer should know about memory (2007)
#4Re: What every programmer should know about memory (2007)
#5never dynamically allocate it unless forced.
really. never allocate at run-time it unless you are absolutely forced by your algorithm.
if you absolutely really must allocate memory on the fly, have a budget so you can do one big up-front allocation and carefully reuse it. even better, don't allocate it to start with.
Re: What every programmer should know about memory (2007)
#6When working with embedded systems this information is more usefull, but very few programmers actually do work in that industry compared to others, e.g. web
Re: What every programmer should know about memory (2007)
#7there are just three things i wish programmers knew about memory... none of them are especially low-level or require depth of understanding. never dynamically allocate it unless forced. really. never allocate at run-time it unless you are absolutely forced by your algorithm. if you absolutely really must allocate memory on the fly, have a budget so you can do one big up-front allocation and carefully reuse it. even b…
Re: What every programmer should know about memory (2007)
#8there are just three things i wish programmers knew about memory... none of them are especially low-level or require depth of understanding. never dynamically allocate it unless forced. really. never allocate at run-time it unless you are absolutely forced by your algorithm. if you absolutely really must allocate memory on the fly, have a budget so you can do one big up-front allocation and carefully reuse it. even b…
Re: What every programmer should know about memory (2007)
#9Re: What every programmer should know about memory (2007)
#10I would love to read an updated version of this. The fundamentals won't have changed much. But the details are changing and Urlich went into a lot of detail in this doc. Great Read.