|
|
|
|
|
by marvy
2127 days ago
|
|
If I understand the persistence stuff correctly, programs don't do explicit I/O but instead just run forever and thus use normal variables and data structures to store state. This sounds very convenient until one fine day you decide add a new feature, so you need to change your code, but the new code has different variables and there may not be any sensible way to "port" the data. |
|
So in this sense it could be a bit like creating migrations to your database. Maybe on ”cloud scale” you just would like to migrate the data when it is used.
Edit: Few more details in this document: https://sdk.dfinity.org/docs/language-guide/actors-async.htm...