5 ms·
Anyone know how big nginx is? I wouldnt at all be surprised if its under 2k LOC.
by whakojacko 16y ago
Anyone know how big nginx is? I wouldnt at all be surprised if its under 2k LOC.
- maximilianburke 16y agoAs of 0.9.4, the core module is almost 21,000 lines of code and the entire nginx source tree is about 118,000 lines.
- silentbicycle 16y agoYou're probably joking, but sloccount says: ansic: 82714 (99.68%) perl: 124 (0.15%) sh: 78 (0.09%) asm: 48 (0.06%) cpp: 17 (0.02%) (for nginx-0.8.53)
- silentbicycle 16y agoWhy have I gotten 13 upvotes for this? Serious question.
- nkurz 16y agoIt's a show of thanks for taking the trouble to give a solid answer backed by facts. Just as bad memes are publicly swatted down, good work (even small) should be praised to set an example for others.
- silentbicycle 16y agoIf actual facts are that rare in software engineering, then that's one hell of a "code smell". It really wasn't hard to get.
- nostrademons 16y agoFacts are pretty common in (good) software engineering, but they're rare in Internet discussion. Hence, solid facts in Internet discussion tend to rack up points.
- mfukar 16y agoUmm..13 people found it insightful/interesting? I don't know..
- silentbicycle 16y agoI can think of plenty of comments that were /actually/ insightful, though. This feels like, "oh, wow, you know how to use science! +1". sad.
- enneff 16y agoIt's not sad at all. HN is, for me at least, primarily a place for learning. I scan comments for people speaking of facts and first-hand experience, or links to similar things. You provided some hard data, and some people who appreciated it pressed the up arrow. It's nothing more than that, and certainly not sad.
- silentbicycle 16y agoFair enough. I wish it was less rare though.
- kragen 16y agoI don't think the upvotes were intended as a positive judgment of you as a person, but rather as a positive judgment of the value of your comment. A sort of thank-you for doing the legwork so that the rest of us can simply glance at your comment instead of downloading nginx source and running sloccount ourselves.
- ludwigvan 16y agoI upvoted due to sloccount. I didn't know such a tool existed.