LemmyChan
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@piefed.zip to Programmer Humor@programming.devEnglish · 2 days ago

Moving to rust

media.piefed.zip

message-square
100
link
fedilink
879

Moving to rust

media.piefed.zip

Maven (famous)@piefed.zip to Programmer Humor@programming.devEnglish · 2 days ago
message-square
100
link
fedilink
alert-triangle
You must log in or # to comment.
  • herseycokguzelolacak@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    13 hours ago

    Took me like 5 second after reading this to understand that it’s April 1st.

  • WagnasT@piefed.world
    link
    fedilink
    English
    arrow-up
    82
    arrow-down
    1
    ·
    1 day ago

    Just make a rust fork of ffmpeg, it can be ffmpreg.

    • OldQWERTYbastard@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      FFmpregante!

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      28
      ·
      1 day ago

      that’s a thing https://github.com/yazaldefilimone/ffmpreg

      • mbp@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        18
        ·
        1 day ago

        The readme is far too serious for such a silly name

        • mang0@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          22 hours ago

          While you’re right, this holds true for e.g. ‘gimp’ and ‘git’ too.

      • ResistingArrest@lemmy.zip
        link
        fedilink
        arrow-up
        11
        ·
        1 day ago

        This made my fucking day… ffmpreg…

    • Ginny [they/she]@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      8
      ·
      24 hours ago

      Yes officer, this one right here.

  • fxdave@lemmy.ml
    link
    fedilink
    arrow-up
    17
    ·
    1 day ago

    The reason I don’t use C, because I don’t hate my life.

  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    213
    arrow-down
    1
    ·
    2 days ago

    I hope they’re doing it with AI for faster development. Now that Claude is open source, there’s no excuse to refuse progress anymore!

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      That’s unironically what ladybird (browser engine) did

      • yessikg@fedia.io
        link
        fedilink
        arrow-up
        6
        ·
        19 hours ago

        Ew another reason to ignore it and wait for Servo instead

    • InFerNo@lemmy.ml
      link
      fedilink
      arrow-up
      44
      arrow-down
      1
      ·
      2 days ago

      Only Claude’s frontend leaked, not the models

      • vga@sopuli.xyz
        link
        fedilink
        arrow-up
        40
        ·
        2 days ago

        To which Anthropic answered by open sourcing the whole thing under AGPL. Didn’t you see the news?

        • NocturnalMorning@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 day ago

          You had me for a second

          • MonkeMischief@lemmy.today
            link
            fedilink
            arrow-up
            5
            ·
            22 hours ago

            Can’t believe people don’t link sources anymore. Anyway yeah it just happened today.

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          32
          ·
          2 days ago

          April 1?

          • vga@sopuli.xyz
            link
            fedilink
            arrow-up
            19
            ·
            1 day ago

            Yeah! April number one!

        • Liketearsinrain@lemmy.ml
          link
          fedilink
          arrow-up
          22
          ·
          2 days ago

          I don’t want AGPL. I will use claude to rewrite it and license it MIT since that’s peachy and legal now.

  • Takashi@indie-ver.se
    link
    fedilink
    English
    arrow-up
    7
    ·
    24 hours ago

    Why is this how I learned that FFmpeg has a pretty great Twitter account?

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    300
    ·
    2 days ago

    This is absolutely ridiculous. It should be migrated to Java, so it can run everywhere.

    • tristan@tarte.nuage-libre.fr
      link
      fedilink
      Français
      arrow-up
      98
      ·
      2 days ago

      3 billion

      Devices Run Java

      • lauha@lemmy.world
        link
        fedilink
        arrow-up
        38
        ·
        2 days ago

        3 billion devices have been running java for past 20 years.

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          6
          ·
          1 day ago

          Most of them have not loaded the kvm just yet, any minute now …

        • GreenCrunch@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          22
          ·
          1 day ago

          Proof of stability!

      • Elvith Ma'for@feddit.org
        link
        fedilink
        arrow-up
        13
        ·
        2 days ago

        Don’t you think, that’s enough already?

        • Simulation6@sopuli.xyz
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          At least one to many in my opinion.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        And no more than that. There’s a queue now…

    • ryannathans@aussie.zone
      link
      fedilink
      arrow-up
      47
      ·
      2 days ago

      Except next to pools, no one should run there

      • Klear@quokk.au
        link
        fedilink
        English
        arrow-up
        15
        ·
        2 days ago

        Unless you have scissors. That cancels it out.

    • SCmSTR@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      24
      ·
      2 days ago

      You mean JavaScript so that it does the same thing each time

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        16
        ·
        2 days ago

        Not exactly the same thing, but…

        https://github.com/ffmpegwasm/ffmpeg.wasm

    • Archer@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      2 days ago

      J2EE ffmpeg for flip phones

    • a_non_monotonic_function@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      Python, for badassness.

      • ReluctantMuskrat@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        I think you meant perl.

        • a_non_monotonic_function@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          The entire system is going to be regex.

          • ReluctantMuskrat@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 day ago

            That’s the genius of it

    • Kairos@lemmy.today
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Surely at least one other person knows about qemu-user

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Lies, damn lies, and write once run anywhere™️.

  • Pungent Llama@lemmy.world
    link
    fedilink
    arrow-up
    65
    arrow-down
    2
    ·
    2 days ago

    Rust should switch to ffmpeg!

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    145
    arrow-down
    1
    ·
    2 days ago

    What did Rust do to FFmpeg to make them so mad lol

    • AudaciousArmadillo@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      69
      ·
      2 days ago

      I guess not rust itself, but people telling them to switch to rust over and over again. They use a lot of assembly magic to get good performance, they aren’t in C land.

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        1 day ago

        You can embed Assembly in Rust. A lot of low-level Rust projects embed Assembly.

        • UnfortunateShort@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          24 hours ago

          Totally, though I wouldn’t bother switching if your project is half assembly anyway. Unsafe Rust definitely has some beauty to it, but only if there is some safe Rust to embedd it into

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 day ago

          Although if you’re doing it a lot, you’ve basically removed the main advantage of using Rust.

          By the way, how is compilation to things other than LLVM going? I haven’t checked in a while.

        • three@piefed.social
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          6
          ·
          1 day ago

          Bro, just use Rust, bro.

          We get it, Rust can suck your dick… and more!

          • da_cow (she/her)@feddit.org
            link
            fedilink
            arrow-up
            9
            arrow-down
            1
            ·
            edit-2
            1 day ago

            You can Programm microcontrollers with rust, so while rust may not be able to suck your dick directly, you can build a fully automated memory safe dick-sucking-machine with rust.

            • Liketearsinrain@lemmy.ml
              link
              fedilink
              arrow-up
              4
              ·
              23 hours ago

              Isn’t buttplug.io written in rust? You can literally have it suck your dick

            • ZILtoid1991@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              1 day ago

              I often joked, that if South Park made an episode about Rust, the compiler would work with a USB connected dildo, that you must suck every time you want to declare a variable instead of a constant, or go unsafe, also would feature a Cult of Java developers, that argue Java isn’t OOP, because you can just suck off the dick of the compiler in the same way, and use static functions and not have a complicated class hierarchy.

          • communism@lemmy.ml
            link
            fedilink
            arrow-up
            3
            ·
            1 day ago

            I don’t see where I said any of the words you just quoted. Impressive if Rust can suck a dick I don’t have though, I’ll give them that.

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      107
      ·
      2 days ago

      Ah, just realized what day it is

      • SirEDCaLot@lemmy.today
        link
        fedilink
        arrow-up
        16
        ·
        2 days ago

        East Coast here, it’s not even midnight for another 4 minutes!

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          10
          ·
          1 day ago

          The world doesnt only exist within the US timezone ;)

          • SirEDCaLot@lemmy.today
            link
            fedilink
            arrow-up
            2
            ·
            24 hours ago

            I don’t understand. I learned in school that America is the only important country in the world.

        • eatham 🇦🇺@aussie.zone
          link
          fedilink
          arrow-up
          4
          ·
          1 day ago

          In the real east coast April 1St ended over an hour ago

        • ripcord@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          I am on the east coast and it had been April 1 for 14 hours when you posted this

      • Knock_Knock_Lemmy_In@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        But the message says it was sent on March 31st.

        • forestbeasts@pawb.social
          link
          fedilink
          arrow-up
          9
          ·
          2 days ago

          Timezones, probably!

          • kubica@fedia.io
            link
            fedilink
            arrow-up
            2
            ·
            2 days ago

            They just were so fucking fast they posted to the past.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          6
          ·
          1 day ago

          A lot of April 1st posts seem to get made on March 31st and that includes from people in fairly western timezones, so I think they just get their post done the previous night, go to sleep, and let the chaos unravel.

          • absGeekNZ@lemmy.nz
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            I guess next year I’ll have to post a joke just after midnight. I’ll wake to find confusion and chaos.

            Often we are not even included on maps.

        • cartoon meme dog@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          the timestamp is generally local for the reader, not the poster.

    • rtxn@lemmy.world
      link
      fedilink
      arrow-up
      44
      arrow-down
      1
      ·
      2 days ago

      The person behind their twitter account is a notorious shitter.

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        14
        ·
        2 days ago

        Well

        That checks out for xitter

        • gandalf_der_12te@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          did you know, in spain (or some regions thereof) the “x” is pronounced as sh

    • chunes@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      24 hours ago

      deleted by creator

    • subignition@fedia.io
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      https://en.wikipedia.org/wiki/April_Fools'_Day

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    57
    ·
    2 days ago

    Was jokingly going to suggest a WASM version. But then: https://github.com/ffmpegwasm/ffmpeg.wasm

    • kopasz7@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 day ago

      I’m only asking this half jokingly, what the fuck?

      • gandalf_der_12te@discuss.tchncs.de
        link
        fedilink
        arrow-up
        19
        arrow-down
        3
        ·
        1 day ago

        WASM is great :) unironically

        everything should switch to wasm. i’m not saying this because of arbitrarily. it’s just very well thought-through. wasm automatically provides portability, sandboxing, and integration with other languages.

        like, one of the things i still don’t understand is why we don’t have automatic sandboxing for every application. like, when i download and run a new game from steam, why isn’t it automatically put in a sandbox? Why does it have full read/write access to my entire disk? i don’t like that at all…

        Converting everything to wasm would solve that automatically, and very easily on top of that.

      • The_Decryptor@aussie.zone
        link
        fedilink
        English
        arrow-up
        18
        ·
        1 day ago

        Makes it portable across architectures while also providing sandboxing.

        The fedi software I use (GoToSocial) runs both ffmpeg (Sorry, ffmpreg) and sqlite through WASM, also makes it easier to integrate it with Go code apparently.

      • [object Object]@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        Reminder that Fabrice Bellard, who originally wrote FFMpeg (and QEMU), also made JSLinux, currently based on his other PC emulator TinyEMU and using WASM.

  • underisk@lemmy.ml
    link
    fedilink
    arrow-up
    62
    arrow-down
    8
    ·
    2 days ago

    Further proof that this is the shittiest holiday only celebrated by the most insufferable.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Aww. I just like funny stuff.

      • underisk@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        24 hours ago

        Me too, which is why I hate this fucking holiday.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      It’s so fucking dumb

  • Quetzalcutlass@lemmy.world
    link
    fedilink
    English
    arrow-up
    109
    arrow-down
    1
    ·
    edit-2
    2 days ago

    460 replies

    That's Hell you're walking into.

    • hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      1 day ago

      It’s over 1.1k comments already, all the rusties fuming 🤣

    • resipsaloquitur@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      2 days ago

      Are rustaceans cantankerous?

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        16 hours ago

        My instance went down, so I’m way too late to make this joke, but anyways:

        We’re not cantankerous, just a little …crabby. 🙃

      • volore@scribe.disroot.org
        link
        fedilink
        arrow-up
        12
        ·
        2 days ago

        Does the Pope shit in the woods?

        • SwingingTheLamp@piefed.zip
          link
          fedilink
          English
          arrow-up
          9
          ·
          2 days ago

          (Yeah, AI slop from the early days when I was checking it out.)

          • volore@scribe.disroot.org
            link
            fedilink
            arrow-up
            5
            ·
            2 days ago

            I’ll be damned.

            Now we just need to find out if the bear’s Catholic, and we’ll be set.

      • Saapas@piefed.zip
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 days ago

        It has rabid fans and rabid haters, much of it is some identity politics shit too. It’s a whole mess

    • OpenStars@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 days ago

      img

  • grue@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    2 days ago

    Huh, I guess the person who runs FFmpeg’s Xitter account must live in western Europe (UTC+1:00).

  • MyTurtleSwimsUpsideDown@fedia.io
    link
    fedilink
    arrow-up
    17
    ·
    2 days ago

    So begins the festival of fools.

  • MinnesotaGoddam@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Chomp

  • homes@piefed.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    2 days ago

    Everyone knows that Swift is the language of the future!

    • robocall@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I don’t know what swift is

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        16 hours ago

        It’s Apple’s programming language, kind of intended as a successor to Objective-C.

        From what I hear, it’s actually decently designed and has quite a few similarities to Rust. Still not sure, how great it is outside of the Apple ecosystem…

        • robocall@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          13 hours ago

          interesting. thanks for explaining. I am not an apple person in any capacity.

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 day ago

        Mediocre pop star.

        • homes@piefed.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Hey hey hey! She married that sports guy with the big dick and wrote a song about it!

Programmer Humor@programming.dev

programmer_humor@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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.75K users / day
  • 4.26K users / week
  • 9.93K users / month
  • 12.2K users / 6 months
  • 10 local subscribers
  • 30.7K subscribers
  • 554 Posts
  • 9.39K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org