Bend: a high-level language that runs on GPUs (via HVM2)
1–10 of 269 posts
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#2Awesome! It looks similar to the problems that Modular AI aims to solve.
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#3This is cool as shit.
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#4This and HVM2 are some of the most interesting work I know off currently. Nice break from all the LLM stuff.
Now I just need a Common Lisp implemented using it!
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#5I've made a benchmark of the current version of Bend running a simple counter program on CPU vs GPU, vs Haskell,Node,Python,C: https://docs.google.com/spreadsheets/d/1V_DZPpc7_BP3bmOR8Ees...
It's magical how the GPU version is basically flat (although with a high runtime init cost)
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#6What would be super interesting is having something library, and able to use something like this inside Elixir or Ruby, to optimize hotspots.
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#7Maybe I missed it, but there seems to be no license attached to HVM2, nor to Bend or Kind?
Re: Bend: a high-level language that runs on GPUs (via HVM2)
#8Re: Bend: a high-level language that runs on GPUs (via HVM2)
#9I remember seeing HVM on here a year or two back when it came out and it looked intriguing. Exciting to see something being built on top of it!
I would say that the play on words that gives the language its name ("Bend") doesn't really make sense...
https://github.com/HigherOrderCO/bend/blob/main/GUIDE.md
> Bending is the opposite of folding. Whatever fold consumes, bend creates.
But in everyday language bending is not the opposite of folding, they are more or less the same thing. Why not "unfold", which also has a connotation of "the process of happening" as well as merely the opposite of folding?
I have a question about the example code and output for bending:
type Tree:
Node { ~lft, ~rgt }
Leaf { val }
def main():
bend x = 0:
when x
Where does the initial "tree = fork(0)" come from?Re: Bend: a high-level language that runs on GPUs (via HVM2)
#10Oh wow do I wish this existed when I was playing with evolutionary computation and genetic algorithms in college…