3 ms·
A Common Lisp project that uses SIMD (specifically AVX2) is the Quantum Virtual Machine [1]. It’s a quantum computer simulator. Here [2] is part of the source t
by reikonomusha 7y ago
A Common Lisp project that uses SIMD (specifically AVX2) is the Quantum Virtual Machine [1]. It’s a quantum computer simulator. Here [2] is part of the source that has the SIMD instructions.
It’s cool that with using SBCL, an implementation of Common Lisp, you can write compartmentalized assembly very easily in an otherwise extremely high-level language.
[1] https://github.com/rigetti/qvm https://github.com/rigetti/qvm
[2] https://github.com/rigetti/qvm/blob/master/src/impl/sbcl-avx-vops.lisp#L53 https://github.com/rigetti/qvm/blob/master/src/impl/sbcl-avx...