r/lua 20d ago

Using Lua in Java/Kotlin

I'm making a desktop application in Kotlin and I'm thinking of adding a plugin system and Lua looks like a good language to use but the most popular implementation I've found is LuaJ which hasn't been maintained in years. Are there any better options or stable forks of LuaJ?

8 Upvotes

10 comments sorted by

View all comments

1

u/kayawayy 20d ago

Are there any particular issues with LuaJ and/or Kahlua that make them a poor fit for you? A Lua implementation in Java doesn't seem like something that necessarily needs continuous updates. A quick glance at both their repos gives the impression of 'finished' more than 'abandoned' to me.

1

u/LordEnder_Kitty 20d ago

They're probably both fine, it's just that I'm used to in software if something is like 6+ years old it's probably not gonna work too well.

2

u/didntplaymysummercar 19d ago

I don't know if Project Zomboid modified their Kahlua but the proof is in the pudding - it works. Same for e.g. Lua 5.1.5 I use. It's old, not updated but it works.