HN user

siproprio

298 karma
Posts2
Comments258
View on HN

Lua is small (44k), much simpler and easier to consume than python, supports multithreading, and much faster too if you consider luajit. I don't know when the neovim project adopted lua, but python got a jit this year.

The lua-users[1] website has some (rather outdated) comparisons.

[1] http://lua-users.org/wiki/LuaComparison

do you have any other language in mind that can be embedded into the editor like lua? i remember that sublime text had python, but i don’t remember anything relevant from then.

Lua is the correct choice. It’s not perfect, but there’s nothing better than it.

It’s the fastest scripting language and it’s easy to embed it into the application.

The ‘batteries’ can be found in `:h lua.txt`, they’ve grown significantly each release, and you can even use a package manager.

Idk when was this, but i use nvim on the terminal and it is fine, feels faster than vim, even.

And vim has bugs too, I have a list of nags that just aren’t going to be fixed on vim that were fixed on neovim.

Imho both are just fine.

neither of them [vim, emacs] have a graphical user interface, and they are completely incapable of doing things like showing images or, for example, a Markdown preview (which by the way you can open in Pulsar by pressing Ctrl+Shift+M).

You can:

- See images in neovim: https://github.com/edluffy/hologram.nvim

- preview markdown: https://github.com/iamcco/markdown-preview.nvim

- have a “graphical” user interface: https://github.com/neovide/neovide

- have a GUI written in JavaScript: https://github.com/smolck/uivonim

You can’t put electron in the terminal, though, so it seems that pulsar lacks features that neovim has, while neovim does not lack any feature that pulsar has.

I regret the comments because they caused me to be banned and were disruptive comments that violated the TOS of the service. This type of behavior is to be avoided in the future. The nature of disruption is not 100% clear to me, I asked for clarification but gh did not provide clarification.

Mail me at my username at duck.com and I’ll send you the handles of the account, you can search GitHub yourself. Some threads were deleted though.