News for hackers. Stuff that matters.
Re:Up to 4GB of Memory in WebAssembly by monocasa on Thursday May 14, 2020 @05:38PM (#23185849)
What do you think that computationally expensive code is cranking on? It ain't small bits of text.
Re:Up to 4GB of Memory in WebAssembly by gpm on Thursday May 14, 2020 @08:58PM (#23187666)
When it is text, it's usually more small bits of text than big bits. If you're just copying around giant strings you're unlikely to be using webasm. More likely you're copying around tons of small strings as you format them into a giant string if that's the end goal. Or you're copying around tons of small strings as you use those small strings to make api calls to the dom (indirectly through js). Or you're just plain running something like a physics simulation and don't even have text in the first place.