Hacker News new | ask | show | jobs
by flutetornado 1015 days ago
Yes, on a related note Neovim just got support for WASM plugins and apparently WASM is 100% faster than Lua (neovim's default plugin language runtime) for this use case according to the author. So now plugins in any language that can be compiled to WASM are possible.

Edit: https://github.com/Borwe/wasm_nvim

2 comments

This looks like an interesting project!

Your phrases made me think the wasm support was an official nvim move, but it looks like this is a third party project. Is that right?

No wonder, since Lua is interpreted and not a fast one at it, unless LuaJIT comes into the picture.
Lua is one of the fastest interpreted languages. Magnificently so if you consider LuaJIT.
Neovim uses LuaJIT, iirc.