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

2010-08-16 Thread jacko
is it possible to convert any and all algorithms to stack based ones and thus avoid memory leaks? No, not really. If you keep the allocated things and free them in reverse order on exit, then well yes, but practically, early free() frees memory for reuse on low memory systems. In this sense

Re: Standard Forth versus Python: a case study

2006-10-14 Thread jacko
Paddy wrote: werty wrote: Apples/oranges ? programmers are making very little $$ today . Thats software ! No one is makin money on obsolete Forth , so why a comparisom ? Ultimately the best OpSys will be free and millions of lines of code obsoleted . Because no one can

Re: Standard Forth versus Python: a case study

2006-10-11 Thread jacko
[EMAIL PROTECTED] wrote: John Doty: Yes. The efficient exact algorithms for this problem use *partial* sorts. The Forth one from the FSL is of this class (although I know of two better ones for big arrays). But it's tough to beat the efficiency of the approximate histogram-based method