deepwhite 于 2011-07-29 11:27:28发表:
[i=s] 本帖最后由 deepwhite 于 2011-7-29 11:29 编辑 [/i]deepwhite@localhost ~/Work/projects/kernel/linux/linux-2.6.39 $ cloc . 36684 text files. 36131 unique files. 3682 files ignored. http://cloc.sourceforge.net v 1.53 T=541.0 s (60.3 files/s, 25348.3 lines/s) ----------------------------------------------------- Language files blank comment code ----------------------------------------------------- C 16087 1501071 1531614 7742361 C/C++ Header 13589 314814 536232 1632007 Assembly 1217 39849 49721 246996 XML 139 3119 948 40974 make 1390 6015 6374 22645 Perl 41 2973 2462 13900 Bourne Shell 61 638 1475 3644 yacc 5 453 322 2987 Python 18 542 267 2535 C++ 1 209 57 1521 lex 5 203 237 1317 awk 8 90 79 714 Bourne Again Shell 28 74 55 446 HTML 2 58 0 378 NAnt scripts 1 87 0 356 Lisp 1 63 0 218 ASP 1 33 0 137 XSLT 6 13 27 70 sed 1 0 3 30 vim script 1 3 12 27 ----------------------------------------------------- SUM: 32602 1870307 2129885 9713263 -----------------------------------------------------
badgc 于 2011-07-29 08:50:27发表:
一千万行以上
相思爱文 于 2011-07-28 18:17:49发表:
一个人一生都读不完
lixls 于 2011-07-28 14:28:22发表:
能看懂一个大概就行了!!!
age 于 2011-07-28 12:50:37发表:
引用:如题 linux 源码 多少行 啥时候可以看完看懂啊~~ siasleo 发表于 2011-7-28 11:37
gleerat 于 2011-07-28 12:27:32发表:
几千万行呢,你自己估计一下大概需要多久
noenil 于 2011-07-28 11:41:49发表:
能看懂已经很不简单了
deepwhite 于 2011-07-29 11:27:28发表:
[i=s] 本帖最后由 deepwhite 于 2011-7-29 11:29 编辑 [/i]
deepwhite@localhost ~/Work/projects/kernel/linux/linux-2.6.39 $ cloc .
36684 text files.
36131 unique files.
3682 files ignored.
http://cloc.sourceforge.net v 1.53 T=541.0 s (60.3 files/s, 25348.3 lines/s)
-----------------------------------------------------
Language files blank comment code
-----------------------------------------------------
C 16087 1501071 1531614 7742361
C/C++ Header 13589 314814 536232 1632007
Assembly 1217 39849 49721 246996
XML 139 3119 948 40974
make 1390 6015 6374 22645
Perl 41 2973 2462 13900
Bourne Shell 61 638 1475 3644
yacc 5 453 322 2987
Python 18 542 267 2535
C++ 1 209 57 1521
lex 5 203 237 1317
awk 8 90 79 714
Bourne Again Shell 28 74 55 446
HTML 2 58 0 378
NAnt scripts 1 87 0 356
Lisp 1 63 0 218
ASP 1 33 0 137
XSLT 6 13 27 70
sed 1 0 3 30
vim script 1 3 12 27
-----------------------------------------------------
SUM: 32602 1870307 2129885 9713263
-----------------------------------------------------
badgc 于 2011-07-29 08:50:27发表:
一千万行以上
相思爱文 于 2011-07-28 18:17:49发表:
一个人一生都读不完
lixls 于 2011-07-28 14:28:22发表:
能看懂一个大概就行了!!!
age 于 2011-07-28 12:50:37发表:
前阵子看linus大神的采访, 他自己都承认不能完全弄懂所有的源码, 一些部分已经完全交给维护者负责了.
所以你没必要追求全部都懂, 只要精通自己需要的部分就可以了
gleerat 于 2011-07-28 12:27:32发表:
几千万行呢,你自己估计一下大概需要多久
noenil 于 2011-07-28 11:41:49发表:
能看懂已经很不简单了