This question is primarily directed towards @roman-kashitsyn
I’ve recently been going through the more technical blog posts on the Dfinity Medium channel. In there, I read 2 articles by @roman-kashitsyn around memory management on the IC and in both places he mentions that memory page sizes on the IC are 4KiB in size. I’m referring to these:
Optimizing the Internet Computer Memory System’s Performance | by DFINITY | The Internet Computer Review | Medium
IC Internals: Orthogonal Persistence | by Roman Kashitsyn | The Internet Computer Review
However, other authoritative sources say that WASM pages are 64KiB in size.
I wanted to clarify what the sizes are and if there’s a hole in my understanding. This is required because I am borrowing serialization/deserialization logic from OpenChat’s implementation here and this is a constant that needs to be specified while using the lower level API defined here in the ic_cdk.
Thank you for clarifying.