is it just me or is amost everything staticly linked.

Place to post guides, observations, things related to modding that are not mods themselves.
ilikehackinggames
Inserter
Inserter
Posts: 34
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

is it just me or is amost everything staticly linked.

Post by ilikehackinggames »

aside from steam api in the steam verson it seems like at least on windows everything is staticly linked. is that correct and is it difrent with linux?
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2537
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: is it just me or is amost everything staticly linked.

Post by Jap2.0 »

To my knowledge: yes and no, respectively.
There are 10 types of people: those who get this joke and those who don't.
ilikehackinggames
Inserter
Inserter
Posts: 34
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: is it just me or is amost everything staticly linked.

Post by ilikehackinggames »

even stuff like glibc?
ilikehackinggames
Inserter
Inserter
Posts: 34
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: is it just me or is amost everything staticly linked.

Post by ilikehackinggames »

and whats the benifit of staticly linking i dont get it?
eugenekay
Filter Inserter
Filter Inserter
Posts: 615
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: is it just me or is amost everything staticly linked.

Post by eugenekay »

Factorio’s game Sandbox is required to get the same results on all Instances - else a Desync occurs due to cross-platform differences. So bringing all the Libraries in at Compile time eliminates an entire class of issues - it is always the same Assembly emitted for Math functions.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2537
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: is it just me or is amost everything staticly linked.

Post by Jap2.0 »

Not sure re: glibc, but the point is generally better performance (LTO) and compatibility.

You could glean most of these by searching the forum—try terms like "glibc", "static link linux", etc.
There are 10 types of people: those who get this joke and those who don't.
Post Reply

Return to “Modding discussion”