# Slices: should they default to views?

**URL:** https://discourse.julialang.org/t/slices-should-they-default-to-views/83023
**Category:** General Usage
**Created:** [June 19, 2022, 4:28pm UTC](https://discourse.julialang.org/t/slices-should-they-default-to-views/83023 "2022-06-19T16:28:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)
#### Post date: [June 19, 2022, 5:12pm UTC](https://discourse.julialang.org/t/slices-should-they-default-to-views/83023/2 "2022-06-19T17:12:18Z")

</div>

This has been [discussed so many times already](https://github.com/JuliaLang/julia/issues/13157)… please let’s not rehash old topics 😩 In particular I think [this comment](https://github.com/JuliaLang/julia/issues/13157#issuecomment-221294186) is most relevant. Also Ref. [Array slices as views - what's the state of affairs?](https://discourse.julialang.org/t/array-slices-as-views-whats-the-state-of-affairs/1169)

The only thing that has changed since then is that views are stack allocated now most of the time. On the other hand, we have A LOT of code now that assumes this copies. So let’s either hold off on this discussion until 2.0, when it’s even possible to change that (though I have my doubts that this _would_ change, either way).

---

_[View the full topic](https://discourse.julialang.org/t/slices-should-they-default-to-views/83023)._
