News for hackers. Stuff that matters.
Re:Zig's new LinkedList API (it's time to learn fieldParentPtr) by Ygg2 on Tuesday April 15, 2025 @04:44AM (#43690436)
> but learning to think about end-to-end performance absolutely will.

In a cloud DB webservice what will save you is having a good tracing/debugging story. From it, it will be easy to see E2E performance. Sure, some things will translate, but going SIMD optimized layout on a class, that will have to talk to DB across the ocean is a fool's errands.

To optimize you must have a good target and make sure you are measuring correctly.

Re:Zig's new LinkedList API (it's time to learn fieldParentPtr) by immibis on Wednesday April 16, 2025 @11:57AM (#43706996)
Why do you think that making a minimum number of queries to a cloud database is anything other than conceptually similar to making a SIMD optimized layout on a class?
Re:Zig's new LinkedList API (it's time to learn fieldParentPtr) by Ygg2 on Wednesday April 16, 2025 @02:40PM (#43708880)
That's not what I was talking about. Optimizing queries to DBs is nothing like optimizing SIMD layout.