Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lua, especially with LuaJIT, is nearly as fast as C. I certainly don't want to have to run a slow language like Ruby or especially a full blown JS runtime like V8 just to run Vim, the entire point is speed and keyboard ergonomics, otherwise just use VSCode.
 help



You don't need V8 for running JS for scripting, you have quickjs[1] or mquickjs[2] for example. You might have problems importing npm packages, but as we can see from lua plugins you don't even need support for package managers. Performance is not as good as luajit, but it is good enough

[1]: https://bellard.org/quickjs/

[2]: https://github.com/bellard/mquickjs


I don’t want npm anywhere near my tooling thanks.

Isn't LuaJIT kind of a dead end?

Also Ruby has been getting quite fast since YJIT (and now ZJIT):

https://railsatscale.com/2023-08-29-ruby-outperforms-c/


Quite a fair point! For intensive plugins and such, this would matter quite a bit.

V8 is faster than LuaJIT. But sure, it has a large binary size.

  >  a full blown JS runtime
I absolutely hate all the random things that install npm on my machines

Babashka! Super fast clojure/lisp.

there's always fennel for a lispy layer over lua



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: