News for hackers. Stuff that matters.
Re:WASM 3.0 Completed by davexunit on Wednesday September 17, 2025 @08:25PM (#45283273)
That's a different thing. There is still no string type. JS string built-ins are a kludge for web targets only.
Re:WASM 3.0 Completed by titzer on Thursday September 18, 2025 @09:11AM (#45289235)
Just reimplement those JS string builtins in another host environment and provide it as a Wasm library. Stringref was basically just proposing pushing JS strings down into Wasm, which many in the CG saw as a big chunk of one specific platform just moving down a layer, into the engine.
Re:WASM 3.0 Completed by davexunit on Thursday September 18, 2025 @06:01PM (#45295550)
Having used and implemented stringref and having seen the built-ins proposal I really think stringref is a much better developer experience and the CG is wrong. The built-ins are better than nothing but it's a terrible hack.