• hedge_lord@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      My gripe with Kate is that whenever I open a file and get an LSP error it displays a pulsing warning notification in the lower left of the window. This might be okay except that I cannot read things if something is moving in my peripheral vision and there is also apparently no way to suppress this pulsing warning notification other than to disable the LSP features entirely. I want to use kwrite because at that point I might as well, but there is a long-standing bug in plasma that causes Kate to be defaulted to over kwrite for some file types despite my preferences!

      I still prefer this to vscode, but I just need to vent a bit

    • MeThisGuy@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      4 hours ago

      i doo doo love it too.
      does it have syntax support for Gcode yet? I do CnC (not the kinky kind) and I love to see shit in color. there’s only a few specialized editors that I have come across that do this reasonably well…

      • Buddahriffic@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Iirc you can create custom syntax highlighting formats for notepad++. So if it’s not there by default, someone else might have made a file for it, or you can start making one yourself, as the format was easy to understand. It’s been like a decade since I’ve used it, but it should be somewhere in the menus.

  • Samskara@sh.itjust.works
    link
    fedilink
    arrow-up
    66
    ·
    8 hours ago

    Spotify using several processes and GB of memory just play some music and browse a library is an abomination. WinAMP did most of that 20 years ago while using a fraction of the resources.

    Discord similarly is an affront.

      • dejected_warp_core@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        Same here. At first, I thought I was going to get a better Discord experience with the dedicated ‘app’. Nope. Another web app crammed into Electron, multiplying the overall browser footprint on my system. It now happily lives on in a normal browser tab where my ad blockers and user-scripts claw back local control of things.

    • Ace@feddit.uk
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 hours ago

      I use discord.com/app for exactly this reason. Its footprint is lower and the experience is almost exactly the same. And I can block things I don’t like using ublock/other extensions, like animated reactions and those crazy new premium video profiles with explosions and confetti etc

    • ExLisperA
      link
      fedilink
      arrow-up
      4
      ·
      7 hours ago

      Really? I have it running right now with 0% CPU usage and around 100MB of memory. Something’s wrong with your setup.

  • BigDanishGuy@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    4 hours ago

    And here I was thinking this was about emacs and lisp. Yougster complaining about not knowing how to quit Vi smh they have never experienced the horrors of emacs

  • FishFace@piefed.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    7 hours ago

    It’s kind of an abomination when VsCode, supposed to be a lighter IDE, runs like dogshit compared to JetBrains, a fuckin’ Java based IDE. Since when was Java light on RAM?

    (Caveat: I haven’t directly compared their memory usage, my experience is in very difference codebases for each)

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      15
      ·
      5 hours ago

      Lmao this is quite frankly, horseshit, upvoted by people who have never used an IDE.

      VScode is lightweight, snappy, and fast to open. VSCodium gives you all of that without any of the Microsoft. And even runs in a web browser.

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        5 hours ago

        It’s not “horseshit” - I gave you a caveat precisely so that you can understand the limitations of my comparison, and so that you don’t need to be so antagonistic.

        lightweight

        I launched VSCode fresh this morning. Just now, 4 hours later, I closed it and watched my system memory usage: 1.3GB. I am doing remote development, so there’s a whole server process as well which is chomping a few GB. My old laptop repeatedly ground to a halt until the OOM killer woke up/I rebooted as its measly 32GB of RAM couldn’t cope with two VSCode sessions (plus other normal apps) after a while.

        • masterspace@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 hours ago

          Drawing strong conclusions like ‘VSCode is an abomination that runs like dogshit and is worse than an Oracle product’, from an admittedly flawed comparison that does not demonstrate that, is inviting some antagonism.

          • FishFace@piefed.social
            link
            fedilink
            English
            arrow-up
            8
            ·
            5 hours ago

            Electron is the abomination, not VSCode, and JetBrains IDEs are developed by… JetBrains, not Oracle.

      • brucethemoose@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 hours ago

        +1

        For stuff like editing massive files or huge folders, the least stuttery, fastest IDE for me is… VScode. Jetbrains (last I tried it) is awful.

        Code may not use 1MB of RAM or idle dead asleep, but it utilizes the CPU/GPU efficiently.

        Now, extensions are the caveat, like any app that supports extensions. Those can bog it down real quick.

      • dogs0n@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        5 hours ago

        It’s not really an IDE and it’s not lightweight either.

        It’s not snappy. Sometimes just moving up a couple lines fast causes my caret to lag, which is not pleasant.

        That might have more to do with when you have lots of plugins for LSPs, etc, but who uses vscode without any plugins?

        • masterspace@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          5 hours ago

          Claiming that VSCode is not an IDE is just pedantic.

          It is literally just a modular IDE that lets you pick and choose which piece you want rather then being like Visual Studio or XCode that is tailored for a single language / development flow.

          Hell you still have to download core parts of XCode / VS after you download and install them like the development frameworks for your targets, does that mean that they’re not actually IDEs?

          • dogs0n@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            4 hours ago

            I will concede on the “not really an IDE” part. You’re right you can set it up to be like one.

            I say it’s not mostly because it isn’t marketed as one. It’s marketed as just a source code (text) editor.

  • Ex Nummis@lemmy.world
    link
    fedilink
    arrow-up
    80
    ·
    9 hours ago

    If there’s any upside to the entire situation, it’s that perhaps, maybe, developers will again start paying more attention to optimization instead of just throwing more powerful hardware at it.

    Some of the greatest games ever developed for consoles were great because the developers had to get extremely creative with the limited resources at their disposal. This led to some incredibly optimized games that could do a whole lot with those very limited resources.

    • BootLoop@sh.itjust.works
      link
      fedilink
      arrow-up
      16
      ·
      6 hours ago

      You don’t even need to go that far back. It blows my mind that the 360 and PS3 have 512mb of RAM. Halo 4, GTA 5, and The Last of Us did some impressive graphics work with 512mb.

      • dogs0n@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        5 hours ago

        Oh wow my mind is blown. Even more so that it’s 256mb of DRAM and 256mb of VRAM separately.

        We have really gone down hill and fast ;(

        In my brain memory I find it hard to believe all the textures loaded at one time could ever be so small. Im amazed.

    • Jesus_666@lemmy.world
      link
      fedilink
      arrow-up
      45
      ·
      9 hours ago

      Best I can do is mandatory Lumen and Nanite. You can get almost-stable 60 fps on a 5090 with DLSS Performance and 3x frame gen, which should be optimized enough for anyone.

      My game will sell for 80 bucks, 150 if you want the edition with all the preorder-exclusive content.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      5 hours ago

      The upside to the situation is that electron has been a more successful cross platform development framework then literally anything that came before it, from Xamarin to Java. And it’s entirely based on open source software, and open web standards.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      16
      ·
      9 hours ago

      I always care about how much memory I end up using.
      Problem is, most places won’t pay for caring about that. Those that would, are doing so because they are using the product on their own systems instead of some customer’s systems.

      • ZILtoid1991@lemmy.worldOP
        link
        fedilink
        arrow-up
        3
        ·
        9 hours ago

        I think we will first see a batch of alternative apps, which either will get shut down by manufacturers etc., or get tolerated as an alternative.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          ·
          9 hours ago

          I’m not sure I know many Electron apps that are worth running.
          There is WhatsApp, but I just run the browser version. For Matrix, there’s NeoChat, which uses QML and is definitely better than Electron.

    • bluGill@fedia.io
      link
      fedilink
      arrow-up
      27
      ·
      8 hours ago

      until curl rewrites in electon and you don’t have enough ram to run it anymore

    • alk@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      10
      ·
      7 hours ago

      back in the day people would download more ram and put it on giant tape-based backup systems. Big companies started downloading massive amounts of high quality ram this way. This created a ram shortage, and companies like corsair are now using their massive reserves of downloaded ram and filling empty ram sticks with them and making lots of money. That’s why ram is so expensive today. Any ram you can download today is low quality ram, and the only high quality ram can be had on physical sticks, which were filled by the companies with ram reserves. 1969 was the peak of the ram harvesting, so you’ll probably get some really great ram if it came from that year.

  • masterspace@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    5 hours ago

    The alternative to Electron not existing is that you have slower developed, clunkier software, that’s buggier and has fewer features.

    There is no magic bullet of being like ‘just code the exact same thing in C’. There are tradeoffs to every development framework.

  • tempest@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    Bunch of people complaining about electron in this thread but I’m happy it exists.

    Without electron you would get way fewer Linux apps and often no GUI to go with them.

    The RAM usage is high sometimes but I have 128gb and unused RAM is wasted RAM. I don’t care how much something is using until it starts to swap or gets oom.

    • dogs0n@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      5 hours ago

      Most people still only have 16gb of ram (like me).

      Electron is net good, but only for small teams that need to ship fast or solo devs etc who already know js and just want something to work.

      Billion dollar companies using it instead of paying more for native apps is a horrible use case (that’s mainly where my complaints live).

      At the very least, I hope we move to something that can use webviews on our system rather than bundling their own which would save on resources (but opens the possibility for version mismatches i guess, I dunno if you can “peg” that sorta stuff to a working version… but i guess thats just how browsers work so…).