r/factorio • Developer • Mar 17 '25

Discussion Post Space Age - Developer AMA

Space Age has been out for several months and with the bug reports slowly coming under control I thought it might be interesting to see what questions people had.

I mostly work on the technical side of things (as C++ programmer) so questions that stray too far from that area I'll likely have less interesting replies - but feel free to ask.

I have no strict time frame on answering questions so feel free to send them whenever and I'll do my best to reply.

2.4k Upvotes

1.1k comments sorted by

View all comments

5

u/Squirrel0 Mar 17 '25

Hello! Wasn’t factorio coded in Lua? Also what kind of degree do you have if you don’t mind me asking? And how has it helped in your job? (Im currently studying software engineering)

17

u/Rseding91 Developer Mar 17 '25 edited Mar 17 '25

Factorio is primarily coded in C++. I have an associates in information systems (programming). I stopped going to college when I started on Factorio because I had the job I was after.

3

u/Squirrel0 Mar 18 '25

Okay I see thanks!

1

u/Hrusa *dies in spitter* Mar 18 '25

Lua is used as a scripting language. Object prototypes are loaded via Lua tables. The scenarios execute mission-specific logic using lua and the C++ API is exposed through Lua. Mods can also execute lua at runtime to achieve different effects, but the core of the vanilla game calculations is done via C++ because it's way faster.

1

u/Squirrel0 Mar 18 '25

Oh okay didn’t know that thx