Writing decent indentation for a major mode is very hard. You need a non-trivial performant parser. I dare not look at perl-mode or C++.
miniblog.
Related Posts
Building a performant IDE that scales is a non-trivial architectural problem: https://news.ycombinator.com/item?id=27428625
Profiling symbolic execution by measuring the symbolic heap and the symbolic execution graph to ensure solver-aided tools are performant: https://2018.splashcon.org/event/splash-2018-oopsla-finding-code-that-explodes-under-symbolic-evaluation
(Part of the remarkable Rosette project.)
Brilliant deep dive on the Midori compiler, and its quest for performant, safe, GC'd language implementation: