News for hackers. Stuff that matters.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by f2f on Wednesday July 16, 2014 @07:36PM (#8045219)
the go side of that paper should be accompanied by this link, always:

http://blog.golang.org/profiling-go-programs

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by dcsommer on Thursday July 17, 2014 @02:15AM (#8046282)
> Go and Scala have powerful type inference, making explicit type declarations very rare. In C++ and Java everything needs to be declared explicitly.

I guess they forgot about C++11's auto?

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by masklinn on Thursday July 17, 2014 @03:15AM (#8046396)
And "powerful type inference"? For Go? Doesn't it just do local implicit typing using the RHS type straight as the LHS's?
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by realrocker on Wednesday July 16, 2014 @07:45PM (#8045244)
This is really old. C++, Java are mature languages. Scala hit 2.11 in March 2014, while Go version 1 was released in March 2012 and currently is at 1.3. Versions don't tell the whole story, but they do matter.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by claudius on Thursday July 17, 2014 @02:21AM (#8046289)
On the other hand, this:

  // Step d:
  IntList::iterator back_pred_iter = back_preds[w].begin();
  IntList::iterator back_pred_end = back_preds[w].end();
  for (; back_pred_iter != back_pred_end; back_pred_iter++) {
    int v = *back_pred_iter;
    …
can now be written

  for (auto v : back_preds[w]) {
    …                                ,
hence you could argue that while C++ is certainly “mature” in a sense, it is far from converged.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by igouy on Thursday July 17, 2014 @10:16AM (#8047632)
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by pella on Wednesday July 16, 2014 @07:38PM (#8045227)
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by broodbucket on Wednesday July 16, 2014 @09:19PM (#8045517)
While this tells a somewhat similar story, comparing web frameworks to the languages themselves is apples to oranges.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by kasey_junk on Wednesday July 16, 2014 @07:30PM (#8045200)
Needs a 2011 tag.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by dang on Wednesday July 16, 2014 @07:41PM (#8045236)
Yes, and the title was rewritten as well [1].

Submitters: please use an article's title unless it is linkbait or misleading [2].

1. Submitted title was "Google Publishes C++, Go, Java and Scala Performance Benchmarks"

2. https://news.ycombinator.com/newsguidelines.html

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by barrkel on Wednesday July 16, 2014 @08:40PM (#8045407)
IMO the title is misleading, and the submitted title is better. Though "Google Researcher Publishes..." would more accurately state its provenance.

The algorithm encoded in the benchmark is loop recognition, but the purpose of the paper is to benchmark the languages, not to find loops.

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by dang on Wednesday July 16, 2014 @10:56PM (#8045811)
Ok, thanks. We added "Benchmarks" to the title.
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by saltcookie on Thursday July 17, 2014 @12:30AM (#8046054)
http://readwrite.com/2011/06/06/cpp-go-java-scala-performanc...

this is the real artical, which just points to the pdf

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by saltcookie on Wednesday July 16, 2014 @10:59PM (#8045823)
That is true, i don't understand y some one changed the tittle
Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by gtani on Thursday July 17, 2014 @10:08AM (#8047574)
and this phrase on page 7 highlighted

    The benchmarking itself was done in a simple and 
    fairly un-scientific fashion.

    ... older Pentium IV workstation. Run-times were
    measured using wall-clock time.
but still a good read about tweaking c++ (I think at the time, clang and gcc were still implementing the C++11 standard features).

Also i remember long HN threads about this in mid 2011 but i can't find them, here'a a later discussion https://news.ycombinator.com/item?id=4539668

Re:Loop Recognition Benchmarks in C++, Java, Go, Scala (2011... by pella on Wednesday July 16, 2014 @07:36PM (#8045216)
yes - 2011

http://research.google.com/pubs/pub37122.html

Venue : Proceedings of Scala Days 2011

Publication Year: 2011