Re: which language allows you to change an argument's value?

2007-10-01 Thread James Kanze
he mechanisms involved may differ. (I'd be very surprised, for example, if Ada allowed anything but what in C++ would be an lvalue to be passed to an inout or an out parameter.) In most modern languages, however, you can circumvent the controls with enough indirections. -- James Kanze (GABI S

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-17 Thread James Kanze
hunks using a stack. The length isn't the issue. The order of allocation and freeing is. (For many specific uses, stack based allocators can and have been used, but they don't work for generally allocation.) -- James Kanze -- http://mail.python.org/mailman/listinfo/python-list