Vim9 is introduced, a fork of Vim for experimenting with script optimization

Bram Molenar (Bram moolenaar), author of the text editor Vim, объявил about creating a repository Vim9, which is working on an experimental fork of Vim, aimed at exploring possible ways to improve the performance and quality of the Vim scripting language.

The main optimizations are related to the reworking of methods for defining, calling and executing functions, as well as avoiding the use of dictionaries for arguments and local variables. The initial prototype of the new implementation, in which functions are first compiled into a sequence of instructions that store intermediate results and local variables on the stack, showed a reduction in the execution time of the loop function call test from 5.018541 to 0.073595 seconds, and the string processing test from 0.853752 to 0.190276 seconds. Vim9 also develops tools for writing plugins not only in the built-in scripting language, but also in various programming languages, including Python, Go, and Java.

Source: opennet.ru

Add a comment