News for hackers. Stuff that matters.
Re:Hacking the Golang Runtime with Genereics by mattpallissard on Wednesday December 21, 2022 @01:24PM (#34084379)
> premature optimization is the root of all evil right?

Making sure they're aren't a bunch of alloc's or GC spent in the hot path of a high performance library is hardly a premature optimization.

If you're tackling problems in DB land changes are you already have a fairly clear picture of what needs to happen and have a list of shortcomings you're trying to avoid. Memory layout, buffers, wals, etc are all things that should be accounted for upfront.

Re:Hacking the Golang Runtime with Genereics by naasking on Wednesday December 21, 2022 @02:05PM (#34084903)
> Making sure they're aren't a bunch of alloc's or GC spent in the hot path of a high performance library is hardly a premature optimization.

You often don't know the what the hot paths are.