WebAssembly / memory64

Memory with 64-bit indexes
Other
254 stars 21 forks source link

Any clue at a timeline? #20

Closed BHare1985 closed 3 years ago

BHare1985 commented 3 years ago

When can we expect 64-bit memory indexes? Guesses are welcomed

Specifically, such that Internet Computer canisters can use more than 4 GB of memory

aardappel commented 3 years ago

There is no single moment when 64-bit is "done" since there are many projects involved.

I have no idea how Dfinity uses Wasm, what external tools does it need for wasm64 to function?

lars-t-hansen commented 3 years ago

Firefox: in progress, eta unknown.

rossberg commented 3 years ago

Dfinity uses Wasmtime, so we'd depend on that. And it currently provides a Rust and a Motoko SDK. The latter doesn't have any essential external dependencies.

@BHare1985, that said, there are additional hurdles to adopting 64-bit memories on the IC, such as persistence. And as mentioned on the thread you link to, it would not magically solve scalability for apps. What IC apps would actually benefit more from is multiple memories, in order to make the use of stable memory more efficient.