Hacker News new | past | comments | ask | show | jobs | submit login

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.



I 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?


So is Lua or Guile. No need for a new extension language with bashisms and Java and JS inspired stuff.


I 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.


Your comment seems to be at direct odds with 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.


You are right, my apologies. Reading through this https://vimhelp.org/vim9.txt.html again, it appears that you can intermix vimscript and vim9script.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: