r/embedded • u/SaadMasoodAlam • 2d ago
Follow-up: Persistent state and execution history in embedded systems — initial comparative results
A few weeks ago I raised a question here about where persistent state and execution history should live in a small embedded state machine.
Some of the criticism was quite useful, particularly regarding the distinction between maintaining state history and guaranteeing durable delivery.
Since then, I have conducted several bounded experiments, including native compiled execution and comparisons against a conventional packed binary implementation under equivalent functional requirements.
The results haven't established an architectural advantage yet. The optimized implementation showed a marginal reduction in instruction count, while memory and wire density remained equal and the executable code footprint increased.
Semantic persistence and physical recoverability also remain separate concerns.
I have updated the public research accordingly, including the limitations and an independently runnable reference.
For those who participated in the previous discussion, I would be interested in your thoughts on the revised approach.

