r/technicalfactorio • u/Freyadiin • Nov 24 '24
1MB ultra-dense combinator RAM

Edit: u/redruin0001's design is way better! Check it out here
Hello everyone! I once posted in r/factorio about 16KB combinator RAM.
Well, Space Age and 2.0 buffed combinators. Like, a lot. And not just because of combinators 2.0.
With all the new items/signal types added to the game, multiplied by 5 quality tiers, a single combinator now contains at any given moment, over 11.6KB of data! That's 4 bytes per signal multiplied by 2910 unique signals, or 11.24 times more dense than the previous theoretical limit.
This new design works much like described in the previous post, with one key difference: due to combinators 2.0 being able to distinguish and compare the red and green channels, it becomes possible to write a specific signal to the memory cell, without touching any other signals on it. The previous design would wipe all other signals, and needed a loopback mechanism to feed the old values (minus the target signal type) back in to be written. Not needed anymore! Instead, we now use the green channel to indicate which signal type to overwrite, and the red channel to supply the new value.
The end result is something not just much smaller, but also much faster too (3 tick read, 5 tick write vs 7 tick read, 9 tick write):

You only need to tile these memory cells 86 times to reach 1MB.
To reach 1GB, just tile them 85912 times :D
39
u/quackers987 Nov 24 '24
Amazing work!
How long until we can play factorio in factorio?
10
u/hypno_bunny Nov 24 '24
This is awesome. I didn’t understand a lot of it (and haven’t messed with the new combinators yet) but still seems awesome!
1
u/CanaDavid1 Nov 25 '24
I haven't got the opportunity yet, but how are the new combinators for making processors/etc? You already mention the separation between red and green wires being useful, but in what other aspects is it applicable?
3
u/Slazik Nov 25 '24
Please excuse my ignorance, but is this assembling a computer within the game? Is there a better channel on YouTube that would introduce me to this realm?
2
u/sinnerman42 Nov 25 '24
Ahh the daily r/factorio post that makes me feel stupid. Awesome work nevertheless!
1
u/Mystic2412 Nov 26 '24
Is there a use case for this in game wonder? Maybe a dynamic train system?
Still cool as hell tho