Earlier quoted context omitted.
I still don’t understand why we lack a language that will take uncomplicated computation heavy code and turn it into SIMD / multi thread / multiprocessing / GPU code with minimal additional syntax. Surely this is the sort of thing compiler / language design nerds dream about? It doesn’t have to guarantee efficiency or provide cutting edge performance in any context … it should just exist! My understanding is that we…
Still a bit early but I'm working on kiwi, a k-dialect that can lower to Apple MLX. Currently supports CPU and GPU on macOS and CPU on linux. https://kiwilang.com https://github.com/kiwi-array-lang/kiwi Kiwi runs computations on small dense arrays in its own runtime, when they are larger it will lower to MLX CPU and eventually to MLX GPU when it is worth it. As user you don't have to change any code, you just write k…
I’ve yet to find a language that does SIMD / multithreading / GPU with minimal tweaks let along multiprocessing.