News for hackers. Stuff that matters.
Re:Motoko, a programming language for building directly on t... by jpalomaki on Thursday August 27, 2020 @09:03AM (#24293242)
” 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

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...

Re:Motoko, a programming language for building directly on t... by marvy on Thursday August 27, 2020 @02:15PM (#24296716)
Okay, so the magic ingredient is that variables that are marked "stable" are treated specially. Nice!