Re:I/O is no longer the bottleneck
by throwaway894345 on Saturday November 26, 2022 @08:27AM
(#33752448)
Typically you would just implement vectorization in assembly in the Go case.
> To get vectorization in Go, you have to implement it in C and link that into your Go program.
Go has an assembler which does not require implementing anything in C (though the assembler uses a more C-style syntax), nor critically does it require using CGo linkage. It's used to implement many hot paths in the stdlib.
No, but at least you have direct access to the intrinsics in C. To get vectorization in Go, you have to implement it in C and link that into your Go program.