4 ms·
The problem I run into with these sorts of structures is the whole aggregation versus composition issue. With composition the SoA problem is pretty simple. Thi
by hinkley 2y ago
The problem I run into with these sorts of structures is the whole aggregation versus composition issue.
With composition the SoA problem is pretty simple. This object belongs to an owner or a category and it just never 'moves' so the most naive solution is just fine.
I haven't looked at C++ in a million years, but looks like this implementation fixes the aggregation problem by handing out handles to the data, but I don't see anything in here where it tries to hand out the same handle for the same offset. I don't know about C++ but that matters in some languages.
- ozgrakkurt 2y agoI would recommend apache arrow, it has structures that handle nesting and keep data still fully columnar