luasocket icon indicating copy to clipboard operation
luasocket copied to clipboard

Where can I download the official LuaSocket 2.0?

Open gundamC opened this issue 1 year ago • 4 comments

Where can I download the official LuaSocket 2.0? It is the version of LuaSocket that perfectly supports Lua 5.0.

gundamC avatar May 30 '24 01:05 gundamC

AFAIK no official release of LuaSocket ever worked with Lua 5.0 without compat-5.1, the switch to the 5.1-style module interface was made during the beta.

If you mean with compat-5.1 you can use 2.0.2, there is a corresponding tag on this repository.

May I ask why you are stuck with 5.0 though? 5.1 and the last version of 5.0 were both released 18 years ago, it is probably time to upgrade...

catwell avatar May 30 '24 07:05 catwell

@catwell Thank you for the reply. I found a version that supports Lua 5.0 at this address: https://web.tecgraf.puc-rio.br/luasocket/old/luasocket-2.0-alpha. However, I am not sure if it is an official release. The reason you are curious why I am still using Lua 5.0 is because I found an interesting open source project on GitHub, which is written in Lua 5.0. I am thinking of adding some network functionality to it.

gundamC avatar May 30 '24 09:05 gundamC

depending on the "interesting project" it might be easier to port that to a newer version of Lua?

Tieske avatar May 30 '24 10:05 Tieske

@gundamC Yes by "official" I meant "final", I think this alpha release does still support Lua 5.0.

I agree with @Tieske though, it would maybe be easier to port it to at least Lua 5.1.

catwell avatar May 30 '24 10:05 catwell