3 ms·
This is great news. I think Vim9Script is an excellent language. Just the fact that it will help speedup existing scripts is going to been a boom for Vim usage
by coliveira 5y ago
This is great news. I think Vim9Script is an excellent language. Just the fact that it will help speedup existing scripts is going to been a boom for Vim usage and plugin development.
- petre 5y agoSo is Lua or Guile. No need for a new extension language with bashisms and Java and JS inspired stuff.
- blindseer 5y agoI don't believe it'll speed up existing plugins though. If I remember correctly, vim9script is akin to an entire new programming language. Heck, even the syntax for comments has changed. set number " This is a comment in vimscript set number # This is a comment in vim9script There's going to be a LOT of porting of existing plugins for this to all work.
- capableweb 5y agoYour comment seems to be at direct odds with https://news.ycombinator.com/item?id=29759980 https://news.ycombinator.com/item?id=29759980 > This is not a breaking change. Everything that works on Vim8 script will continue to work. So seems it won't require much porting unless people want to do the porting.
- blindseer 5y agoYou are right, my apologies. Reading through this https://vimhelp.org/vim9.txt.html https://vimhelp.org/vim9.txt.html again, it appears that you can intermix vimscript and vim9script.
- gbrown_ 5y agoI should start by saying my Vim config is reasonably minimal, but I'm highly skeptical of this making plugins noticeably faster. How much time are plugins spending executing Vimscript vs executing external tools?