The God Language

J Arrizza cppgent0 at gmail.com
Mon Jan 2 23:17:40 PST 2012


>
>  and I'm pretty sure there is  no garbage collector included in gods
> language :p
>

Are you sure? There is good evidence he strongly prefers gc's. Consider
almost all insects; consider dung beetles specifically. Consider super
novas, gravity and accretion disks. Consider Disney and the Circle of Life.
It's pretty clear he views automated recycling as a general architectural
approach.

A large benefit of a gc is it disassociates responsibility for cleanup from
the creator of the object. Now imagine the opposite: after you died, you
were responsible for disassembling yourself for use by others to create
themselves (think "Soylent Green, The Next Generation"). And if you didn't
do it, or you didn't do it properly, the world would eventually overcrowd
and explode, leaving a core dump in space. Nice.

Of course, he'd give himself a switch to turn off the gc when he really
needed to.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120102/49e4c687/attachment.html>


More information about the Digitalmars-d mailing list