DConf 2019 Day 1 Keynote: Allocating Memory with the D Programming Language -- Walter Bright
The D Language Foundation
0:00 / 0:00
DConf 2019 Day 1 Keynote: Allocating Memory with the D Programming Language -- Walter Bright
9 600 просмотров · 7 лет назад
The D Language Foundation
2,09 тыс. подписчиков
9 600 просмотров · 7 лет назад
Slides are available at https://dconf.org/2019/talks/bright.html.
Non-trivial programs are typically heavily dependent on allocating memory. The strategy chosen can have enormous influence over the utility of the resulting program. D supports a number of techniques for allocating memory. Even within a program, multiple techniques can be used. I'll cover the main strategies, along with their strengths and weaknesses. Coverage includes garbage collection, C style allocation, stack allocation, RAII, scope guard, hybrid stack/malloc, and no-allocation allocation.