Get the latest tech news
Visual Studio Code: Text Buffer Reimplementation (2018)
Text Buffer Reimplementation in the Visual Studio Code/Monaco editor
During an in-depth exploration, we found that a C++ implementation of the text buffer could lead to significant memory savings, but we didn't see the performance enhancements we were hoping for. Even without low level engine tricks, it is still possible to improve speed by one or more orders of magnitude by using better suited data structures and faster algorithms. So, rather than spending half a year on something we didn't know would pay off, we decided to keep the text buffer's runtime in JavaScript, and only change the data structure and associated algorithms.
Or read this on Hacker News