> <https://higherorderco.com/ > |Bend: a ...
# linking-together
m
<https://higherorderco.com/
|Bend: a parallel language>
With Bend you can write parallel code for multi-core CPUs/GPUs without being a C/CUDA expert with 10 years of experience. It feels just like Python!
No need to deal with the complexity of concurrent programming: locks, mutexes, atomics... any work that can be done in parallel will be done in parallel.
Twitter announcement (includes a short video demo)
After almost 10 years of hard work, tireless research, and a dive deep into the kernels of computer science, I finally realized a dream: running a high-level language on GPUs. And I'm giving it to the world! Bend compiles modern programming features, including:
- Lambdas with full closure support
- Unrestricted recursion and loops
- Fast object allocations of all kinds
- Folds, ADTs, continuations and much more
To HVM2, a new runtime capable of spreading that workload across 1000's of cores, in a thread-safe, low-overhead fashion. As a result, we finally have a true high-level language that runs natively on GPUs!
🎸 1
n
I am really curious how they want to integrate it with the rest of the AI stack.
j
In my experience with CUDA, you really have to be paying attention to hardware details like thread block size, banked memory layout and access patterns. I’m not sure if what I learned is still up to date, but don’t cache misses cause sequential processing? I really like the idea behind their system, I’d love to learn more about their GPU runtime in particular though. In my experience I was very grateful for C & CUDA, do others agree? Though at times I felt that even they were too high level. EDIT: This comment feels a bit pessimistic, it’s very cool, and I’m sure a large group could benefit from this.
o
I liked the video from Fireship. It's short, gets to the point and has some nice animations.

https://youtu.be/HCOQmKTFzYY?si=A2ebs9Tg3eRsA3uPâ–¾