3 ms·
> requires C (or C++) compile so this is just FFI into C? hm...
by nikolayasdf123 2y ago
> requires C (or C++) compile
so this is just FFI into C? hm...
- dolmen 2y agoI see only two C files in the repo: https://github.com/habedi/hann/blob/main/core/simd_distance.c https://github.com/habedi/hann/blob/main/core/simd_distance.... https://github.com/habedi/hann/blob/main/core/simd_ops.c https://github.com/habedi/hann/blob/main/core/simd_ops.c So fixing to make it compile just with the Go toolchain (probably by rewriting in assembly) seems doable. Using avo to produce assembly: https://github.com/mmcloughlin/avo https://github.com/mmcloughlin/avo