Gabriel Sechan wrote:
This has nothing to do with manual vs automatic memory management. It has to do with cache coherency and fragmentation issues.

Actually, it has to do with whether you have a compacting garbage collector or not.

If anything, a Java style automatic memory management would be FAR worse-

Nah. All those blocks with one or two objects allocated in them would get coalesced and the rest would be freed up.

 in C/C++, you can move to a less braindead method.  In Java, the system new is 
all that exists, you're stuck with it.

In Java, you don't have pointers, only (things which people who study this call) references, so you *can* move stuff around without breaking it.

--
  Darren New / San Diego, CA, USA (PST)
    Remember the good old days, when we
    used to complain about cryptography
    being export-restricted?

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to