Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
ruffsl ( ruffsl@programming.dev )  to Programming@programming.devEnglish · 2 years ago

Mind-bending new programming language for GPUs just dropped... - Code Report

youtube.com

external-link
message-square
17
link
fedilink
73
external-link

Mind-bending new programming language for GPUs just dropped... - Code Report

youtube.com

ruffsl ( ruffsl@programming.dev )  to Programming@programming.devEnglish · 2 years ago
message-square
17
link
fedilink
Mind-bending new programming language for GPUs just dropped...
youtube.com
external-link
What is the Bend programming language for parallel computing? Let's take a first look at Bend and how it uses a Python-like syntax to write high performance ...
  • https://github.com/HigherOrderCO/Bend
  • https://higherorderco.com/
alert-triangle
You must log in or register to comment.
  • arthur ( arthur@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 years ago

    Very interesting, and very early stage rn.

  • eveninghere ( eveninghere@beehaw.org ) 
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

    Yet, it runs on massively parallel hardware like GPUs, with near-linear speedup

    What a bold claim…

    • John ( mrkeen@mastodon.social ) 
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      @eveninghere @ruffsl that claim’s correct. But so far it doesn’t have great performance on a single core.

      • eveninghere ( eveninghere@beehaw.org ) 
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        2 years ago

        Sorry, how could it be correct? On that page there’s no explanation on what they’re measuring to begin with. No mention on the benchmark set up either. There are problems that can never scale linearly due to the reality of hardware.

        • sus ( sus@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          the “will linearly speedup anything [to the amount of parallel computation available]” claim is so stupid that I think it’s more likely they meant “only has a linear slowdown compared to a basic manual parallel implementation of the same algorithm”

          • Superb ( superb@lemmy.blahaj.zone ) 
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 years ago

            Good thing they don’t claim that. Read the README, they make very nuanced and reasonable claims about their very impressive language

          • eveninghere ( eveninghere@beehaw.org ) 
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 years ago

            Yeah, and still… the example code in github is also bad. The arithmetic is so tiny that the performance of the execution can be worse than the serial execution. It makes the impression that the language parallelizes everything possible, in which case the execution would possibly get stuck at some parallel parts that’s not worth parallelizing.

            There’s a huge chunk of technical information missing for an expert to imagine what’s going on. And too many comments here still praise the language. They don’t mention anything concrete in those texts. This makes me REALLY skeptical of this post.

            Edit: there are many posts that make up BS for job interviews. I sure hope this is not one of those.

        • John ( mrkeen@mastodon.social ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          @eveninghere oh right, it’s some YouTube vid, I didn’t see that. I just assumed the link went to https://github.com/HigherOrderCO/Bend

      • porgamrer ( porgamrer@programming.dev ) 
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        The github blurb says the language is comparable to general purpose languages like python and haskell.

        Perhaps unintentionally, this seems to imply that the language can speed up literally any algorithm linearly with core count, which is impossible.

        If it can automatically accelerate a program that has parallel data dependencies, that would also be a huge claim, but one that is at least theoretically possible.

        • Superb ( superb@lemmy.blahaj.zone ) 
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 years ago

          If it can automatically accelerate a program that has parallel data dependencies, that would also be a huge claim, but one that is at least theoretically possible.

          You nailed it! That’s exactly what this is! Read through their README, and the paper attached. It’s very cool tech

  • eveninghere ( eveninghere@beehaw.org ) 
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    Is this a PR? The link is PR with no substance, praises itself without any details on benchmarking setup, and still I see some comments here being positive.

  • Tony Bark ( tonytins@pawb.social ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    Yikes, those high CPU threads. Definitely needs some more polishing.

    • sus ( sus@programming.dev ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      what’s wrong with them? are you sure it’s just not set to use 100% of all cores, and then the OS does some shuffling?

  • Kissaki ( Kissaki@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    I hope the demo starts soon…

    (What a bullshit correlation/equation to start with.)

  • wargreymon2023 ( wargreymon2023@sopuli.xyz ) 
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Gotta read the paper, this is a game-changer.

  • Daxtron2 ( Daxtron2@startrek.website ) 
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    This could be game changing for introducing shader programming to more developers if it pans out.

  • rutrum ( rutrum@lm.paradisus.day ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    Futhark is another language with the same goals, executed differently.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 244 users / day
  • 772 users / week
  • 1.89K users / month
  • 4.5K users / 6 months
  • 453 local subscribers
  • 29.2K subscribers
  • 3.08K Posts
  • 23.8K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code