Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Several months in the life of Project Zero – Part 1: The Chrome bug of suffering. Parent comment
> C-style programming in C++ is also a bad sign; the IOBuffer design pattern with separate storage of buffers and their sizes is inherently dangerous.
Rust has "slices", which store a pointer and a length together, so they cannot get out of sync like this.
There are no comments on this comment yet.
> C-style programming in C++ is also a bad sign; the IOBuffer design pattern with separate storage of buffers and their sizes is inherently dangerous.
Rust has "slices", which store a pointer and a length together, so they cannot get out of sync like this.