Andy Wingo
Andy Wingo
The prototype lookup is indeed annoying. Could we instead import `Function.call.bind(String.prototype.indexOf)` et al? It would require a bit of work but you could see at compile-time that the import is...
I am also intrigued about the use of `String.fromCharCode` by the J2Wasm compiler. This would seem to suggest that ropes are a feature that are necessary for the MVP. Am...
@gkdn If I understand you correctly, you aren't actually importing `String.prototype.indexOf`, you are importing `(s, r, i) => s.indexOf(r, i)`. This will look up `indexOf` on `String.prototype` at run-time and...
I think that you would agree that it would be an error if we allowed WebAssembly to distinguish strings that can't be distinguished on the JS level -- that `"foo"...
My experience in Scheme (gosh I am an old person now) is that languages in which strings have identity lead to unspecified behavior and thus users shying away from using...
My goodness, I just ran into this for a Scheme compiler; I am using `(ref eq)` as my uniform representation and it is annoying that I will have to wrap...
I think it may make sense to define the hash function. The reason is that you would like to be able to generate static hash dispatch tables for dispatch over...
If I understand correctly, in Java you really want to be treating strings as WTF-16 all the time and anything else is a distraction. But there are other languages, Scheme...
Hello old issue :) I think that WTF-8 in string literal sections makes sense and we should go for it. I don't know precisely how to square it with the...
AFAIU this change would introduce a layering between the stringrefs proposal and GC where there was none before. Three options: 1. Leave as it was: `stringref` and the views are...