Get the latest tech news
Bend: a high-level language that runs on GPUs (via HVM2)
Contribute to HigherOrderCO/Bend development by creating an account on GitHub.
Unlike low-level alternatives like CUDA and Metal, Bend has the feeling and features of expressive languages like Python and Haskell, including fast object allocations, higher-order functions with full closure support, unrestricted recursion, even continuations. For example, to render images in real time, we could simply allocate an immutable tree on each frame: Long-distance communication is performed by global beta-reduction(as per the Interaction Calculus), and synchronized correctly and efficiently by HVM2's atomic linker.
Or read this on Hacker News