> Just out of curiosity, what are the changes that make it hard to migrate to 
> the new version?

I'm not familiar with Lua, but took a look a while ago.  I saw accumulated 
API-breaking changes.  Compatibility functions/macros did exist between 
adjacent releases, but those that were of interest had been deprecated and 
removed by 5.4.  Both 5.1 and 5.4 APIs would have to be learned well enough to 
almost be able to rewrite the plugin from scratch.  Further, a 5.5 release, 
with more API-breaking changes, could be just a couple years away.  (5.4 was 
released about 2.5 years ago.  Average time between 5.x releases is about 4.5 
years.  Longest is 6 years.)

>From [LuaJIT Installation](http://luajit.org/install.html):

> LuaJIT is API-compatible with Lua 5.1. If you've already embedded Lua into 
> your application, you probably don't need to do anything to switch to LuaJIT, 
> except link with a different library...

So it seems there's potential, with minimal effort, to switch to a maintained 
library with reduced concern for future API-breaking changes.

LuaJIT is supported on Windows and macOS.  Packages are available for Debian 
and Fedora.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1133#issuecomment-1453544554
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/1133/[email protected]>

Reply via email to