News for hackers. Stuff that matters.
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.
Re:How We Built a Vectorized SQL Engine by dilyevsky on Monday November 11, 2019 @11:16PM (#21511475)
I was recently profiling some code in utf8 package and it caught my attention that some easily SIMDable code was lighting up in the flame chart. Kind of lame it can’t do that
Re:How We Built a Vectorized SQL Engine by asubiotto on Monday November 11, 2019 @03:28PM (#21508544)
+1 avo is on our radar as a tool to use in the future