Pauan
Pauan
> Correct me if I'm wrong, but with externref you'd still need to call into JS to actually access string contents or construct string values, which would likely be relatively...
> I've assumed that when you've talked about "hardcoding", you're still only talking about the specification. Yes, and the point of the spec is that the encoding of stringref is...
I am in favor of giving Wasm explicit control. Wasm is low level so it should have control over low-level details like that. Rust also has a distinction depending on...
Yes, I think that Rust will continue to use its own linear memory for the foreseeable future. The benefit of this proposal (with regards to Rust) is at the boundaries:...
> Today you already can create a JS string from Rust string and use it on the boundary as an externref. Other modules can accept that and convert it to...
> I may be missing something, but if you’re compiling and linking two rust modules, why would you need JS involved at all? There are plenty of reasons why you...
> What tool chain are you using to dynamically link random wasm modules together There are multiple ways to link Wasm modules together, such as [Wasmer](https://wasmer.io/), or linking the Wasm...
@eqrion It seems there's some sort of misunderstanding here, so I'll try to clarify as best as I can... Many different languages compile to Wasm. Most of those languages want...
> @wingo do you know of languages with immutable strings in which strings have identity? JavaScript, PHP, [Lua](https://www.luafaq.org/gotchas.html#T9), and Julia. ---- @rossberg String equality varies quite a lot between languages....
@rossberg JS strings have identity in the sense that there isn't any way to do a pointer comparison in JS, the only identity operator is `===`, which does behave like...