Page 1 of 1

the zen of factorio code

Posted: Sat Jan 30, 2021 10:19 am
by meems
hi,
Factorio code seems to be a world leader wrt processing enormous amounts of data yet running extremely fast and smooth.
When I try to program my own factorio inspired ideas, my code can only handle a few thousand 'items' before significant slow down occurs.

When John Carmack pioneered fast 3D engines in the 1990s, his co-worker Michael Abrash wrote 'The Zen of Graphics Programming' that described how John's amazing code worked.
Is there an equivalent 'The Zen of Logistics Programming' that covers how Factorio coders create such fast logistics code?

Re: the zen of factorio code

Posted: Sat Jan 30, 2021 11:27 am
by ssilk
A lot of information about that can be found in the Factorio blog. It’s spreaded over the years.

Re: the zen of factorio code

Posted: Sat Jan 30, 2021 5:51 pm
by meems
I had a look at the blog, its not hashtagged or ordered other than by date, so at first inspection it seems there's some work to do to filter all the blog posts about fast logistics code algorithms and program structures.

Re: the zen of factorio code

Posted: Sat Jan 30, 2021 8:39 pm
by Silari
A site filtered google search will probably find most of the ones you're looking for: https://www.google.com/search?q=site%3A ... timization

Re: the zen of factorio code

Posted: Sun Jan 31, 2021 6:38 am
by meems
thanks

Re: the zen of factorio code

Posted: Thu Feb 04, 2021 5:11 am
by Hirthe
Chill out games that focus on growing and relaxing rather than shooting or racing are not a rarity. They are not given the same exposure as their blockbuster counterparts, but they are plentiful and popular click here

Re: the zen of factorio code

Posted: Thu Feb 04, 2021 4:41 pm
by starlinvf
Hirthe wrote:
Thu Feb 04, 2021 5:11 am
Chill out games that focus on growing and relaxing rather than shooting or racing are not a rarity. They are not given the same exposure as their blockbuster counterparts, but they are plentiful and popular.
You mean clicker-type games?

Re: the zen of factorio code

Posted: Thu Feb 04, 2021 8:51 pm
by Koub
starlinvf wrote:
Thu Feb 04, 2021 4:41 pm
Hirthe wrote:
Thu Feb 04, 2021 5:11 am
Chill out games that focus on growing and relaxing rather than shooting or racing are not a rarity. They are not given the same exposure as their blockbuster counterparts, but they are plentiful and popular.
You mean clicker-type games?
Sim something, stuff tycoon, whatever simulator, ... and I've not even mentioned idle incremental games (those you don't need to destroy your mouse to play).

Re: the zen of factorio code

Posted: Thu Feb 04, 2021 10:42 pm
by starlinvf
Koub wrote:
Thu Feb 04, 2021 8:51 pm
starlinvf wrote:
Thu Feb 04, 2021 4:41 pm
Hirthe wrote:
Thu Feb 04, 2021 5:11 am
Chill out games that focus on growing and relaxing rather than shooting or racing are not a rarity. They are not given the same exposure as their blockbuster counterparts, but they are plentiful and popular.
You mean clicker-type games?
Sim something, stuff tycoon, whatever simulator, ... and I've not even mentioned idle incremental games (those you don't need to destroy your mouse to play).
But the goal of Cookie clicker is to automate cookie production, so you don't need to click. At least until the chipocalypse starts.