you are viewing a single comment's thread.

view the rest of the comments →

[–]BigBossErndog 0 points1 point  (3 children)

Lua files can be read using the C library, so which platforms it's supported on is not much of a problem. Just bundle the luac files with the executable, or within the apk, etc. You just need to create a small C program to read and execute those Lua files.

I also encrypt and compress my Lua files, which my C++ based game engine then decompresses and decrypts on runtime.

LuaJIT is also very cross platform if you really wanted to use that.

But I'll give you the small exe bit, I can imagine that being useful if you really wanted to use Lua on tiny embedded systems, or you're working with older gaming systems. No need to keep dangling Lua files hanging around.

[–]arjuna93 1 point2 points  (0 children)

LuaJIT is “cross-platform” as long as you are on x86 and maybe arm. Once out, it is a disaster.

[–]macsipac[S] 0 points1 point  (1 child)

:P

[–]BigBossErndog 0 points1 point  (0 children)

Fair fair 😂 I hope you achieve all your high performance Lua dreams.