logoalt Hacker News

diath • today at 6:34 PM • 0 replies • view on HN

> We don't have buffer overflows.

You don't have that class of buffer overflows, but for as long as D allows raw pointer arithmetic, you still got buffer overflows, i.e. here's a simple snippet triggering ASAN: https://godbolt.org/z/qPhMKzM1z