Better HN
topnewbestaskshowjobs
Log inSign up

aphillips801

1 karma · joined Sep 20, 2020 (6y ago) · 4 submissions

Submissions

comment 6mo ago · link · parent

Also here is an example of some Go and the Asm code generated:

https://godbolt.org/z/n8hKhc7rY

(click the recompile button if you don't see the Asm code)

comment 6mo ago · link · parent

I did a lot of experimentation with the Go1.26 experiment. It's easy to use and produces good code but only supports x86 ATM. (See https://andrewwphillips.github.io/blog/go1p26.html#simd-expe...)

I think there will be a "portable" wrapper that will also support other architectures (arm, riscv, even wasm) in the future based on the Highway C++ library.