Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Those benchmarks are pretty irrelevant because all the algorithms in there are short-lived.

Did you dismiss them without checking if any in fact did show Java using 10-100x more memory?

You do seem to have dismissed them without asking yourself if they demonstrate the point you wish to make.

The obvious example would be binary-trees which mostly allocates and deallocates binary trees -

Java 6 -server #2 = 289,920 KB

Python CPython #6 = 674,488 KB

http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...

And if the Java program loops for 15 minutes -

Java 6 -server #2 = 855,996 KB

http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...

Does that look like 10-100x as much memory?



Yes, sorry, I didn't bother to look at those results.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: