Re:Bend: a high-level language that runs on GPUs (via HVM2)
by rowanG077 on Friday May 17, 2024 @05:25PM
(#40394354)
Where did he claim it is fast? As far as I can see the only claim is that it scales linearly with cores. Which it actually seems to do.
[ Parent
| on HN ]
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by light_hue_1 on Friday May 17, 2024 @05:37PM
(#40394421)
They show benchmarks with massive performance improvements. That clearly implies that the system is fast. Where's the disclaimer that this performance is worse than Python but eats up an entire massive GPU?
The readme is also blatantly lies: "It is not the kind of algorithm you'd expect to run fast on GPUs." Bitonic sort on GPUs is a thing and it performs well.
The gaslighting is just amazing here.
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by flockonus on Friday May 17, 2024 @08:09PM
(#40395385)
I'll give you the benefit of the doubt in case README changed, but here's the benchmark it claims, currently, against it's own execution modes:
CPU, Apple M3 Max, 1 thread: 12.15 seconds
CPU, Apple M3 Max, 16 threads: 0.96 seconds
GPU, NVIDIA RTX 4090, 16k threads: 0.21 seconds
The README mentions "fast" in 2 places, none of which is comparing to other languages.
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by rowanG077 on Friday May 17, 2024 @06:23PM
(#40394706)
Yes and those benchmarks are real. Showing linear speed up in the number cores when writing standard code is a real achievement. If you assumed that somehow means this is a state of the art compiler with super blazing performance is on no one but you. The readme lays it out very clearly.
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by light_hue_1 on Friday May 17, 2024 @07:08PM
(#40394996)
I'm astounded by the level of ignorance of basic CS101 principles shown in this thread. You've clearly never taken a class on parallel computing or complexity theory? Geez. HN is decaying.
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by ewild on Friday May 17, 2024 @08:27PM
(#40395492)
the irony in you blasting all over this thread is that you dont know how it even works. You have 0 idea if their claims of scaling linearly are causing bottlenecks in other places as you state, if you read actual docs on this its clear that the actaul "compiler" part of the compiler was put on the backburner while the parallellization was figured out and as that is now done a bunch of optimizations will come in the next year
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by csirac2 on Saturday May 18, 2024 @09:01AM
(#40398673)
If you want to bring up CS101 so badly, surely turing machines and lambda calculus would be more relevant.
The actually interesting claim is that somebody has found a practical use for Interaction Combinators as a computing model for putting GPUs to work.
Re:Bend: a high-level language that runs on GPUs (via HVM2)
by EgoIncarnate on Friday May 17, 2024 @11:35PM
(#40396294)
You're missing some context, it's not bitonic sort itself that would present an issue with GPUs, it's the "with immutable tree rotations" part, which in a naive implementation would imply some kind of memory management that would have trouble scaling to thousands of cores.