Forum > General

fpc lines of code

(1/6) > >>

airpas:
the openhub.net said that fpc source has 300k lines of code , is that true?
https://www.openhub.net/p/freepascal

btw , i did't expect that gcc has 14.5 million lines of code , that's incredibly giant
http://www.phoronix.com/scan.php?page=news_item&px=MTg3OTQ

Nitorami:
I don't know, but I still prefer pascal over C even if it lacks 14.2 million lines of code

Laksen:
The total count of lines in the FPC codebase is about 3 million. But that includes a lot of runtime, packages, headers, testsuites, etc..

It's a silly thing to compare :P

Edit: I messed up my line counter, but I still only count about 3 million lines in total in whatever version of GCC I have locally.

Leledumbo:
Why don't you do it yourself? Just need wc -l + a bit bash scripting for loop over the files, perhaps bc for summing up. Note that the Makefiles are generated from Makefile.fpc but both are still counted.

hinst:
This picture illustrates that GCC has no more than 5 500 000 lines of code
https://vmakarov.fedorapeople.org/spec/comparison.html
But perhaps the standard library is not included?

For FreePascal 3 CLOC code line counter program shows me 2 153 983 lines of code (with standard library);
In fpc/compiler subdirectory: 284 873 lines of code

PS: less is more if you know what I mean

Navigation

[0] Message Index

[#] Next page

Go to full version