The compiler will optimize that away

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. StructArrays.jl

    Efficient implementation of struct arrays in Julia

    declares an array of struct of arrays, where each inner struct array contains 8 elements. This would have the advantage of playing well with the streaming prefetcher if you're working with all fields of the `Point` type.

    Julia's StructArrays package is also very convenient: https://github.com/JuliaArrays/StructArrays.jl

  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. JaiPrimer

    A description of Jonathan Blow's programming language, Jai

    Look for "Data oriented design" or "Structs of arrays".

    Here's a talk on the former by Mike Acton: https://www.youtube.com/watch?v=rX0ItVEVjHc

    On the latter, there's Jai, a new programming language for games (WIP, unpublished) by Jonathan Blow, who has been very public in documenting the process creating it, and which is centered around such concepts. There is some unofficial documentation of the ideas on SoA vs AoS and how the language can help switching between the two, e.g. here: https://pixeldroid.com/jailang/overview/Features/SOA/#/overv... and here: https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md...

  4. I hacked up something similar (https://gitlab.com/mbryant/functiontrace/-/blob/master/src/p...) a while ago. Your variant looks much more useful!

  5. datarray

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

    Here is a Nim library inspired by the blog post that simulates array-of-structs with struct-of-arrays:

    https://github.com/liquidev/datarray

  6. struct_array

    Wrapper object for "structure of arrays" coding style

  7. cljfx

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

    The same technique can be used with Clojure + JavaFX [0] and even at the terminal [1]!

    [0] https://github.com/cljfx/cljfx

    [1] https://github.com/eccentric-j/cljs-tui-template

  8. cljs-tui-template

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

    The same technique can be used with Clojure + JavaFX [0] and even at the terminal [1]!

    [0] https://github.com/cljfx/cljfx

    [1] https://github.com/eccentric-j/cljs-tui-template

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

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