Linked by ebasconp on Fri 10th Jun 2011 22:22 UTC
Benchmarks "Google has released a research paper that suggests C++ is the best-performing programming language in the market. The internet giant implemented a compact algorithm in four languages - C++, Java, Scala and its own programming language Go - and then benchmarked results to find 'factors of difference'."
Permalink for comment 477152
To read all comments associated with this story, please click here.
RE[7]: GCC isn't all that great
by vodoomoth on Tue 14th Jun 2011 08:20 UTC in reply to "RE[6]: GCC isn't all that great"
vodoomoth
Member since:
2010-03-30


But then wouldn't there be a feeling among both students and their future employers that they have learned lots of pretty theory, but not how to actually do things in practice ?

I hear this often in the professional world, as if theory was the natural antonym of "practice". But do you think that Oracle made the piles of money they've made through the years without using Codd's relational algebra? Instead of relying on "indexes", hints and DBAs to make SQL queries more efficient, it is sometimes faster to rewrite a query, which means you know about relational algebra, you understand that it is always better to reduce the number of tables in a join, you know when nested queries are a valuable contribution to the overall efficiency. In that specific real-life case I'm implicitly referring to, the query was rewritten by me and the response time that was above the 10-minute timeout fell to something like 30 seconds on average.

In practice, the goal is to query the database (or execute code on the CPU). Any elements that get me closer to that goal, be they elements of theory, are welcome.

My point is: knowing the theory behind things doesn't take a thing away from people. If I was to hire someone to fill a position, I'd rather take the guy who knows the theory. And, as a side note, the "professionals" I've worked with who disparaged "nice theory" not only have terrible justifications for their bad practices, but they are resistant to thinking outside the box. Err, "their" box.

I'm still waiting to see an example of theory ruining or impeding some work instead of making it better IN PRACTICE.

Reply Parent Score: 2