Interesting read in the linked article. However I really have to wonder if building yet another programming language, which appear will happen here, is a good thing. Would it not make more sense to replace a Vim Script with a more common scripting language or even a language with a modern REPL?
Bram has some good points such as the wisdom of supporting multiple scripting solutions not working out that well. So why not make a big move here to a brand new Vim supporting a modern scripting languauge with wide support and a good future. It looks like Lua is already a decent competitor and if versions are an issue ship Vim with the suitable Lua release. If Lua isn’t right there are other newer languages that have adopted REPL support that should be considered.
I bring this up because it looks like a Vim Script will change enough that many scripts will require rewrites. We all know what happened with Python when the idiots out there couldn’t manage to adopt the new Print function, I can see a similar Vim revolt. At least by making a completely new product you avoid some of these issues.
so what do you guys think. Should Vim be gutted to support a widely supportted scripting language for better long term support? Or should a Vim Script continue on? I actually believe Bram is in the right track as far as having one and only one scripting interface but there seems to be a better way in Lua rather than reworking Vim script.
by the way I’m mentioning Lua here due to the test results that indicate impressive performance already vs the other solutions. Lua also runs close to the Vim9 scripting performance. It wouldn’t be impossible for other REPLs from other languages to duplicate the results.
Bram has some good points such as the wisdom of supporting multiple scripting solutions not working out that well. So why not make a big move here to a brand new Vim supporting a modern scripting languauge with wide support and a good future. It looks like Lua is already a decent competitor and if versions are an issue ship Vim with the suitable Lua release. If Lua isn’t right there are other newer languages that have adopted REPL support that should be considered.
I bring this up because it looks like a Vim Script will change enough that many scripts will require rewrites. We all know what happened with Python when the idiots out there couldn’t manage to adopt the new Print function, I can see a similar Vim revolt. At least by making a completely new product you avoid some of these issues.
so what do you guys think. Should Vim be gutted to support a widely supportted scripting language for better long term support? Or should a Vim Script continue on? I actually believe Bram is in the right track as far as having one and only one scripting interface but there seems to be a better way in Lua rather than reworking Vim script.
by the way I’m mentioning Lua here due to the test results that indicate impressive performance already vs the other solutions. Lua also runs close to the Vim9 scripting performance. It wouldn’t be impossible for other REPLs from other languages to duplicate the results.
Comment