News for hackers. Stuff that matters.
Re:The Intuitive Guide to Data Structures and Algorithms by amelius on Saturday October 14, 2017 @10:37AM (#15472341)
> (Pet example: if you designed websites as data structures and the browser to support doing so efficiently, 90% of requests on a site like Reddit would be a single `memcpy`.)

Formatting a webpage cannot be done by a simple memcpy, especially since you don't know the size of the browser window in advance.

But perhaps I didn't understand the point you were trying to make.

Re:The Intuitive Guide to Data Structures and Algorithms by Veedrac on Saturday October 14, 2017 @11:05AM (#15472464)
I mean on the server-side. Right now the process between "I want thread 35va5k" and "I want to render this html" makes extremely inefficient use of both servers and network.