Vanquish Forever These Bugs That Blasted Your Kingdom
Dmitry Olshansky
dmitry.olsh at gmail.com
Wed Feb 7 19:37:22 UTC 2018
On Wednesday, 7 February 2018 at 13:29:04 UTC, Mike Parker wrote:
> Walter's got a new post up! It's the first in a new series on
> the benefits of BetterC mode. In this one, he talks about
> solving the fencepost problem (off-by-one errors) with D's
> arrays.
>
> Blog:
> https://dlang.org/blog/2018/02/07/vanquish-forever-these-bugs-that-blasted-your-kingdom/
DynamicArray is actually laid out in length, pointer order.
Thankfully only reaaally low-level code has to know that.
>
> Reddit:
> https://www.reddit.com/r/programming/comments/7vw0gj/vanquish_forever_these_bugs_that_blasted_your/
More information about the Digitalmars-d-announce
mailing list