Hacker News new | past | comments | ask | show | jobs | submit login

If I had to summarize it, it would be:

> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: