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

Moving to rust

media.piefed.zip

message-square
101
link
fedilink
1

Moving to rust

media.piefed.zip

Maven (famous)@piefed.zip to Programmer Humor@programming.devEnglish · 3 months ago
message-square
101
link
fedilink
alert-triangle
You must log in or # to comment.
  • Pungent Llama@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Rust should switch to ffmpeg!

  • Katherine 🪴@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Pfft; rewrite it in DHTML and ActiveX.

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

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

  • fxdave@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

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

  • Vegafjord oakframer@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    It’s about time!

  • UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

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

    • AudaciousArmadillo@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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
        0
        ·
        3 months ago

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

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          3 months 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.

        • UnfortunateShort@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months 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

        • three@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months 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
            0
            ·
            edit-2
            3 months 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.mldeleted by creator
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              3 months ago

              deleted by creator

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

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      The person behind their twitter account is a notorious shitter.

      • Owl@mander.xyz
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        Well

        That checks out for xitter

        • gandalf_der_12te@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

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

    • subignition@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

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

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Ah, just realized what day it is

      • Knock_Knock_Lemmy_In@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          3 months 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
            0
            ·
            3 months 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.

        • forestbeasts@pawb.social
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Timezones, probably!

          • kubica@fedia.io
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

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

      • SirEDCaLot@lemmy.today
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          The world doesnt only exist within the US timezone ;)

          • SirEDCaLot@lemmy.today
            link
            fedilink
            arrow-up
            0
            ·
            3 months 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
          0
          ·
          3 months ago

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

        • ripcord@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

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

  • osaerisxero@kbin.melroy.org
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Is green the high vis color in Europe?

    • addie@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      3 months 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
        0
        ·
        3 months 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

  • Takashi@indie-ver.se
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

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

  • grue@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    3 months ago

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

  • herseycokguzelolacak@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

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

  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 months 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!

    • InFerNo@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Only Claude’s frontend leaked, not the models

      • vga@sopuli.xyzBanned
        link
        fedilink
        arrow-up
        0
        ·
        3 months 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
          0
          ·
          3 months ago

          You had me for a second

          • MonkeMischief@lemmy.today
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

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

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          April 1?

          • vga@sopuli.xyzBanned
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

            Yeah! April number one!

        • Liketearsinrain@lemmy.mldeleted by creator
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          3 months ago

          deleted by creator

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

      That’s unironically what ladybird (browser engine) did

      • yessikg@fedia.io
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        Ew another reason to ignore it and wait for Servo instead

        • MrKoyun@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Why the ladybird hate?

          • yessikg@fedia.io
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

            Besides the fact that they are vibe coding?

  • MyTurtleSwimsUpsideDown@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    So begins the festival of fools.

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 months 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
      0
      ·
      3 months ago

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

      • gandalf_der_12te@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        3 months 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
        0
        ·
        3 months 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.

      • SlurpingPus@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months 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
    0
    ·
    3 months ago

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

    • MrKoyun@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Scratch should be the choice, obviously. It will be so much easier to maintain! Think of all of the new contributors!

    • tristan@tarte.nuage-libre.fr
      link
      fedilink
      Français
      arrow-up
      0
      ·
      3 months ago

      3 billion

      Devices Run Java

      • Elvith Ma'for@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • Simulation6@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          3 months ago

          At least one too many in my opinion.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

      • lauha@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

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

        • GreenCrunch@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          Proof of stability!

    • Archer@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      J2EE ffmpeg for flip phones

    • ryannathans@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Except next to pools, no one should run there

      • Klear@quokk.au
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        Unless you have scissors. That cancels it out.

    • Kairos@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Surely at least one other person knows about qemu-user

    • a_non_monotonic_function@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Python, for badassness.

      • ReluctantMuskrat@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        I think you meant perl.

        • a_non_monotonic_function@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          The entire system is going to be regex.

          • ReluctantMuskrat@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            3 months ago

            That’s the genius of it

    • SCmSTR@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

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

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        Not exactly the same thing, but…

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

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

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

  • underisk@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

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

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

      It’s so fucking dumb

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Aww. I just like funny stuff.

      • underisk@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

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

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Not sure I believe you, TBH.

  • bookmeat@fedinsfw.app
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Wasn’t that last year?

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.

  • 36 users / day
  • 164 users / week
  • 770 users / month
  • 2.78K users / 6 months
  • 0 local subscribers
  • 32.2K subscribers
  • 632 Posts
  • 8.13K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org