lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@piefed.zip to Programmer Humor@programming.devEnglish · 19 hours ago

Moving to rust

media.piefed.zip

message-square
83
fedilink
737

Moving to rust

media.piefed.zip

Maven (famous)@piefed.zip to Programmer Humor@programming.devEnglish · 19 hours ago
message-square
83
fedilink
alert-triangle
You must log in or register to comment.
  • fxdave@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    3 hours ago

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

  • WagnasT@piefed.world
    link
    fedilink
    English
    arrow-up
    46
    ·
    8 hours ago

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

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      13
      ·
      3 hours ago

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

      • mbp@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 hours ago

        The readme is far too serious for such a silly name

      • ResistingArrest@lemmy.zip
        link
        fedilink
        arrow-up
        6
        ·
        3 hours ago

        This made my fucking day… ffmpreg…

  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    184
    arrow-down
    1
    ·
    15 hours 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
      5
      ·
      3 hours ago

      That’s unironically what ladybird (browser engine) did

    • InFerNo@lemmy.ml
      link
      fedilink
      arrow-up
      34
      arrow-down
      1
      ·
      14 hours ago

      Only Claude’s frontend leaked, not the models

      • vga@sopuli.xyz
        link
        fedilink
        arrow-up
        29
        ·
        edit-2
        14 hours ago

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

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          23
          ·
          13 hours ago

          April 1?

          • vga@sopuli.xyz
            link
            fedilink
            arrow-up
            11
            ·
            8 hours ago

            Yeah! April number one!

        • Liketearsinrain@lemmy.ml
          link
          fedilink
          arrow-up
          14
          ·
          12 hours ago

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

  • Pungent Llama@lemmy.world
    link
    fedilink
    arrow-up
    57
    arrow-down
    2
    ·
    13 hours ago

    Rust should switch to ffmpeg!

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    50
    ·
    14 hours 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
      13
      ·
      11 hours ago

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

      • gandalf_der_12te@discuss.tchncs.de
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        9 hours 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
        16
        ·
        11 hours 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.

      • pet the cat, walk the dog@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        10 hours 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.

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    269
    ·
    edit-2
    18 hours ago

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

    • SCmSTR@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      20
      ·
      13 hours ago

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

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        12
        ·
        13 hours ago

        Not exactly the same thing, but…

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

    • ryannathans@aussie.zone
      link
      fedilink
      arrow-up
      42
      ·
      15 hours ago

      Except next to pools, no one should run there

      • Klear@quokk.au
        link
        fedilink
        English
        arrow-up
        12
        ·
        12 hours ago

        Unless you have scissors. That cancels it out.

    • tristan@tarte.nuage-libre.fr
      link
      fedilink
      Français
      arrow-up
      86
      ·
      edit-2
      17 hours ago

      3 billion

      Devices Run Java

      • lauha@lemmy.world
        link
        fedilink
        arrow-up
        31
        ·
        14 hours ago

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

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          ·
          1 hour ago

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

        • GreenCrunch@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          17
          ·
          9 hours ago

          Proof of stability!

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

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

        • Simulation6@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          11 hours ago

          At least one to many in my opinion.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        14 hours ago

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

    • Archer@lemmy.world
      link
      fedilink
      arrow-up
      30
      ·
      18 hours ago

      J2EE ffmpeg for flip phones

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

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

    • Kairos@lemmy.today
      link
      fedilink
      arrow-up
      3
      ·
      15 hours ago

      Surely at least one other person knows about qemu-user

    • a_non_monotonic_function@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      16 hours ago

      Python, for badassness.

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

        I think you meant perl.

        • a_non_monotonic_function@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          31 minutes ago

          The entire system is going to be regex.

  • underisk@lemmy.ml
    link
    fedilink
    arrow-up
    57
    arrow-down
    8
    ·
    15 hours ago

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

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      2 hours ago

      Aww. I just like funny stuff.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      It’s so fucking dumb

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    131
    arrow-down
    1
    ·
    18 hours ago

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

    • AudaciousArmadillo@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      61
      ·
      13 hours 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
        6
        arrow-down
        1
        ·
        4 hours ago

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

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 hour 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
          4
          arrow-down
          4
          ·
          edit-2
          3 hours ago

          Bro, just use Rust, bro.

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

          • communism@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            2 hours 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.

          • da_cow (she/her)@feddit.org
            link
            fedilink
            arrow-up
            5
            ·
            edit-2
            2 hours 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.

            • ZILtoid1991@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              2 hours 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.

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      103
      ·
      16 hours ago

      Ah, just realized what day it is

      • SirEDCaLot@lemmy.today
        link
        fedilink
        arrow-up
        14
        ·
        16 hours ago

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

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          7 hours ago

          The world doesnt only exist within the US timezone ;)

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

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

        • ripcord@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 hours 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
        2
        ·
        12 hours ago

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

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          10 hours 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
            ·
            9 hours 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
          0
          ·
          edit-2
          5 hours ago

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

        • forestbeasts@pawb.social
          link
          fedilink
          arrow-up
          8
          ·
          12 hours ago

          Timezones, probably!

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

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

    • rtxn@lemmy.world
      link
      fedilink
      arrow-up
      43
      arrow-down
      1
      ·
      18 hours ago

      The person behind their twitter account is a notorious shitter.

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        11
        ·
        14 hours ago

        Well

        That checks out for xitter

        • gandalf_der_12te@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          9 hours ago

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

    • subignition@fedia.io
      link
      fedilink
      arrow-up
      5
      ·
      17 hours ago

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

  • Quetzalcutlass@lemmy.world
    link
    fedilink
    English
    arrow-up
    105
    arrow-down
    1
    ·
    edit-2
    18 hours ago

    460 replies

    That's Hell you're walking into.

    • hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 hours ago

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

    • resipsaloquitur@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      18 hours ago

      Are rustaceans cantankerous?

      • volore@scribe.disroot.org
        link
        fedilink
        arrow-up
        12
        ·
        16 hours ago

        Does the Pope shit in the woods?

        • SwingingTheLamp@piefed.zip
          link
          fedilink
          English
          arrow-up
          8
          ·
          13 hours ago

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

          • volore@scribe.disroot.org
            link
            fedilink
            arrow-up
            5
            ·
            13 hours 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
        ·
        12 hours 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
      ·
      17 hours ago

      img

  • grue@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    edit-2
    17 hours ago

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

  • Vegafjord eo@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    It’s about time!

  • MyTurtleSwimsUpsideDown@fedia.io
    link
    fedilink
    arrow-up
    17
    ·
    18 hours ago

    So begins the festival of fools.

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

    Everyone knows that Swift is the language of the future!

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

      I don’t know what swift is

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        9 hours ago

        Mediocre pop star.

        • homes@piefed.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          6 hours ago

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

  • Katherine 🪴@piefed.social
    link
    fedilink
    English
    arrow-up
    11
    ·
    18 hours ago

    Pfft; rewrite it in DHTML and ActiveX.

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 hours ago

      Visual Basic isn’t dead … it’s just resting!

  • osaerisxero@kbin.melroy.org
    link
    fedilink
    arrow-up
    9
    ·
    17 hours ago

    Is green the high vis color in Europe?

    • addie@feddit.uk
      link
      fedilink
      arrow-up
      3
      ·
      12 hours ago

      The fluorescent green hi-vis is usually reserved for first-aiders, but there are exceptions. I was working on a site in the middle of some rapeseed fields once, and we all got issued green - anyone wearing yellow or orange was swarmed with insects in moments.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        7 hours ago

        The neon green in Germany is usually anything.
        We have those as high vis vests for car issues.
        But we also have yellow and orange

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: [email protected]

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.71K users / day
  • 4.08K users / week
  • 9.79K users / month
  • 18K users / 6 months
  • 1 local subscriber
  • 30.7K subscribers
  • 2.23K Posts
  • 87.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org