Dfx 0.24.0 is released

Hey everyone! dfx 0.24.0-beta.0 is available for testing. You can find the release notes here:

The most notable feature is support for Motoko’s enhanced orthogonal persistence. For a user-perspective overview what that is, look here. For a technical deep dive, look here. Otherwise ask @luc-blaeser if you have questions about it. EDIT: I stand corrected. Read below for why…

If you’d like to try it out, use the following command:

dfxvm install 0.24.0-beta.0
6 Likes

Just a note on enhanced orthogonal persistence (EOP): The current dfx beta release 0.24.0-beta.0 does not yet include the required moc release 0.13.0 with the support of enhanced orthogonal persistence.

A possibility to try enhanced orthogonal persistence out is to manually install moc 0.13.0 from Release 0.13.0 · dfinity/motoko · GitHub on top of dfx. Or, the easy way :), wait until the next beta release of dfx.

3 Likes

Please note that this is just a tag for now, there is no release yet due to some tooling issue. Sorry for the delay.

1 Like

On the bright side, this includes moc 0.12.1, which is a solid one containing the Motoko try/finally feature. Please consult the release notes and also minor changes. Have fun!

2 Likes

Well, it is Friday the 13th after all

4 Likes

0.24.0 is released. You can try it with

dfxvm install 0.24.0
1 Like

Does the EOP have 64bit wasm capability?

If I want to upgrade(which I guess I should wait on), do I need to migrate, or will compiling with the EOP just pick everything up? What about my stable variables? Should I migrate them to heap?

Hi Austin,
Unfortunately, the dfx release 0.24.0 does not include the latest Motoko release that supports EOP. This would be contained in the next beta release of dfx 0.25.0.

EOP would be first released for beta testing locally in dfx, by opting in with the --enhanced-orthogonal-persistence compiler flag. In a few weeks, IC mainnet should be ready to support 64-bit, however, initially, the capacity will be limited to 4GB or so, meaning there is no space gain yet (although super-short constant-time upgrades). Migration of old stable variables to enhanced orthogonal persistence happens automatically. Also, if stable memory was used, this will still be supported in combination of EOP.

I expect that full productive EOP usage still takes some time, a few months, once IC mainnet Wasm64 support is activated and the beta testing phase went successfully. I’ll keep you informed as soon as Motoko EOP is available for beta testing via dfx. I am sorry for the delay.

4 Likes

moc 0.13.0 is out now, so for all adventurous minds (who know how to tweak dfx to use it), happy testing!

EDIT: Just out: Beta Testing Motoko’s Enhanced Orthogonal Persistence (EOP)

1 Like