Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Nasal looks interesting.
> Small! 146k source code.
Is that in lines of code? ;-)
How Do I Make This Hard to Misuse?
Posted Mar 31, 2008 21:24 UTC (Mon) by ajross (subscriber, #4563)
Goodness no: kilobytes of C code. And it includes only the core library stuff, and ignores
extension code (currently readline, pcre, sqlite, gtk and cairo) and soft-coded libraries
(there's an XML parser and a few other gadgets). The current code in CVS is a little bigger
now, at 158k.
Looking at line endings as the LOC metric I count 5507 lines. Lines with semicolons are an
easy trick to use if you want a measure that ignores comments (i.e. code complexity, not
verbosity), and there are 2620 of those. I'm sure there are others out there, but I don't
much care. The point is that it's small. :)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds