3 ms·
That chart doesn't show what you think it shows. > Remember - these measurements are just of the fastest programs for each of these programming language implem
by trhtrsh 14y ago
That chart doesn't show what you think it shows.
> Remember - these measurements are just of the fastest programs for each of these programming language implementations
If you add in speed, even at a size:speed weight of 5:1, Python's advantage disappears.
So, the fastest python code is smaller and slower than the fastest haskell code, ignoring any slower code that may be denser.
Also, "gzipped code size" is a horrible measure of density: what everyone hates about Java is how redundant programs are (access modifiers, type declarations), which gzip would compress nicely, but doesn't help programmers (except where Eclipse auto-completes, I guess).
- igouy 14y ago>> a horrible measure of density << Now we know you find it unpleasant, please name your preferred measure and explain why you think it would be better for comparing programs written in very different languages, with widely different source code styles and conventions. Incidentally, do you think much Java or C# gets written with Notepad? :-)