03.12.2012 Views

Introduction to Free Software - SELF | Sharing Knowledge about ...

Introduction to Free Software - SELF | Sharing Knowledge about ...

Introduction to Free Software - SELF | Sharing Knowledge about ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

© FUOC • P07/M2101/02709 172 <strong>Free</strong> <strong>Software</strong><br />

languages such as Lisp or Java (which is underrepresented in Debian due <strong>to</strong> its<br />

policy of not accepting code that depends on Sun's private virtual machine)<br />

sometimes manage <strong>to</strong> get in.<br />

Table 21. Programming languages used in Debian GNU/Linux 4.0<br />

Programming language Lines of code (in millions) Percentage<br />

C 155 51%<br />

C++ 55 19%<br />

Shell 30 10%<br />

Perl 8.1 2.9%<br />

Lisp 7.7 2.7%<br />

Python 7.2 2.5%<br />

Java 6.9 2.4%<br />

PHP 3.5 1.24%<br />

Table 22 shows how the most important languages developed in Debian.<br />

Table 22. Languages most used in Debian<br />

Language Debian 2.0 Debian 2.1 Debian 2.2 Debian 3.0<br />

C 19,400,000 76.67% 27,800,00 74.89% 40,900,000 69.12% 66,500,000 63.08%<br />

C++ 1,600,000 6.16% 2,800,000 7.57% 5,980,000 10.11% 13,000,000 12.39%<br />

Shell 645,000 2.55% 1,150,000 3.10% 2,710,000 4.59% 8,635,000 8.19%<br />

Lisp 1,425,000 5.64% 1,890,000 5.10% 3,200,000 5.41% 4,090,000 3.87%<br />

Perl 425,000 1.68% 774,000 2.09% 1,395,000 2.36% 3,199,000 3.03%<br />

Fortran 494,000 1.96% 735,000 1.98% 1,182,000 1.99% 1,939,000 1.84%<br />

Python 122,000 0.48% 211,000 0.57% 349,000 0.59% 1,459,000 1.38%<br />

Tcl 311,000 1.23% 458,000 1.24% 557,000 0.94% 1,081,000 1.02%<br />

There are languages that we could consider <strong>to</strong> be in the minority that reach<br />

fairly high positions in the classification. This is due <strong>to</strong> the fact that, whilst<br />

they are only present in a small number of packages, the packages in question<br />

are quite big. Such is the case of Ada, which whilst only being in three packa-<br />

ges (GNAT, an Ada compiler; libgtkada, a link <strong>to</strong> the GTK library and ASIS, a<br />

system for managing Ada sources) covers 430,000 of the <strong>to</strong>tal 576,000 lines of<br />

source code that have been counted in Debian 3.0 for Ada. Another similar ca-<br />

se is Lisp, which only appears in GNU Emacs and XEmacs, but has more than<br />

1,200,000 lines of the approximately four million in the whole distribution.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!