Nimrod's builtin slices copy. It's possible to implement more D-like slices in Nimrod, but a bit tricky. However, if you don't copy slicing a large string (or array) keeps the whole string in memory so it's questionable whether it's a good idea.

In that case you can still explicitly copy a slice in D.

Reply via email to