News for hackers. Stuff that matters.
Re:Factorio – Statistics improvements, Linux adventures by milliams on Friday April 26, 2024 @05:48PM (#40174711)
When they say they removing their Allegro dependency "eliminated 123,024 lines of code from the game" I assume this is because they'd vendored in the code?
Re:Factorio – Statistics improvements, Linux adventures by Arnavion on Friday April 26, 2024 @08:38PM (#40175966)
Yes. I believe they also vendor SDL, because they've mentioned in the past making local changes to SDL for their needs. There's also a comment in the Reddit discussion by the author of the Linux about deleting a large number of lines of code when he removed their vendored FreeType, so it's likely the case for Allegro too.

https://old.reddit.com/r/factorio/comments/1cdifrh/friday_fa...

Re:Factorio – Statistics improvements, Linux adventures by xboxnolifes on Friday April 26, 2024 @06:18PM (#40174940)
Vendored or not, it's code that ends up as part of the game.
Re:Factorio – Statistics improvements, Linux adventures by db48x on Friday April 26, 2024 @06:21PM (#40174961)
But they probably wouldn’t have bothered to count the lines of code in the library if they hadn’t checked a copy of it into their source code.
Re:Factorio – Statistics improvements, Linux adventures by raiguard on Friday April 26, 2024 @09:42PM (#40176337)
Yes, we vendor and statically link as much as possible to avoid dependency hell across distros and platforms.