Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yet another incarnation of slices in D : 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.



I 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?


Language features are not relevant on their own.

The remaining eco-system needs to be relevant as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: