3 ms·
I'm not sure who's right and I don't even use emacs but I just wanted to point out that emacs has about 400k lines of C and about 1.2m lines of lisp.
by Igglyboo 12y ago
I'm not sure who's right and I don't even use emacs but I just wanted to point out that emacs has about 400k lines of C and about 1.2m lines of lisp.
- melling 12y agohttps://www.gnu.org/software/emacs/manual/html_node/elisp/Writing-Emacs-Primitives.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Wr... http://www.reddit.com/r/programming/comments/1bmhg/the_case_for_emacs/c1bzga http://www.reddit.com/r/programming/comments/1bmhg/the_case_...
- lord_quas 12y agoThis is true, and much of that C is spent implementing the lisp interpreter. I'd love to see how much C is used outside that functionality.
- deng 12y agoThe actual Lisp interpreter is rather tiny compared to the other stuff. Just do a 'ls -l *.c | sort -gk 5' in the src directory. By far the largest file is xdisp.c, which is the redisplay engine, and only a handful of people in the world dare to touch it. Next comes input handling (keyboard.c), then then dealing with coding systems, terminals, win32-API, image handling, windows, processes, buffers, and much more. AFAICS the first file to actually deal with Lisp is lread.c and comes in at #21.