> 1. Once Vim9 is officially released will we still have to specify "vim9script"
> at the top of the script file?
Yes, old scripts have to keep working as before. I don't see another way
then to add something at the top of a Vim 9 script. Finding something
specific for legacy or Vim 9 script won't be reliable.
> 2. Will the parsed Vim9 script files eventually be written to a .vimc
> file, similar to .pyc or .luac? It would certainly increase the
> startup time since more often than not script files are not
> modified when launching Vim.
Script files are not compiled. For functions it could be possible.
However, I suspect that checking that nothing has changed won't be much
faster. We can add this later without changing the syntax or semantics,
if it turns out to be worth the effort.
--
hundred-and-one symptoms of being an internet addict:
237. You tattoo your email address on your forehead.