I'm not a neovim user, nor am I learning rust :)

I just wanted confirmation that vim9 vimnew wasn't that far behind LuaJit.

And it's a good news for 2022 and futur! :)

Best wishes for Vim9 and Bram too.
NiVa

Le lundi 10 janvier 2022 à 16:49:50 UTC+1, Dominique Pelle a écrit :

> On Mon, Jan 10, 2022 at 2:55 PM <[email protected]> wrote:
>
> > > Maybe interesting for benchmark
> > > https://github.com/tjdevries/vim9jit
> > >
> >
> > If learning Rust isn't the whole purpose of the project, you might want 
> to
> > look at Raku, specifically "grammars". It can be a language for 
> generating
> > languages.
>
> In the page https://github.com/tjdevries/vim9jit  there is something not 
> right IMO:
> the section about performance uses the "sum" performance test from
> https://github.com/vim/vim/blob/master/README_VIM9.md where luajit
> is indeed much faster than vim9:
>
> *Sum benchmark:*
> | how     | time in sec |
> | --------| -------- |
> | Vim old | 5.018541 |                                                     
>                                                            
> | Python  | 0.369598 |
> | Lua     | 0.078817 |
> | LuaJit  | 0.004245 |
> | Vim new | 0.073595 |
>
> However, https://github.com/tjdevries/vim9jit omits the fact that in the
> other benchmark called "indent", vim9 is faster than luajit. According
> to the same README_VIM9.md the second script might be more
> representative of what vim scripts typically do.
>
> *Indent benchmark:*
> | how     | time in sec |
> | --------| -------- |
> | Vim old | 0.578598 |
> | Python  | 0.152040 |
> | Lua     | 0.164917 |
> | LuaJit  | 0.128400 |
> | Vim new | 0.079692 |
>
> In any case, it's nice to see that neovim developers are considering
> supporting Vim9 script.
> Regards
> Dominique
>
>

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/892730f3-6eb2-41bd-a4a0-f4705dc52e41n%40googlegroups.com.

Reply via email to