3 ms·
” Motoko provides numerous features to help you leverage this environment, including language features that allow your heap to self-migrate when you upgrade the
by jpalomaki 6y ago
” Motoko provides numerous features to help you leverage this environment, including language features that allow your heap to self-migrate when you upgrade the software of a canister.”
https://sdk.dfinity.org/docs/language-guide/motoko.html https://sdk.dfinity.org/docs/language-guide/motoko.html
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.html https://sdk.dfinity.org/docs/language-guide/actors-async.htm...
- marvy 6y agoOkay, so the magic ingredient is that variables that are marked "stable" are treated specially. Nice!