Monday, November 15, 2010

Garbage Collection

If you are a techno-freak like me. (Correction: more techno than freak..because I am more on the freak side!)
You must have heard of Garbage collection techniques used in Programming languages like Java.

Garbage collection is nothing but a way of managing the memory by deleting the unused(out of scope) piece of data.
It makes the memory free from time to time, so that Java programs can run efficiently with enough memory. If there was no Garbage collection,Java Program would have had a tough time really!

Thinking of which, if only we had such a Garbage collector in our brain…
It would collect all the cribbing, disappointments and totally useless thoughts and would free off some of
the space for us to be filled with fresh new thoughts.

Pros: We would think fresh and would not have indulged in cribbing over and over again on the same topics.
Cons: Conversations and for that matter even people would not have been interesting, because there would be no cribbing at all!

Well..one point to note, even in Java, the garbage collector has its own will to run and collect the garbage created by us!(programmers!!)

So my thought is, we do have a Garbage collector in our brain ..that has a will of its own..and that has made a choice not to run.. ever..

No comments:

Post a Comment