Re:How We Built a Vectorized SQL Engine
by jordanlewis on Monday November 11, 2019 @02:14PM
(#21507866)
A few Cockroach Labs engineers are hanging out on this thread - happy to answer any questions you might have about how we made Go go faster.
[ Parent
| on HN ]
Re:How We Built a Vectorized SQL Engine
by sujayakar on Monday November 11, 2019 @03:11PM
(#21508397)
does Go's compiler emit SIMD instructions? it'd be cool to see the disassembly for the final, column order version since that loop would vectorize well. the same question goes for the speed-of-light benchmark -- there may be room to push even further there if it's doing a single multiply at a time.
Re:How We Built a Vectorized SQL Engine
by ryanworl on Monday November 11, 2019 @03:23PM
(#21508499)
It does not. You can use something like Avo to lighten the load a bit of writing those assembly routines. It takes care of register allocation, struct fields, and the necessary function stubs.