if you are into game dev stuff and also into ECS, i highly recommend this ECS framework: https://friflo.gitbook.io/friflo.engine.ecs
its really amazing.
also, if you dont know what is ECS or mix ECS with EC-Frameworks, you should read this:
if you are into game dev stuff and also into ECS, i highly recommend this ECS framework: https://friflo.gitbook.io/friflo.engine.ecs
its really amazing.
also, if you dont know what is ECS or mix ECS with EC-Frameworks, you should read this:
why am i not using ecs for my bitcoin implementation?
bitcoin is not that heavy. running bitcoin is easier than simulating some games.
would it be better?
probably.
but bitcoin is not that complex that it needs ecs to organize it.
we know what can be in parallel and what cant be. many things are simple enough and are short tasks that can just run on the main thread. we will already jump in memory to check scriptPubKey and many other indexes. it would be overkill. bitcoin is not complex, reimplimenting quirks, and changes core did over the years is complex.
more important thing is keep the codebase as simple as codebase of a simple web app.