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.
[ Parent
| on HN ]
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.