Hacker News new | ask | show | jobs
by pigpop 28 days ago
Core vim is around 300k lines of C89 code and it's just a text editor.

It's over a million lines if you include all the scripting, language features and tests.

1 comments

Vim has been around for decades, supports a billion architectures and an entire modal editing system plus a scripting language. And it’s in C, not a high level language so verbosity is higher. It’s really not comparable to a glorified frontend to an API.
It turns out things are more complex than they may initially appear.