JuliaCon 2025

FixedSizeArrays.jl: What Array probably should have been
2025-07-25 , Main Room 1 (Main stage)

In this talk we will introduce FixedSizeArrays.jl, a new package which implements mutable fixed-size arrays, based on the recent Memory type.


Julia's built-in Array type is a convenient multi-dimensional container for continuous data, with the ability to resize it. But do you really need this flexibility all the time? In most linear algebra-related applications you don't need to change the size of existing vectors or matrices, and the resizability comes at the cost of preventing potential compiler optimizations based on the known shape of arrays.

FixedSizeArrays look very similar to Julia's standard Arrays, with the difference that their size can't be changed, but unlike StaticArrays.jl the shape of the array isn't part of their type.

We will explore the opportunities for optimization and improved performance that FixedSizeArrays.jl offers, and outline possible future direction, including the possibility of having such an implementation in Julia Base.

Research Software Developer at UCL during the day, binary builder during the night.

This speaker also appears in:

SciML and Base developer at JuliaHub

This speaker also appears in:

Julia fan