리눅스의 가치?
SLOC(sloccount) 라는 소프트웨어가 있더군요...
단순하게 소스 코드의 줄 수를 세어보려 했는데...
재미있게도, 들어가는 비용이나, 개발 시간들도
산출해 주나 봅니다.
물론, 그 기준은 저도 모릅니다.
리눅스 코드를 넘겨 주니까
8년 개발 기간에 1800 억-_-; 이 나오더군요.
그리고 개인적으로 emacs 도 해봤는데,
눈에 띄는건 역시 emacs-lisp 군요.
C로 emacs-lisp 를 자체적으로 해석할수 있게 제작하고,
그 위에 emacs-lisp 로 확장하면서 emacs가
만들어 진듯 합니다 .
emacs 는 70만 라인에 emacs-lisp 코드가 가장 많고
260억 정도 나오는 군요.
linux 는 Driver 에 코드가 가장 많은거랑
C코드가 주류인것이 눈에 띄네요.(어셈도 저정도면 엄청 많은 거겠지만..)
다양한 장치를 지원하기 위함 이겠죠? :)
----
Linux 2.6.11
Describe SLOC/Linux hereDescribe SLOC/Linux hereTotals grouped by language
dominant language first):
ansic: 4051312 (95.16%)
asm: 194438 (4.57%)
perl: 3407 (0.08%)
yacc: 2603 (0.06%)
sh: 1788 (0.04%)
cpp: 1739 (0.04%)
lex: 1513 (0.04%)
lisp: 218 (0.01%)
awk: 99 (0.00%)
python: 45 (0.00%)
pascal: 41 (0.00%)
Total Physical Source Lines of Code (SLOC) = 4,257,203
Development Effort Estimate, Person-Years (Person-Months) = 1,293.04 (15,516.43)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 8.15 (97.82)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 158.62
Total Estimated Cost to Develop = $ 174,671,561
(average salary = $56,286/year, overhead = 2.40).
?SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
?SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
?SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's '?SLOCCount'."
Emacs:21.4a:
Totals grouped by language (dominant language first):
lisp: 475614 (66.18%)
ansic: 237171 (33.00%)
sh: 3844 (0.53%)
perl: 1035 (0.14%)
cs: 776 (0.11%)
asm: 254 (0.04%)
csh: 9 (0.00%)
sed: 4 (0.00%)
Total Physical Source Lines of Code (SLOC) = 718,707
Development Effort Estimate, Person-Years (Person-Months) = 199.71 (2,396.57)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 4.01 (48.10)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 49.82
Total Estimated Cost to Develop = $ 26,978,705
(average salary = $56,286/year, overhead = 2.40).
?SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
?SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
?SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's '?SLOCCount'."