LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.29k stars 305 forks source link

[Experimental] Luals rust-based luajit port #2879

Open CppCXY opened 1 day ago

CppCXY commented 1 day ago

The current project is not fully completed, but it can run preliminarily. Based on the initial experience, switching to LuaJIT does not provide any performance improvement.

see: https://github.com/LuaLS/lua-language-server-rust/tree/luajit

tomlau10 commented 19 hours ago

Here are some old issues which suggested porting to luajit, maybe participants inside will be interested to test this out

lewis6991 commented 19 hours ago

How did you test with LuaJIT? Did you remove all <close> variables?

CppCXY commented 19 hours ago

How did you test with LuaJIT? Did you remove all <close> variables?

I replace close to defer : image

tomlau10 commented 1 hour ago

I just did a preliminary benchmark here: https://github.com/LuaLS/lua-language-server/issues/2482#issuecomment-2385017356