You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the time of writing the spec already supports handling JS Strings of that size, with one notable API issue. When users use encodeStringIntoUTF8*() without measureStringAsUTF8(), this is usually done by getting a rough estimation through "wasm:js-string" "length". However, this function returns a i32.
To address this we would have to introduce an overload to "wasm:js-string" "length" returning a i64.
Important
Currently no major JS engine supports strings bigger than 1 GiB.
At the time of writing the spec already supports handling JS Strings of that size, with one notable API issue. When users use
encodeStringIntoUTF8*()withoutmeasureStringAsUTF8(), this is usually done by getting a rough estimation through"wasm:js-string" "length". However, this function returns ai32.To address this we would have to introduce an overload to
"wasm:js-string" "length"returning ai64.Important
Currently no major JS engine supports strings bigger than 1 GiB.