StructArrays.jl

Efficient implementation of struct arrays in Julia (by JuliaArrays)

StructArrays.jl Alternatives

Similar projects and alternatives to StructArrays.jl

  1. zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. odysee-api

    API server for Odysee

  4. cljfx

    Declarative, functional and extensible wrapper of JavaFX inspired by better parts of react and re-frame

  5. JaiPrimer

    A description of Jonathan Blow's programming language, Jai

  6. datarray

    Struct-of-arrays style data structure that emulates array-of-structs access

  7. struct_array

    Wrapper object for "structure of arrays" coding style

  8. cljs-tui-template

    A leiningen template to generate ClojureScript Terminal-User-Interface applications built on web technologies you already know.

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better StructArrays.jl alternative or higher similarity.

StructArrays.jl discussion

Log in or Post with

StructArrays.jl reviews and mentions

Posts with mentions or reviews of StructArrays.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-21.
  • Enum of Arrays
    3 projects | news.ycombinator.com | 21 Dec 2024
    Good insight.

    Ah... category theory :-)

    Array-of-Stuct (AoS) treats order in arrays as meaningful, arrays as lists, so AoS => Struct-of-Array (SoA) doesn't loose information. It is a sound transformation because it is a homomorphism.

    Some languages (homoiconic, or with macros or template support) can express this code transformation: e.g. Julia, https://github.com/JuliaArrays/StructArrays.jl, or Rust, https://www.abubalay.com/blog/2019/02/16/struct-of-arrays

    In a sense, you can see this transformation through the concept of monads (although Haskell monads or F# computational expressions cannot directly express it, as far as I know). Then the corresponding category diagrams leads to bags, unordered lists with repetitions, as the right concept for Enums of Arrays.

  • Some CUDA programming fun with Julia
    2 projects | news.ycombinator.com | 7 May 2022
    I can't recommend any particular project that implements something in cuda, but I'd check out the StructArrays.jl[0] project.

    One of julia's strengths is it's macro and type system. StructArrays.jl uses them to create a SoA struct out of a AoS. This is a killer feature that generally requires some form of code generation in C/C++.

    Even if you're just doing something on the cpu, it should set you up to be both simd & gpu friendly. They have a guide on how to swap out the underlying array storage from cpu to gpu memory

    fwiw, cuda is a "Tier 1" supported architecture[1], where "Tier 1" is defined as

    > Tier 1: Julia is guaranteed to build from source and pass all tests on these platforms when built with the default options. Official binaries are always available and CI is run on every commit to ensure support is actively maintained.

    [0] https://github.com/JuliaArrays/StructArrays.jl

    [1] https://julialang.org/downloads/#supported_platforms

  • The compiler will optimize that away
    8 projects | news.ycombinator.com | 2 May 2021
    Julia has a package that provides incredibility easy to use SoA. https://github.com/JuliaArrays/StructArrays.jl Julia's metaprogramming and multiple dispatch mean that it can use user structs fully transparently. Everything just works.
  • Is there a way to have a dataframe whose type will contain the types of its columns?
    1 project | /r/Julia | 4 Mar 2021
    You can use https://github.com/JuliaArrays/StructArrays.jl It's a decent choice when you need ease of manipulation and type stability.
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 28 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic StructArrays.jl repo stats
5
352
7.2
26 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Julia is
the 44th most popular programming language
based on number of references?