Comment

Comment by WalterBright

Modern C still promptly decays an array to a pointer, so no array bounds checking is possible.

D does not decay arrays, so D has array bounds checking.

Note that array overflow bugs are consistently the #1 problem with shipped C code, by a wide margin.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton