4 ms·
Yet another incarnation of slices in D : https://dlang.org/spec/arrays.html#slicing https://dlang.org/spec/arrays.html#slicing in a store near you this time. Y
by c-smile 9y ago
Yet another incarnation of slices in D : https://dlang.org/spec/arrays.html#slicing https://dlang.org/spec/arrays.html#slicing in a store near you this time.
Yet string_view, vector_view and other range<T>'s in C++.
Yet Pythonic slices.
Yet Rust.
- WaxProlix 9y agoI don't understand your comment, could you clarify a bit? Are you saying that Python's slice operator is a copy of D's? Or that there's some sort of contiguous memory guarantee with some sort of Sliceable in D? In Python?
- pjmlp 9y agoLanguage features are not relevant on their own. The remaining eco-system needs to be relevant as well.