8 ms·
The C source for Emacs buffer: https://github.com/emacs-mirror/emacs/blob/master/src/buffer.c https://github.com/emacs-mirror/emacs/blob/master/src/buffer...
by jasim 4y ago
The C source for Emacs buffer: https://github.com/emacs-mirror/emacs/blob/master/src/buffer.c https://github.com/emacs-mirror/emacs/blob/master/src/buffer...
- sph 4y agoPretty neat for a piece of software that's been around for 37 years.
- 8organicbits 4y agoThe git history goes quite far back too. The first version and the current version look quite different. https://github.com/emacs-mirror/emacs/commit/1ab256cb9997cf15983abc63310cdf32f0533bca https://github.com/emacs-mirror/emacs/commit/1ab256cb9997cf1...
- rayiner 4y agoI find the Emacs source code pretty nicely structured and easy to understand (the good commenting helps), especially for something so old.
- corpMaverick 4y ago6,477 LOCs. A wasted an opportunity to implement it using 7 or 8 microservices.
- thow34wqway 4y agoI think this is sarcasm. But talking to proponents of microservices I am not sure. Can you confirm please
- corpMaverick 4y agoHaha. It is. But looking at the code made me think how we are capable of shipping software products that are hundred of thousand of lines of code and then we have people trying to break things some much and we end up in a spaghetti of microservices and their connections.
- Saint_Genet 4y agoNice to see that some code I wrote almost 15 years ago is still in use
- wodenokoto 4y agoI thought eMacs was lisp.
- marcus0x62 4y agoDepends on the Emacs, but GNU Emacs has a low-level core written in C with most high-level functionality implemented in various Elisp packages.
- morelisp 4y agoAnd to clarify, in Emacs "move the cursor forward one paragraph" or "kill (~cut) this text" counts as high-level functionality.
- marcus0x62 4y agoSure, I meant things like interfacing with the OS, the Elisp interpreter itself, performance-sensitive tasks like redisplay, etc.
- Narishma 4y agoNo, those were just slightly bigger iMacs. https://en.wikipedia.org/wiki/EMac https://en.wikipedia.org/wiki/EMac
- wodenokoto 4y agoAh, that's why my iphone insists on upper casing the M
- deleted 4y ago[deleted]
- taneliv 4y agoFor some extra fun, click on "Blame" and look at the age of commits on individual lines.