2 ms·
> While emacs has parts written in C, that portion really exists to enable elisp. You should do a line count; GNU Emacs has more than 250,000 lines of C.
by kazinator 6y ago
> While emacs has parts written in C, that portion really exists to enable elisp.
You should do a line count; GNU Emacs has more than 250,000 lines of C.
- Jtsummers 6y agoThat remark wasn't about how much is written in C, but what is done with the portion that is written in C (in contrast to the popular JS-based editors). In emacs, the portions in C appear to mostly be (no desire to produce an actual breakdown) there for: 1. Handling system calls for IO, networking, display 2. Implementing the elisp language itself 3. Implementing some things so they're faster than raw elisp And the preference seems to be to expose, to the greatest extent possible, functionality to the elisp users, even if it's actually implemented in C. This is in contrast to the popular JS-based editors which seem to be more interested in a more controlled/limited exposure of functionality to users.