The New Massively Parallel Language

163,770
0
2024-05-24に共有
Recorded live on twitch, GET IN

Links
twitter.com/VictorTaelin/status/179121316252552407…
By: twitter.com/VictorTaelin
   • Mind-bending new programming language...  
By:    / @fireship  

My Stream
twitch.tv/ThePrimeagen

Best Way To Support Me
Become a backend engineer. Its my favorite site
boot.dev/?promo=PRIMEYT

This is also the best way to support me is to support yourself becoming a better backend engineer.

MY MAIN YT CHANNEL: Has well edited engineering videos
youtube.com/ThePrimeagen

Discord
discord.gg/ThePrimeagen


Have something for me to read or react to?: www.reddit.com/r/ThePrimeagenReact/

Kinesis Advantage 360: bit.ly/Prime-Kinesis

Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
turso.tech/deeznuts

コメント (21)
  • "I'm not gonna use this..." you say that, then six months later we will see a "Learning the Bend Language" video.
  • This thing is built on top of another of the guy's projects called HVM, which was a massively parallel runtime originally envisioned as a compilation target for Haskell. But it's a whole platform, you can write any language on top of it. It's pretty cool.
  • Mutex: To freely quote Kevlin Henney here: "They should really have called them Bottleneck instead. No one would be like - Oh, I think we just need to add two bottlenecks here in those classes and we are fine" :D.
  • @dipereira0123
    This language is so advanced that we dont even have a problem for it to solve (YET)
  • Multithreading is simple. Take two threads, put them into two different needles, sew two different sweaters simultaneoulsy, save the sweaters to your deskop, done.
  • @Flakelolz
    13:45 Clippy warns you about this things. The specific lint rule is called "let_underscore_future". Clippy should be mandatory when writing Rust imo, it has so many helpful warnings.
  • @Kram1032
    interaction combinators are super simple. The basic form is just: "If two of the same combinator meet, connect up their input wires" "it two different combinators meet, copy them" and somehow that suffices to - be Turing complete - calculate things as efficiently as possible And furthermore, these compute locations can happen completely independently from each other, i.e. in parallel. There ARE limitations on this. Namely, you have to structure your code in a form that properly takes advantage of this. However, I think that's where Bend comes in. HVM2 is basically typed interaction combinators. Bend probably is a layer that attempts to minimize your having to think about the specific function form. And the design with folds and recursions rather than loops also is all about increasing the chance to write in a style that the interaction combinator parallelism can actually be taken advantage of. I recommend at least trying to skim the mentioned paper. You don't have to understand every last bit of the theory in order to understand at least roughly how these interaction combinator graphs work. It's really clever stuff, and pretty long-known too. What's new here is this effort to make it run seamlessly on a GPU.
  • @willothy
    12:59 I usually use `.ok()` to ignore an error instead of assigning it to underscore. This will give you a warning if the type changes from Result to impl Future, etc.
  • Adult education in mathematics ... Fast Python ... Loops that don't suck ass ... Check Check Check. I am delighted, as I'm going to use for Weather and Climate analysis... Thank you for the video and your point of view as when I came across this language I thought it was to good to be true. Awesome.
  • @meandsee
    Literally in December “Advent of Code in bend”
  • @novantha1
    As someone who is the target audience of this language, that call out at the end felt super weird, lol
  • Perhaps the most impressive part about this all, and is something that's not mentioned in the video, is that the HVM compiler can in fact compile from other languages (given that touring computation based languages are equivalent to lambda computation ones, and lambda computation ones can be then converted to the interaction combinators) So you can like write javascript or python or whatnot c, and compile ir with the HVM and boom, you haven't changed a single line of code and your program runs on gazillion threads and fucking fast
  • @PeterFaria
    Coolest thing I’ve tried yet. Can’t wait to see where it goes
  • @oserodal2702
    Lowkey, Bend isn't even that guy's most impressive work (it's HVM).
  • @SimGunther
    Those interaction combinators look so cool and mind bending
  • @Jaood_xD
    "Mutalisks" sounds like a scary flying creature from star craft 😁
  • Don't call it "massively parallel" unless it is at least multi-node, and tens of thousands of cores (with the potential to go to millions). Like MPI, for example. This is just multi-threading.
  • The creator is a friend of mine, he is called Victor Taelin, he is from Brazil and he is a very skilled language creator, he made more than 5 programming languages already and he is a workaholic as sh*t