Tuesday, June 28, 2022

Re: Vim 9.0 is released!

Great news! Fantastic achievement. I'm enjoying writing scripts in Vim 9 and look forward to classes coming in, also. 

Much respect to all involved in the effort. 

Salman

On Tue, Jun 28, 2022, 23:50 Shlomi Fish <shlomif@shlomifish.org> wrote:
Hi Bram [and all],

On Tue, 28 Jun 2022 15:55:17 +0100
Bram Moolenaar <Bram@moolenaar.net> wrote:

> Hello Vim users!
>
> Announcing:  Vim (Vi IMproved) version 9.0
>
>
> This is a major release.  The main new feature is the addition of Vim9
> script.  Besides that a lot of bugs have been fixed, documentation was
> updated, test coverage was improved, etc.
>
> Read the announcement online: https://www.vim.org/vim90.php
>
> Once you have installed Vim 9.0 you can find details about the changes
> since Vim 9.0 with:
>         :help version9
>

thanks, congrats and - good luck:

* https://www.youtube.com/watch?v=t6Lo_aMW7zk

* https://www.youtube.com/watch?v=6zDwWzk11oM

* https://www.youtube.com/watch?v=tG-wl2qqD7Y

with ♥,

        -- Shlomi

>
> Why Vim9 Script
> ---------------
>
> A new script language, what is that needed for? Vim script has been
> growing over time, while preserving backwards compatibility. That means
> bad choices from the past often can't be changed and compatibility with
> Vi restricts possible solutions. Execution is quite slow, each line is
> parsed every time it is executed.
>
> The main goal of Vim9 script is to drastically improve performance. This
> is accomplished by compiling commands into instructions that can be
> efficiently executed. An increase in execution speed of 10 to 100 times
> can be expected.
>
> A secondary goal is to avoid Vim-specific constructs and get closer to
> commonly used programming languages, such as JavaScript, TypeScript and
> Java.
>
> The performance improvements can only be achieved by not being 100%
> backwards compatible. For example, making function arguments available
> by creating an "a:" dictionary involves quite a lot of overhead. In a
> Vim9 function this dictionary is not available. Other differences are
> more subtle, such as how errors are handled.
>
> For those with a large collection of legacy scripts: Not to worry! They
> will keep working as before. There are no plans to drop support for
> legacy script. No drama like with the deprecation of Python 2.
>



--

Shlomi Fish       https://www.shlomifish.org/
https://youtu.be/xZLwtc9x4yA - Anime in Real Life!! (Parody)

Between truth and the search for truth, I opt for the second.
    — Bernard Berenson (Unsourced via fortune-mod)

Please reply to list if it's a mailing list post - https://shlom.in/reply .

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220629065040.20709aca%40shlomifish.org.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEf7K6Pggpb-HHe9Oa1ieZsF1Fsf0wdLV-5h%2BEwfRm1qSg%40mail.gmail.com.

No comments: