Motoko Biweekly Update Part 10!
Hey Motoko Developers! 👋
Welcome back to the latest Motoko update post! If you happened to miss our previous update you can find the post here. Last time we discussed performance benchmarking of Motoko and the recently released threshold canister. Today, we’re excited to discuss Motoko’s new Stable Regions and a new IC Certification library! If you want to weigh in on the direction of stable memory developments in Motoko or checkout a new certification library, then keep reading.
Page Allocators Revamped: Stable Regions!
@matthewhammer on the languages team has been hard at work on a new feature for Motoko called Stable Regions. The idea behind this idea (previously called the Page Allocator) is to allow users to request access to regions of stable memory that are isolated from each other. While this feature will certainly unlock a lot of use cases, one obvious impact of this will be the ability to create stable data structures in Motoko that stores its data in stable memory (think stable maps, buffers, etc.). Checkout Matthew’s forum post here for more details. And let us know in the comments if you have any questions about the design of this feature as well as any feedback you want to give now to help direct the direction of the development!
ic-certification: A new Certification Library in Motoko
Thanks to work by @nomeata, we now have a new certification library called
ic-certification Motoko library implements the Internet Computer’s “certification tree” data structure that underlies the Certified Assets mechanism, used to validate HTTP responses from canisters and protect them against malicious nodes. It also underlies the Canister Signatures mechanism, used to let canisters such as the Internet Identity sign requests to the Internet Computer, and can be used to implement application-specific certification of query responses.
The development was funded by an icdevs.org bug bounty.
Check out the library at the mops link above, and send over any feedback you might have to @nomeata!
Till next time!
Keep exploring, and see you guys in two weeks! – DFINITY Languages team