D's garbage collection can be disabled, allowing for deterministic memory management and fine-grained control, though at the cost of manual memory management.
elaborate
C++'s `std::vector` is not guaranteed to be contiguous in memory, although it usually is in practice for performance reasons. There are niche cases where a non-contiguous implementation might be chosen.
elaborate