# StructArrays should be in Julia stdlib?

**URL:** https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012
**Category:** Meta Discussion
**Tags:** proposal
**Created:** [April 4, 2020, 10:55am UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012 "2020-04-04T10:55:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![francesco.alemanno](https://avatars.discourse-cdn.com/v4/letter/f/e8c25b/32.png) [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)
#### Post date: [April 4, 2020, 10:55am UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012/1 "2020-04-04T10:55:26Z")

</div>

> **[GitHub - JuliaArrays/StructArrays.jl: Efficient implementation of struct...](https://github.com/JuliaArrays/StructArrays.jl/)**
>
> Efficient implementation of struct arrays in Julia - GitHub - JuliaArrays/StructArrays.jl: Efficient implementation of struct arrays in Julia

this package offers a functionality which is so commonly desirable and so ‘natural’ and that in my humble opinion makes this package worthy of being in the StdLib,  
what do you guys think?

---

<div class="post-metadata">

### Author: ![Kruxigt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kruxigt/32/11694_2.png) [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)
#### Post date: [April 4, 2020, 11:04am UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012/2 "2020-04-04T11:04:02Z")

</div>

I’m not qualified to judge that kind of thing but I can say that it has been essential in most of my applications for performance. I guess it could be done a bit cleaner if it was more integrated into the language.

---

<div class="post-metadata">

### Author: ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)
#### Post date: [April 4, 2020, 12:02pm UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012/3 "2020-04-04T12:02:09Z")

</div>

I can say I’ve never used it. 🙂

There have also been discussions about adding stuff into the “standard library”. The problem is anything added into Julia has to maintain backward compatibility and increases the test surface area. Additionally new features can only be released with new versions of Julia. This actually **slows** the development down of that package.

I believe there is a running line in Python circles that the standard library is where modules go to die and they are trying to avoid that with Julia.

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [April 4, 2020, 12:44pm UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012/4 "2020-04-04T12:44:41Z")

</div>

Just to add to this, my understanding is that the criterion for inclusion in the standard library isn’t really how useful it is, but rather partly for historical reasons and partly for what’s needed to support the package manager.

There was some discussion of being able to version standard libraries separately from base Julia at some point; I wonder if that happens whether that will affect the inclusion criteria.

---

<div class="post-metadata">

### Author: ![francesco.alemanno](https://avatars.discourse-cdn.com/v4/letter/f/e8c25b/32.png) [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)
#### Post date: [April 5, 2020, 1:50pm UTC](https://discourse.julialang.org/t/structarrays-should-be-in-julia-stdlib/37012/5 "2020-04-05T13:50:15Z")

</div>

i see! 🙂 thank you guys for the feedback
