Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Memory reusability

by cdarke (Prior)
on Aug 12, 2009 at 09:33 UTC ( [id://787890]=note: print w/replies, xml ) Need Help??


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.

Replies are listed 'Best First'.
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>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://787890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found