Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Random question but why is it called memoization instead of just caching? Isn't it the same thing? For some reason I never ran across the word memoization when I was doing CS a number of years ago.


Memoization is only when you cache the results of a referentially transparent function in software, caching is more general. You have cpu caches, browser bashes, even entire servers can be caches of common web requests etc. So using the word "memoization" is more specific and leads to less confusion.


The term is over 50 years old: https://en.m.wikipedia.org/wiki/Memoization#Etymology

Probably been used in CS longer than “caching”.


If you include hardware in CS, no, caching is older. If you don't, I'm not sure.


caching a computation result is called memoization.


CS is full of needless jargon and buzzwords, which only serve to make the field seem more impressive to outsiders.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: