Re:Google paper comparing performance of C++, Java, Scala, a...
by choxi on Friday June 03, 2011 @12:58AM
(#2615204)
This is cool but I think it's important to remember that they're comparing algorithmic benchmarks but modern software has many different bounds besides for raw, algorithmic processing. For example, I think I/O and database interactions are the bottleneck for most web apps. I really liked the way this article broke it down: http://pl.atyp.us/wordpress/?p=2947
[ Parent
| on HN ]
Re:Google paper comparing performance of C++, Java, Scala, a...
by cdavid on Friday June 03, 2011 @01:46AM
(#2615302)
Given the languages they are using, I think it is fair to say that they are interested in system-programming kind of tasks, which for google means the stacks below what you normally use for web programming (i.e. I would expect google to have their own web servers, or at least heavily customized from existing ones, etc...). For system programming, "language speed" matters much more (one definition I like for system programming, seen on lambda ultimate: "programming where both algorithm complexity's constant and memory representation matter").
Of course, in most cases, you're right. Given an infinite pool of very good programmers and infinite time, C will almost always be faster than most other languages. But in reality, you have a very limited of maybe not so good programmers, and the project needed to be done yesterday :)
Re:Google paper comparing performance of C++, Java, Scala, a...
by gtani on Friday June 03, 2011 @09:01AM
(#2616145)
Thx for that. Java and scala-specifically, it's a pretty high-dimension space. Background:
http://www.elis.ugent.be/JavaStats
http://www.bestinclass.dk/index.clj/2010/02/benchmarking-jvm...
http://isthisclojure.blogspot.com/2011/02/benchmark-clojurej...
https://docs.google.com/present/view?id=0AS8emH3-FLt3ZGRtbWJ...
Examples of benchmarks gone awry:
http://stackoverflow.com/questions/6146182/why-is-my-scala-c...
http://groups.google.com/group/scala-language/browse_thread/...
Re:Google paper comparing performance of C++, Java, Scala, a...
by igouy on Saturday June 04, 2011 @10:37AM
(#2619564)
a pretty high-dimension space :-)
http://download.oracle.com/docs/cd/E15289_01/doc.40/e15060/t...