Re:Parsing Protobuf at 2+GB/S: How I Learned to Love Tail Ca...
by astrange on Sunday April 25, 2021 @10:15PM
(#26938586)
The x86 intrinsics are so hard to read because of terrible Wintel Hungarian naming conventions that I think it’s quite clearer to write your SIMD in assembly. It’s usually easy enough to follow asm if there aren’t complicated memory accesses anyway. The major issue is not having good enough debug info.
Re:Parsing Protobuf at 2+GB/S: How I Learned to Love Tail Ca...
by xxpor on Monday April 26, 2021 @12:48AM
(#26939326)
I honestly don't think I've seen native windows code in over 20 years at this point. Obviously there's a ton of C++ out there, it's just basically as far away from me as possible.
Re:Parsing Protobuf at 2+GB/S: How I Learned to Love Tail Ca...
by ma2rten on Tuesday April 27, 2021 @01:10AM
(#26952245)
But this seems to be an edge case where you have to rely on functional programming and experimental compiler flags to get the machine code that you want.
Portability is typically not a big issue, because you can have a fallback C++ implementation.
Plus it's C so it's infinitely more maintainable and way more portable.