Hacker Newsnew | past | comments | ask | show | jobs | submit | 2009-05-04login
Stories from May 4, 2009
Go back a day, month, or year. Go forward a day, month, or year.
1.The "C is Efficient" Language Fallacy (scienceblogs.com)
157 points by silentbicycle on May 4, 2009 | 124 comments
2.Clojure 1.0 Released (groups.google.com)
139 points by drewr on May 4, 2009 | 31 comments
3.Oberon, a delightfully insane system (ignorethecode.net)
128 points by blasdel on May 4, 2009 | 30 comments
4.Malcolm Gladwell: How David Beats Goliath (newyorker.com)
116 points by mlinsey on May 4, 2009 | 36 comments
5.Dear Mozilla community: I screwed up. Big time. (hackademix.net)
124 points by robin_reala on May 4, 2009 | 40 comments
Bootstrap + in the red
106 points | parent
7.I Just Logged In As You (codinghorror.com)
102 points by bdfh42 on May 4, 2009 | 50 comments
8.NIN Reaction to iPhone App Store Rejection (nin.com)
86 points by ironkeith on May 4, 2009 | 45 comments
9.IsNSFW.com - The Safe For Work way to share Not Safe For Work links (isnsfw.com)
84 points by grexican on May 4, 2009 | 52 comments
10.The Problem With Young Web Entrepreneurs (igorfaletski.com)
58 points by ig0rskee on May 4, 2009 | 45 comments
11.Without Warning, Twitter Kills StatTweets (statsheet.com)
58 points by RobbieStats on May 4, 2009 | 37 comments
None of the above
56 points | parent

I have a friend at Intel who works on their realtime raytracing efforts and he swears by C/C++. Indeed, his arguments mirrors yours and go even farther. There's all sorts of magic you can play when you've got access to the actual bits and bytes. For starters, they do things like stash data in the low-precision bits of floats and the lower three bits of pointers. I wholeheartedly concur with his opinion that in raw performance terms, C/C++ is the fastest.

The problem with his argument and yours is that C is NOT faster for The Rest of Us because it it amounts to premature optimization just by virtue of using it. And because it takes so much effort to get C code to just work, the WHOLE program ends up being slower than the corresponding code in Haskell, OCaml, or perhaps even CLisp. Having worked my last job in a company where the programmers preferred C to C++ and C++ to Python, it startles me how utterly slow our system was. And ditto for the previous job.

At my first place, we had a streaming video server that had blindingly fast compression routines, but it was all held up by a UI loop that harked from the prototype days. Thus the argument that C/C++ is/are the best languages for fast code is moot. It is only the fastest if you've all the time in the world to write it.


People here are very critical of Jeff Atwood. I realize that he has some shortcomings, and is sometimes flat-out wrong about things, but I'd like to point out a couple of things in his defense:

1. His blog and podcasts are pretty entertaining, even if he is wrong sometimes.

2. He created Stack Overflow, which is a pretty nice site. At least, I like it.

3. He admitted and blogged about an extremely embarrassing oversight on his part today. Which takes some backbone.

That being said, I don't think we need a link to him on every single blog entry. This particular entry is more interesting from a Hacker News perspective though.


Wow. That's a display of humility and responsibility you just don't see very often. Though the original conflict was avoidable and unnecessary, an apology like this - for anything - shows real character. Kudos.
16.Facebook pays 150 employees ~$50K to keep the site clean (newsweek.com)
55 points by breck on May 4, 2009 | 38 comments
17.Clojure 1.0 (clojure.blogspot.com)
51 points by remvee on May 4, 2009 | 5 comments

Don't let the title fool you. This isn't a shitty top 10 list.

He is so pretentious. He goes on about how great Open ID is and yet talks about how he has all these different passwords and uses a "throwaway" password for admin access to his application. Great. Then he posts something about how "brute for is for dummies" when using bad passwords is really what's for dummies.
20.FreeBSD 7.2 released (freebsd.org)
48 points by mattyb on May 4, 2009 | 11 comments
Angel funded
46 points | parent

This argument is as old as the hills. It's probably true in a lot of niche situations. But the fact is, most C code is faster than higher-level language code, because:

* C programmers have more freedom to arrange data in memory to exploit locality

* C data structures need less bookkeeping

* C programs manage memory manually, and so lack GC overhead

* C programs can easily swap in different allocators for different work sets

* C function calls are usually wired into the code, not indirected through (several layers of) tables.

That's to say nothing of bytecode interpretation overhead, which is probably a straw-man argument.

I buy the instruction scheduling argument for inner-loop numerical and vector scenarios, but even in performant code, that's usually less than 10% of the total, and from what I've seen, both C and HLL code tends to delegate that to machine-specific assembly libraries.

23.Fred Wilson: The End of the IPO Drought is Coming (avc.com)
45 points by dwynings on May 4, 2009 | 5 comments
24.How to work on cool stuff (planeterlang.org)
44 points by coglethorpe on May 4, 2009 | 10 comments

"I've talked about this exact sort of vulnerability several times on this very blog."

You talked about it but didn't implement it? Yikes.

26.Ruby on Rails on Google App Engine (jruby-rack.appspot.com)
41 points by EvilTrout on May 4, 2009 | 10 comments
27.Poll: funded or not funded?
40 points by jmtame on May 4, 2009 | 28 comments
28.Seven questions for Nate Silver (economist.com)
40 points by kf on May 4, 2009 | 4 comments
29.Procedural City Generation - Developer's Log (shamusyoung.com)
40 points by jerf on May 4, 2009 | 9 comments
30.Distributed systems primer (evanweaver.com)
39 points by sant0sk1 on May 4, 2009 | 12 comments

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: