in reply to Memory reusability
The question is worrying. It implies that you cannot ask the trainer about this, and you should. Maybe you could ask your trainer how Perl manages its heap, and how heap memory is managed by the operating system for reuse.
Does the trainer mean that other comparible languages behave in a differnt way? That is the implication of the question.
Others have answered your question in detail concerning Perl, but be reassured that Perl is no worse in its memory handling than other dynamic languages, and some would argue it is better.
Re^2: Memory reusability
by rovf (Priest) on Aug 12, 2009 at 13:12 UTC
|
Does the trainer mean that other comparible languages behave in a differnt way? That is the implication of the question.
I would, personally, not imply something which hasn't been asked, but indeed maybe an even more interesting question would be: Is there ANY modern (i.e. post-C++) language at all which does NOT handle memory allocation automatically? I don't talk about ongoing developments in "old" languages (such as FORTRAN, C or COBOL), or newer ones which for compatibility reason have to carry some burden from an older language (such as C++).
--
Ronald Fischer <ynnor@mm.st>
| [reply] [d/l] |
|