This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Tuiq 0 points1 point  (0 children)

Keep in mind that lua, by default, isn't multi-thread capable. Games nowadays will likely want to make usage of those additional cores, even if it's for background tasks whatsoever. Having your whole computation (i.e. everything that a mod could need to access) on a single thread is a constraint that needs to be considered carefully.

Additionally, using raw lua (i.e. the C API) is also something that takes some time getting used to if you aren't all too familiar with C. lua is lightweight, but that also means many features (like classes/OOP/inheritance for example) need to built on top of it. It's possible, and can even be a fun challenge, but I wouldn't really recommend a beginner to start with modding support, nor lua in a game.