News for hackers. Stuff that matters.
Re:Why Python, Ruby, and Javascript are Slow by arocks on Friday March 01, 2013 @11:12AM (#5305026)
It is almost time that people stop referring to Languages as Fast or Slow. It is an implementation that is fast or slow, not a language.
Re:Why Python, Ruby, and Javascript are Slow by masklinn on Friday March 01, 2013 @11:21AM (#5305103)
Have you considered reading the fucking presentation before snarking out on it?
Re:Why Python, Ruby, and Javascript are Slow by arocks on Friday March 01, 2013 @11:39AM (#5305234)
What makes you think I didn't? The author seems to agree with me. He even concludes that we should improve the implementation rather than the language for optimisation.
Re:Why Python, Ruby, and Javascript are Slow by tptacek on Friday March 01, 2013 @12:26PM (#5305589)
I didn't get that from the presentation at all. What I read is a guy complaining that idiomatic Python is necessarily slow because it depends, for its clarity and terseness, on not controlling allocations or memory layout, and that Python- the- language abets the problem by having its standard library build on the same idiom.
Re:Why Python, Ruby, and Javascript are Slow by ynniv on Friday March 01, 2013 @12:34PM (#5305639)
No, the author concludes that languages based on hash table lookups and lacking copy avoidance mechanisms are inherently slower.
Re:Why Python, Ruby, and Javascript are Slow by masklinn on Friday March 01, 2013 @12:13PM (#5305485)
Which makes your comment useless and redundant. The very point of the presentation pretty much being "this declaration makes no sense"
Re:Why Python, Ruby, and Javascript are Slow by simonster on Friday March 01, 2013 @02:02PM (#5306205)
It's true that implementation makes a bigger difference to performance than language features, but language features can indeed affect speed. One clear example is that a language that checks for integer overflow will be slower than a language that doesn't. There are a lot of situations where there's no way you could optimize out the extra instructions you'd need to check for overflow.

Some language features are easy to optimize away for some common cases (e.g. array bounds checks, so that your program throws an exception instead of segfaulting), but you can't optimize these if, for example, you're iterating over data you read from a file using indices you also read from that file.

Re:Why Python, Ruby, and Javascript are Slow by rwj on Friday March 01, 2013 @01:22PM (#5305947)
While I agree that implementations can be fast or slow, it does not completely eliminate the effect of the language. At minimum, different languages require different levels of effort to reach their optimum. So, while a language can be hurt by a poor implementation, it does not follow that all languages have the same potential performance.

As an example, just consider the enormous amount of effort that has gone into the JVM, and Java is still generally considered to be ~2x slower that C.

Re:Why Python, Ruby, and Javascript are Slow by cpressey on Friday March 01, 2013 @12:20PM (#5305534)
This is one of my pet peeves, too.
Re:Why Python, Ruby, and Javascript are Slow by systematical on Friday March 01, 2013 @11:33AM (#5305175)
I think its time people stop using shitty slide decks to get their point across.
Re:Why Python, Ruby, and Javascript are Slow by aroberge on Friday March 01, 2013 @11:56AM (#5305371)
Didn't it occur to you that these slides were for a presentation and that sharing them enable more people than just those that were at the presentation be informed of their content?

I, for one, am very grateful to speakers that make the extra effort required to share with a larger group what they have already shared (or are about to share) with a smaller group.

Re:Why Python, Ruby, and Javascript are Slow by alxp on Friday March 01, 2013 @04:28PM (#5307045)
Much better to turn your notes from the talk into an article than to just throw up the slides.
Re:Why Python, Ruby, and Javascript are Slow by koide on Saturday March 02, 2013 @02:56AM (#5308906)
But much harder. Slides (with notes!) are a VERY good compromise.

Remember: the author does not owe you anything.

Re:Why Python, Ruby, and Javascript are Slow by rscott on Friday March 01, 2013 @11:42AM (#5305260)
He gave a talk yesterday at Waza, Heroku's conference. I believe Heroku is planning on uploading videos of the talks in the coming days.

I've been interested in this talk since I saw it announced on Twitter, but prefer to watch/listen rather than go through these slides.