Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Nemeski ( nemeski@piefed.social )  to Technology@lemmy.zipEnglish · 13 hours ago

Discord is killing its Electron app that can eat 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MB

www.windowslatest.com

external-link
message-square
35
link
fedilink
171
external-link

Discord is killing its Electron app that can eat 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MB

www.windowslatest.com

Nemeski ( nemeski@piefed.social )  to Technology@lemmy.zipEnglish · 13 hours ago
message-square
35
link
fedilink
Discord is finally getting rid of Electron! Co-founder and CTO Stanislav Vishnevskiy has confirmed that Discord is rebuilding its client in Rust, and it’ll be using GPUI to handle the desktop interface. Discord also shared an early Windows 11 screenshot of the new app written in Rust, listed as “Discord Phoenix,” and it’s using just […]
alert-triangle
You must log in or register to comment.
  • gera ( gera@feddit.nu ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    With screensharing on wayland? With screensharing on wayland, right?

  • CompactFlax ( CompactFlax@discuss.tchncs.de ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    7 hours ago

    Good to see. Electron is trash for a few reasons.

  • sage ( sage@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    12
    ·
    9 hours ago

    Why are people on Lemmy using discord?

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 hours ago

      Because thats what people use

      • flameleaf ( flameleaf@lemmy.zip ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        50 minutes ago

        That’s the only reason I use it

    • Axolotl.cpp ( Axolotl_cpp@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 hours ago

      To manage my community more easly and interact with many others aswell plus every friend of my uses it.

      There is no alternative currently that offers a granular permission system like discord’s, voice chat and streaming that doesn’t also suck in other aspects

    • LaserTurboShark69 ( LaserTurboShark69@sh.itjust.works ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      6 hours ago

      To easily chat and stream with friends

    • guy ( guy@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      25
      ·
      8 hours ago

      People probably voice chat with their friends, I don’t think Lemmy has that feature?

    • BurgerBaron ( BurgerBaron@quokk.au ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      6 hours ago

      Things I want are held hostage on Discord. If I want to play Motorstorm online, I look at the fan server channel and it has real time lobby stats and chat rooms to get some games going. Just an example. My friends usually use Steam for voice chat.

    • Allero ( Allero@lemmy.today ) 
      link
      fedilink
      English
      arrow-up
      10
      ·
      8 hours ago

      It’s a mainstream platform, so many non-Lemmy people are still there.

      Besides, it’s always worth the praise when someone makes good technical decisions that benefit users.

    • derfaucet ( derfaucet@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      Someone at work with much more political power, and much less knowledge of how dangerous surveillance capitalism is, insists on using it 'cause they use it all the time and it’s functional.

      :(

    • 0xDREADBEEF ( dreadbeef@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Desire?

  • AgentSeven ( AgentSeven@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    33
    ·
    11 hours ago

    Discord is as much spyware as anything else. Its efficiency in using my computer’s resouces in order to log everything about me, build a dossier on me and sell me out at every opportunity is not a consideration, as I view it as something to be avoided like Meta, et al.

    That said, Electron does suck.

    • derfaucet ( derfaucet@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      Anything else? Nah bro. It’s as much spyware as Google chat or Whatsapp… But Matrix, XMPP, mumble, etc are not spyware (sure, if your host is the CIA maybe, but with these software you can be your own host if you want. No spying guaranteed.)

  • Onno (VK6FLAB) ( vk6flab@lemmy.radio ) 
    link
    fedilink
    English
    arrow-up
    102
    ·
    13 hours ago

    I think that the headline says more about Electron than it does about Rust.

    • Scrollone ( Scrollone@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      40
      ·
      12 hours ago

      Yeah exactly. “Just” 240 MB, it’s still a lot for a glorified chat app

      • Lojcs ( Lojcs@piefed.social ) 
        link
        fedilink
        English
        arrow-up
        9
        ·
        7 hours ago

        240 is quite little considering how much media there’s in it

      • AllNewTypeFace ( AllNewTypeFace@leminal.space ) 
        link
        fedilink
        English
        arrow-up
        13
        ·
        11 hours ago

        Perhaps it’s vibecoded slop?

        • 0xDREADBEEF ( dreadbeef@lemmy.dbzer0.com ) 
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 hours ago

          Anything new coming from any non-bootstrapped company is likely slop, and even the bootstrapped deserve a second look

        • ryannathans ( ryannathans@aussie.zone ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          11 hours ago

          Rust apps seem to always be on the heavy side, maybe depends how much debug info they leave in

          • threeonefour ( threeonefour@piefed.ca ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 hours ago

            I once played around with reverse engineering a Rust program. I compiled the optimized version of the standard “hello world” program which somehow turned into 50,000 lines of assembly.

            It looked like it copied over dozens of functions from libc and the data section was filled with every single possible error string “file not found”, “connection timed out”, etc. as if there was a possibility of hello world generating an access denied error.

  • Ricky Rigatoni ( RickyRigatoni@piefed.zip ) 
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 hours ago

    How will this affect the vesktop users

    • Axolotl.cpp ( Axolotl_cpp@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      TL;DR: vesktop will probably no longer work (unless they wanna mantain the client themselves…) and vencord will likely only work as a userscript in your browser.

    • subignition ( subignition@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      It probably won’t, but honestly there aren’t that many features the desktop client has that you can’t just get by using the browser webapp (Keyboard shortcuts, and the “now playing” feature that is a privacy mess, are the two biggest ones that come to mind right now)

  • Pika ( Pika@sh.itjust.works ) 
    link
    fedilink
    English
    arrow-up
    24
    ·
    13 hours ago

    man I love that they are ditching electron but, they “just” fixed the discord linux client to properly update and now they are rehauling it? can’t wait to get this update 3 years from now.

  • Chiahna ( Chiahna@piefed.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    19
    ·
    13 hours ago

    It’s great, but I wonder what happens with the linux client? There is no mention of it in the article.
    Do we get optimized native client or is that too much work if they don’t have universal framework anymore?

    • xistera ( xistera@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      15
      ·
      11 hours ago

      Marketing director of Discord on Reddit says linux will have a native client.

    • sorter_plainview ( sorter_plainview@lemmy.today ) 
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      12 hours ago

      They are using GPUI. Rust native UI framework from the Zed IDE team. I think the creator of Zed is the one who created Electron in the first place, then left. I’m not sure though.

      So it should be cross platform

      • RustySharp ( RustySharp@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        8
        ·
        9 hours ago

        It’s a bold strategy. “Electron sucks! Let’s see what else these people made”.

        But seriously, why do I need GPU acceleration for my chat UI?

        • Possibly linux ( possiblylinux127@lemmy.zip ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          Because without it UI changes create CPU spikes

        • The_Decryptor ( The_Decryptor@aussie.zone ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          6 hours ago

          But seriously, why do I need GPU acceleration for my chat UI?

          Because rendering things is quite literally the reason GPUs exist, it takes load off the CPU and is more efficient at it to boot.

        • egregiousRac ( phailhaus@piefed.social ) 
          link
          fedilink
          English
          arrow-up
          17
          ·
          8 hours ago

          It’s a video player. You want GPU acceleration.

          • Venia Silente ( veniasilente@lemmy.dbzer0.com ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 hours ago

            What video? 99.99479% of my Discord experience is text.

            • UnpledgedCatnapTipper ( UnpledgedCatnapTipper@piefed.blahaj.zone ) 
              link
              fedilink
              English
              arrow-up
              6
              ·
              5 hours ago

              A lot of people talk and stream to their friends. If I only needed a text app, I would not use discord at all.

        • Orygin ( Orygin@sh.itjust.works ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 hours ago

          Do you like having battery?

Technology@lemmy.zip

technology@lemmy.zip

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: !technology@lemmy.zip

News community around technology, social media platforms, information technology and governmental policy surrounding it.

What doesn’t fit here?

The core of the story has to be technology focused.

  • If article mentions “AI” in a sentence and then talks about business economics that doesn’t make it tech news.
  • Gaming is too many layers removed from technology. There are many dedicated communities that are a better fit for it.
  • Transporation is too many layers removed from technology. EVs while use many cool technologies have many dedicated communities that are a better fit for it.
  • Entertainment is too many layers removed from technology. While sometimes it can fit here, business or cultural aspects of it are a better fit for dedicated communities.
  • Cybersecurity. While it heavily focuses on technology, most of the time it’s too technical for most people who are not already invested in it. Should be posted in a dedicated communities unless it has broader connection to other tech areas.

Post guidelines

Title format

Post title should mirror the news source title. If you don’t like the title of article, look for an alternative source instead of editorializing it.

URL format

Post URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.

[Opinion] prefix

Opinion (op-ed) articles must use [Opinion] prefix before the title. Opinion articles refer to articles that their publisher doesn’t explictly endorse.

Country prefix

Country prefix can be added to the title with a separator (|, :, etc.) if the news is from a local publisher who doesn’t clearly mention the country.


Rules

1. English only

Title and associated content has to be in English.

2. Use original link

Post URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.

3. Respectful communication

All communication has to be respectful of differing opinions, viewpoints, and experiences.

4. Inclusivity

Everyone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

5. Ad hominem attacks

Any kind of personal attacks are expressly forbidden. If you can’t argue your position without attacking a person’s character, you already lost the argument.

6. Off-topic tangents

Stay on topic. Keep it relevant.

7. Instance rules may apply

If something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution


If someone is interested in moderating this community, message @brikox@lemmy.zip.

Visibility: Public
globe

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

  • 323 users / day
  • 540 users / week
  • 1.28K users / month
  • 4.15K users / 6 months
  • 48 local subscribers
  • 7.5K subscribers
  • 6.42K Posts
  • 14.8K Comments
  • Modlog
  • mods:
  • BrikoX ( BrikoX@lemmy.zip ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code