lua as dll
Posted: Sun Dec 04, 2022 3:14 pm
Hi,
So I've been looking over bin folder of Factorio, and noticed that there isn't any lua dll present there, meaning that most probably it was statically linked into executable.
I'm just wondering, would it be possible to have a Factorio version that uses lua as a dll, or is there one already? (I'm a steam user)
This would allow wrapping of said dll into another one, that possibly could extend the scripting capabilities (luajit perhapsss), or such as employing a completely different language, be it scripted or compiled. Obviously such modifications and mods employing them shouldn't be allowed on official portal due to security considerations of the player (viruses, worms, etc.) (orr, perhaps with a reaally good warning), but for personal mods this would quite improve the experience of mods with heavyweight logic. Custom ai, pathfinding, automatic factory building, or any heavyweight logic that might improve factorio experience, or expand it.
For my personal mods (and personal use mostly), I was wondering if I could for example employ D language to build mods that require quite a lot of computation.
Best regards,
Asynchron
So I've been looking over bin folder of Factorio, and noticed that there isn't any lua dll present there, meaning that most probably it was statically linked into executable.
I'm just wondering, would it be possible to have a Factorio version that uses lua as a dll, or is there one already? (I'm a steam user)
This would allow wrapping of said dll into another one, that possibly could extend the scripting capabilities (luajit perhapsss), or such as employing a completely different language, be it scripted or compiled. Obviously such modifications and mods employing them shouldn't be allowed on official portal due to security considerations of the player (viruses, worms, etc.) (orr, perhaps with a reaally good warning), but for personal mods this would quite improve the experience of mods with heavyweight logic. Custom ai, pathfinding, automatic factory building, or any heavyweight logic that might improve factorio experience, or expand it.
For my personal mods (and personal use mostly), I was wondering if I could for example employ D language to build mods that require quite a lot of computation.
Best regards,
Asynchron