[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strong Typing, Dynamic Languages, What to do?



Shriram Krishnamurthi <sk@cs.brown.edu> writes:

> Sebastian H Seidel wrote:
> 
> > - Explicit memory-management beats garbage-collection.
> 
> Evidence?

The above statement belongs to the same class than "A good compiler
generates faster executables than assembler programmers". As every
experienced assembler programmer knows, it is a blatant lie.

Let's resort to logical demonstrations:

A garbage-collection system is just another way of manual memory
management.

Let's imagine that your programming language allows you customize the
memory management for each kind of "object" you use or, in general,
for every meaningful circumstance. Only by means of a rare coincidence
the garbage collector that comes with you favourite implementation
would be _as_ _fast_ as the model you manually implemented.

Abbreviating: it has no sense to say that somebody that doesn't know
what are you doing is capable of providing a better solution for your
problem than yourself.

-- 
Oscar