Bram Moolenaar (), the author of the text editor Vim, on the creation of the repository , where work is being done on an experimental fork of Vim aimed at exploring potential ways to enhance the performance and quality of the Vim scripting language.
The main optimizations are related to reworking the methods of defining, calling, and executing functions, as well as moving away from the use of dictionaries for arguments and local variables. The initial prototype of the new implementation, where functions are initially compiled into a sequence of instructions that retain intermediate results and local variables on the stack, demonstrated a reduction in the execution time of the function call test from 5.018541 to 0.073595 seconds, and the string processing test from 0.853752 to 0.190276 seconds. In Vim9, tools for writing plugins in not only the built-in scripting language but also various programming languages, including Python, Go, and Java, are also being developed.
Source: opennet.ru
