3 ms·
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
by satvikpendem 9mo ago
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.
- user3939382 9mo agoBabashka! Super fast clojure/lisp.
- zem 9mo agothere's always fennel for a lispy layer over lua
- freedomben 9mo agoQuite a fair point! For intensive plugins and such, this would matter quite a bit.
- lloeki 9mo agoIsn'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/ https://railsatscale.com/2023-08-29-ruby-outperforms-c/
- comex 9mo agoV8 is faster than LuaJIT. But sure, it has a large binary size.
- augusto-moura 9mo agoYou 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/ https://bellard.org/quickjs/ [2]: https://github.com/bellard/mquickjs https://github.com/bellard/mquickjs
- FuckButtons 9mo agoI don’t want npm anywhere near my tooling thanks.
- godelski 9mo ago> a full blown JS runtime I absolutely hate all the random things that install npm on my machines