Original Post — Direct link

Really just came here to say that! It's a brilliant game, and one of the keys to success (in my personal opinion) is the choice of programming language, being C++. This game is clearly extremely well optimised and it shows that the C family of programming languages, in a world of "bloatware and modern languages" is still an essential part of computer science. Again all my personal opinion!

Thanks and enjoy :-)

External link →
over 3 years ago - /u/Klonan - Direct link

Originally posted by madcow_bg

The scripting in Factorio, about 25% of the source code, has been written in Lua.

Most of the Lua is data definitions, which is parsed and fed in to the game engine at startup. The running code is C++, only mod and scenario scripts are Lua, which is far far far less than 25% of the source code.