News for hackers. Stuff that matters.
Re:Bend: a high-level language that runs on GPUs (via HVM2) by Twirrim on Friday May 17, 2024 @07:06PM (#40394979)
Okay, no. I know I called out performance in my post, but that was just from my observations. It surprised me to see something be that much slower than pure python. If you show me a near-python code example in a new language, as someone who mostly writes python code, I'm going to go and write it in python and see how it compares performance wise.

The authors never made any kind of false claims at all. You're reading a lot in to both their README and my post.

They've updated the README for a bit of clarity, but even re-reading the README as it was when I looked this morning (and even a few from before) it hasn't claimed to be fast. The claims are all related to the features that it does have, around parallelisation.

Re:Bend: a high-level language that runs on GPUs (via HVM2) by light_hue_1 on Friday May 17, 2024 @07:18PM (#40395062)
I don't get it. Are people on HN so completely ignorant of even the most basic CS101 concepts?

That's not how complexity theory works at all. If your constants are massive you can make anything look like it scales well.

Imagine a compiler that adds in a very large sleep that's inversely proportional to the number of cores. There you go. My compiler now emits code that scales linearly. Of course it's very slow. Where do I pick up my Turing award?

I never thought that CS education was this bad.