News for hackers. Stuff that matters.
Re:It’s Faster Because It’s C by kunley on Tuesday July 13, 2010 @12:33PM (#1511870)
" I’d even argue that the main reason kernel code tends to be efficient is not because it’s written in C but because it’s written with parallelism and reentrancy in mind, by people who understand those issues. A lot of code is faster not because it’s written in C but for the same reasons that it’s written in C. "

Brilliant.

I'd say that C programs are generally faster because C world has near-zero amount of mediocre and copy/paste programmers, so coders just know what they're doing.

Re:It’s Faster Because It’s C by a-priori on Tuesday July 13, 2010 @12:41PM (#1511912)
C world has near-zero amount of mediocre and copy/paste programmers, so coders just know what they're doing.

[Citation needed]

Re:It’s Faster Because It’s C by kunley on Tuesday July 13, 2010 @01:05PM (#1512014)
Citation is overrated. Today anyone can publish anything and be cited by another anyone.

Live in the industry for 15 years or so and observe for yourself. Carefully.

Re:It’s Faster Because It’s C by a-priori on Tuesday July 13, 2010 @01:10PM (#1512026)
What I meant was that you made a very bold claim without any justification. Are programmers who code in C categorically better than programmers who don't? I doubt it.
Re:It’s Faster Because It’s C by kunley on Tuesday July 13, 2010 @02:01PM (#1512203)
Yes I know my claim, and I showed you a way to grasp it.

"Categorically": that's what you said. Just observe, instead of trying to apriori-tize the world.

Re:It’s Faster Because It’s C by ww520 on Tuesday July 13, 2010 @03:18PM (#1512432)
I think he missed the point on why kernel code are fast. Kernel code are fast not because it's written in C. It's fast because it doesn't do much. Most system calls into the kernel does very little; they just update some data structure and return. OS kernel is complicate because of its breadth and dependency and side effects. The call path of each call is actually fairly shallow.