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/CAON-T_hMW%2BXSoMWZ9Ke%2BVU7TLGepAojPc2M792T0DBMzqPoWvA%40mail.gmail.com.
