is it just me or is amost everything staticly linked.
-
- Inserter
- Posts: 36
- Joined: Thu Apr 24, 2025 11:51 pm
- Contact:
is it just me or is amost everything staticly linked.
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?
Re: is it just me or is amost everything staticly linked.
To my knowledge: yes and no, respectively.
There are 10 types of people: those who get this joke and those who don't.
-
- Inserter
- Posts: 36
- Joined: Thu Apr 24, 2025 11:51 pm
- Contact:
Re: is it just me or is amost everything staticly linked.
even stuff like glibc?
-
- Inserter
- Posts: 36
- Joined: Thu Apr 24, 2025 11:51 pm
- Contact:
Re: is it just me or is amost everything staticly linked.
and whats the benifit of staticly linking i dont get it?
Re: is it just me or is amost everything staticly linked.
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.
Re: is it just me or is amost everything staticly linked.
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.
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.
Re: is it just me or is amost everything staticly linked.
We static link everything we can as far as I know. We would static link the c runtime library on Linux and Mac if it supported it without a ton of work.
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 36
- Joined: Thu Apr 24, 2025 11:51 pm
- Contact:
Re: is it just me or is amost everything staticly linked.
that makes sence. thanks!eugenekay wrote: Tue Aug 12, 2025 6:52 pm 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.
-
- Inserter
- Posts: 36
- Joined: Thu Apr 24, 2025 11:51 pm
- Contact:
Re: is it just me or is amost everything staticly linked.
what librarys and versons of them do you use?