Bram Moolenaar (), creator 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 the redesigned methods of defining, calling, and executing functions, as well as moving away from using 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 preserve intermediate results and store local variables on the stack, has demonstrated a reduction in the execution time of the cyclic 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.
Sursa: opennet.ro
