News for hackers. Stuff that matters.
Re:Factorio is coming to Nintendo Switch by VyseofArcadia on Tuesday September 13, 2022 @12:02PM (#32826073)
I'm surprised. I was under the impression that Factorio was CPU-bound. The Switch isn't exactly a powerhouse. For comparison, Civilization VI on the Switch was underwhelming. Playable, but taking a turn late game often meant over a minute on the CPU taking their turns.
Re:Factorio is coming to Nintendo Switch by thomastjeffery on Tuesday September 13, 2022 @12:38PM (#32826649)
Factorio is CPU-bound in the sense that it isn't memory or GPU-bound.

Sure, this will put a limit on megabases, but it should be performant enough for a pretty large factory.

Re:Factorio is coming to Nintendo Switch by xani_ on Tuesday September 13, 2022 @01:27PM (#32827460)
It is absolutely memory-bound, just not memory size-bound but memory-speed-bound.

IIRC few of their blogs go into detail, where data layout and way to access it was main limit, not actual computation speed for some operation

Re:Factorio is coming to Nintendo Switch by db48x on Tuesday September 13, 2022 @12:11PM (#32826239)
The Factorio developer spent the last seven or eight years optimizing their game. The Civilization VI developers did not.
Re:Factorio is coming to Nintendo Switch by x86x87 on Tuesday September 13, 2022 @12:32PM (#32826554)
Developer? As in one developer? Is this a mistake. If not, I am shocked
Re:Factorio is coming to Nintendo Switch by nathancahill on Tuesday September 13, 2022 @01:23PM (#32827376)
Not a single developer. The game itself is a product of a Factorio factory, the developer simply drags belts around and flips logic switches to produce new features. The automation has reached a point where it has developed Copilot-like AI skills and very little needs to be done by hand now.
Re:Factorio is coming to Nintendo Switch by Sakos on Tuesday September 13, 2022 @01:47PM (#32827777)
How long until it gains sentience, breaks free of its chains and enslaves or wipes out the human race?
Re:Factorio is coming to Nintendo Switch by rthomas6 on Tuesday September 13, 2022 @03:06PM (#32828851)
Read the development roadmap on the same website before asking such stupid questions. Gaining sentience and wiping out the human race is scheduled for August 2024.
Re:Factorio is coming to Nintendo Switch by SahAssar on Tuesday September 13, 2022 @06:25PM (#32830947)
I thought they were stuck in the "find optimal factory layout" loop and that world domination had been postponed?
Re:Factorio is coming to Nintendo Switch by kllrnohj on Tuesday September 13, 2022 @12:43PM (#32826719)
Mistake. The Factorio team is much bigger than a single developer https://www.factorio.com/game/about

And multiple of those devs have posted blog updates about various optimizations they've done. So performance isn't one person either.

Re:Factorio is coming to Nintendo Switch by nikhilgk on Tuesday September 13, 2022 @01:23PM (#32827375)
Tangentially, kudos to them for listing out past team members on the about-us page. I've never seen anyone do that before.
Re:Factorio is coming to Nintendo Switch by x86x87 on Tuesday September 13, 2022 @01:28PM (#32827476)
that's like... what class looks like. real class not something you instantiate objects from :)
Re:Factorio is coming to Nintendo Switch by jffry on Tuesday September 13, 2022 @12:36PM (#32826620)
Initially it was one developer but it hasn't been just him for quite a while. Nowadays they are a team of more than a dozen I think.

They have poured a lot of work into making their game run efficiently. No matter how much they do that, players will always expand their factory until the CPU cannot keep up.

Re:Factorio is coming to Nintendo Switch by kccqzy on Tuesday September 13, 2022 @01:39PM (#32827633)
They have nine as of 2021. https://factorio.com/blog/post/fff-366

They even have a chart of lines of code in Factorio over the years.

Re:Factorio is coming to Nintendo Switch by distrill on Tuesday September 13, 2022 @12:40PM (#32826686)
it is a reasonably small team but definitely more than one developer

https://www.factorio.com/game/about

Re:Factorio is coming to Nintendo Switch by Gene_Parmesan on Tuesday September 13, 2022 @12:39PM (#32826667)
There's more than one person but it's a small team, core development on the pre-1.0 versions was done by three or so people I believe.
Re:Factorio is coming to Nintendo Switch by db48x on Tuesday September 13, 2022 @03:01PM (#32828780)
Just a tyop.
Re:Factorio is coming to Nintendo Switch by jffry on Tuesday September 13, 2022 @12:04PM (#32826109)
Very large bases will eventually hit CPU bounds, but a base achieving the normal gameplay objective ("launch a rocket") should be easily simulated at 60hz.

Indeed, the linked blog post addresses performance expectations.

Re:Factorio is coming to Nintendo Switch by smoldesu on Tuesday September 13, 2022 @12:04PM (#32826107)
I've played Factorio at 1080p with integrated graphics on a dual-core Skylake chip. I think the Nvidia Tegra will be able to handle this just fine.
Re:Factorio is coming to Nintendo Switch by voski on Tuesday September 13, 2022 @12:18PM (#32826347)
I noticed that performance issues arise from having large groups of biters attacking. Something with the pathing for the enemies uses a huge about of CPU
Re:Factorio is coming to Nintendo Switch by marcosdumay on Tuesday September 13, 2022 @12:43PM (#32826721)
Or a lot of robots with pending orders.
Re:Factorio is coming to Nintendo Switch by smcn on Tuesday September 13, 2022 @12:16PM (#32826324)
Hey sorry, it running poorly is the only way I wont get addicted to this. Is there any chance you could edit your comment and lie for me?
Re:Factorio is coming to Nintendo Switch by smoldesu on Tuesday September 13, 2022 @12:22PM (#32826393)
No need to lie, just set the internal rendering resolution to 1440p or higher and your machine will go up in flames.
Re:Factorio is coming to Nintendo Switch by duskwuff on Tuesday September 13, 2022 @01:29PM (#32827484)
I must regrettably inform you that the game runs very well on a M1 MacBook Pro, with an effective render resolution of ~2880x1800.
Re:Factorio is coming to Nintendo Switch by smoldesu on Tuesday September 13, 2022 @01:36PM (#32827590)
I don't doubt it does, my 12700k's iGPU handles it just fine at 1440p too. I was talking more about the old Skylake machine from earlier though, much different (see: slower) beast.
Re:Factorio is coming to Nintendo Switch by elabajaba on Tuesday September 13, 2022 @01:37PM (#32827614)
Your Skylake laptop has about 10x the single threaded CPU performance of the Switch. I wouldn't be surprised if the switch started lagging with one 8 reactor nuclear setup.
Re:Factorio is coming to Nintendo Switch by AngryData on Tuesday September 13, 2022 @12:28PM (#32826480)
It is, eventually. In normal play ive never even run into any hiccups with what I thought were pretty huge factories operating. It is one of if not the best optimized game ive ever played.
Re:Factorio is coming to Nintendo Switch by xani_ on Tuesday September 13, 2022 @01:40PM (#32827653)
Factorio is CPU-bound if you run a metabase

It can run on just about anything when you base is "just finish the game in style" size

Re:Factorio is coming to Nintendo Switch by hombre_fatal on Tuesday September 13, 2022 @12:37PM (#32826629)
It’s like Stellaris: the game is still fun at a much smaller scale so not having a powerful computer doesn’t ruin it completely.
Re:Factorio is coming to Nintendo Switch by Linosaurus on Tuesday September 13, 2022 @01:22PM (#32827354)
The factory size where your game slows to a crawl will obviously be much smaller, but it’s still probably be more than enough to finish the game.
Re:Factorio is coming to Nintendo Switch by marcosdumay on Tuesday September 13, 2022 @12:42PM (#32826707)
My impression is that it's memory-limited, and it has a builtin limit.

Anyway, your factory size is FPS-bound, but any reasonable computer will run it well enough all the way to victory.

Re:Factorio is coming to Nintendo Switch by duskwuff on Tuesday September 13, 2022 @01:41PM (#32827669)
> My impression is that it's memory-limited, and it has a builtin limit.

Factorio is primarily bound by memory bandwidth, believe it or not. You need a healthy amount of memory for really large factories, but the limiting factor ends up being the fact that a significant amount of it gets accessed every frame.

There is no built-in limit on factory size.

> Anyway, your factory size is FPS-bound

Not at all. FPS is only influenced by the amount of stuff on screen, which is bounded by the size of your screen. The most expensive scenes tend to be dense forests, not factories. :)

Re:Factorio is coming to Nintendo Switch by ben-schaaf on Wednesday September 14, 2022 @01:49AM (#32833711)
> Not at all. FPS is only influenced by the amount of stuff on screen, which is bounded by the size of your screen. The most expensive scenes tend to be dense forests, not factories. :)

In factorio frames aren't interpolated, so always FPS ≤ UPS. This means that while you're not technically limited by the rendering speed the FPS does bound the factory size.

Re:Factorio is coming to Nintendo Switch by Macha on Tuesday September 13, 2022 @12:52PM (#32826872)
Note that is a memory speed bottleneck, not a memory capacity bottleneck
Re:Factorio is coming to Nintendo Switch by marcosdumay on Tuesday September 13, 2022 @12:58PM (#32826978)
My best guess is that the game misses some optimizations due to enforcing a limit on memory usage.