| ▲ | cpa 2 hours ago | ||||||||||||||||
For those wondering what it's for: it's basically NumPy + a JIT compiler with standard Haskell syntax (you mostly just need to change the type signatures, not the code). It can vectorize, parallelize on the CPU, or offload to the GPU automatically. It's a very mature project, maybe 10+ years old. | |||||||||||||||||
| ▲ | Athas an hour ago | parent [-] | ||||||||||||||||
One big difference compared to NumPy (which you may or may not care about depending on how picky you are), is that Accelerate is a higher-order programming model. Basically, you can have 'map' (with a user-provided function), and it will go fast, in contrast to NumPy's model where only first-order operations go fast. | |||||||||||||||||
| |||||||||||||||||