Re:X server in 5000 lines of Common Lisp
by sytelus on Friday December 06, 2013 @11:56PM
(#6865535)
To me 5000 lines of C code is a LOT of code. Linus's first release of Linux was only 10,000 lines of code. Given much higher expressiveness of Lisp, I think 5000 lines of List code is not all that to boast about. I can't pull a reference here but according to one of the studies, the productivity of some of the well known programmers was measured at 10K LOC/year (yes, it's very loose measure of "productivity"). So writing 5000 lines of good code may require ~6 months, i.e., not a trivial amount of work. Although I agree it is cool to have X server in Lisp.
[ Parent
| on HN ]
Re:X server in 5000 lines of Common Lisp
by varjag on Saturday December 07, 2013 @05:59AM
(#6866130)
5000 lines isn't really a lot for a real-life project in any language. Besides, a lot of the code here seems to be in the data.
E.g. https://github.com/pyb/zen/blob/master/data/request-specs.li... describes X spec request syntax, accounts alone for nearly 1000 lines, and it's not really possible to trim down.
Re:X server in 5000 lines of Common Lisp
by qbrass on Saturday December 07, 2013 @09:27AM
(#6866430)
Here's Xorg's nested X server if you want to see how much C code it takes.
http://cgit.freedesktop.org/xorg/xserver/tree/hw/kdrive/ephy...