• Rimu@piefed.social
      link
      fedilink
      arrow-up
      31
      ·
      5 months ago

      They wrote their own GUI toolkit (oof) and it’s hardware accelerated (argh), so OS portability is going to be unusually difficult unless they planned for it from the beginning. No mention of that in the article, so I doubt they did.

      • hypertown@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        5 months ago

        They already have very experimental Linux support. You have to build whole app yourself though. I’d say that in month or two we’ll get a binary. You can track Linux porting progress in this issue

      • Carighan Maconar@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        5 months ago

        I mean on the one hand, the hardware acceleration is awesome. The GUI toolkit is not of course (I assume MacOS has a default one to make everything look like it belongs?), but at least they made it look like a native app instead of the usual electron shit where it’s clearly a web page with a window border and some design 15y old me might think is cool but 16y old me would already have been ashamed of.

        • eveninghere@beehaw.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          5 months ago

          Edit: I’m writing this out of my ass, so don’t quote me.

          They wrote that they GPU(I?)-accelerate the font rendering. Well, indeed, fonts are usually rendered with CPUs because it’s slow to access the traditional VRAM (which sits in the GPU) given that the text itself sits in the RAM (sitting right next to the CPU). With integrated chips like the Apple Silicon, it probably makes sense to move the font rendering into the GPU because the memory is unified. GTK is absolutely not designed to do this, AFAIK.

          But that also means that, to get this particular benefit of their dedicated GUI framework, you probably have to buy an Apple Silicon Mac. There are PCs with similar architecture, iirc, but that also means that there’s no way you can upgrade your GPU or RAM individually in the future… My fear is that, on a standard PC, it might be just as responsive as other editors.

        • abhibeckert@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          2
          ·
          edit-2
          5 months ago

          Because GTK is designed for GUI software, and this is a text editor. Almost everything is text - it’s got more in common with Vim than Gedit.

  • uid0gid0@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    5 months ago

    runs only on MacOS

    And

    get it into the hands of millions of developers

    Seems contradictory

    • expr@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Yup. Especially since it’s written in Rust… Like why? Rust has a great cross-platform story.

      • priapus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        5 months ago

        they’ve written a custom GPU framework to achieve the performance the level of performance they have. it’s currently only compatible with macos, but is being ported to other operating systems.

  • Sanctus@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    5 months ago

    I’ll be watching this one. It looks nice. Please come to Linux. I do loves me my vim. I did not like setting it up as much as I thought I would to be an IDE. I’m sorry I was mean Zed.

    • Azzk1kr@feddit.nl
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      I’ve been trying out Helix as of late. It’s a bit different than vim, but I’m beginning to like it.

        • priapus@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          5 months ago

          what do you mean? Helix uses LSP servers, usually the same ones used by Vim and VS Code.

          were you using it without the LSP’s installed? If you were, then you would only get completion based of the treesitter grammars, which would be very limited.

          • セリャスト@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            no, the autocomplete trigger is rly bad and triggers when moving the cursor around instead of when you actually type It’s a documented problem and they are working on fixing it

            • priapus@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 months ago

              Ah I see. I usually only move the cursor when in command mode, so that might be why I haven’t noticed it. That’s unfortunately an issue I’ve noticed in a lot of editors. In fact, because Zed is so fast, the auto completion is super obnoxious atm and constantly flashes at you while you type.

      • nflamel@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        Time will tell for sure, but helix is looking really good and once they have support for plugins I’m rather sure it will be a very, very powerful editor.

        • zygo_histo_morpheus@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          I don’t think helix will ever catch up to a lot of vims lesser know features of which there are a lot. I think that’s by design as well, I think that helix wants to have a smaller surface area than vim and for a lot of people that will be the right choice. I personaly use ex-commands for example, or the quickfixlist fairly often so for me I have a hard time imagining helix not feeling like a step down power-wise (as nice as multiple cursors are).

          • abhibeckert@lemmy.world
            link
            fedilink
            arrow-up
            3
            arrow-down
            2
            ·
            edit-2
            5 months ago

            VSCode has way more features than Vim. Including the ability to run Vim inside the IDE. Or Emacs.

            • balp@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              Sais no-one that knows vim, thou it have a vi-like mode that is missing most advanced vi-trixs.

  • tunetardis@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    5 months ago

    I tried it briefly. It certainly is a lot snappier than Atom ever was, I’ll give it that. Seemed to be pretty good with Python, but when I opened some C++ source, it went around reformatting my indentation and replaces tabs with spaces. I will have to see if there is a way to disable all that, as I found it obnoxious.

  • cozy_agent@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    Nice, been finding vscode more and more laggy after each update, so hopefully this is something to replace it with at some point.

  • Pika@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    5 months ago

    Honestly even if they had coded this to anything other than MacOS I wouldn’t use it, I’m not too keen on learning a software that’s developed by a team that archived their previous project, given how popular atom was when they decided to archive it it concerns they could just do the same with this one.

    • Daeraxa@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      On the plus side, the fact they stopped Atom development has allowed our community fork of Pulsar to flourish and it has seen loads of active development over the last year. I do find it hard to blame the original team, it was clearly a Microsoft thing to make sure they put all focus on VSCode.

  • nyakojiru@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    10
    arrow-down
    17
    ·
    5 months ago

    It’s strange because how much “powerful” or “high performance” a code editor needs? It’s just , a code esitor you can code in notepad lol

    • Pyro@lemmy.world
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      1
      ·
      5 months ago

      You can code in Notepad in the same way you can eat off the floor with your hands. Using better tools is a nicer experience.

      As for performance, when one of the world’s most popular editor runs on Electron, it’s not that hard to see why performance could be an issue when working on large projects on older hardware.
      I’ve never personally had an issue with VSCode’s performance, but I’m also fortunate enough to be in a position where I can afford a relatively modern machine. Many others have to make do with what they have, which is why Zed might appeal to them.

      • azertyfun@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Electron has other drawbacks than performance as well.

        The big one for me is that my workflow is based on vim, where you split tabs into buffers. There is no way to split a tab into windows in VSCode. Only windows into tabs, which is super dumb and annoying because related files are never shown together unless you click a bunch of tabs. Apparently the reasoning for this insane behavior is “yeah well electron is based on chromium so tough luck we can’t do shit”.

        • spartanatreyu@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          What do you mean by:

          There is no way to split a tab into windows in VSCode.

          Do you mean, drag a tab out of a window to create a new window? Because if so, you can do that in vscode.

          • azertyfun@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            5 months ago

            No, literally have one tab with multiple windows inside it (the default for vim).

              tab 1  |   tab 2   
            w1 | w2  | w1 | w2
            w3 | w4  |    w3   
            
            • spartanatreyu@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              I’m assuming for your example that only one tab is shown at a time?

              In that case, you can do that in vscode, the only difference is the semantics of what is considered a “window”, and what is considered a “tab”.

              To do this in vscode:

              Have one window with four panes, and another window with three panes:

                                       
                      Window 1         
               ┌──────────┬──────────┐ 
               │          │          │ 
               │  Pane 1  │  Pane 2  │ 
               │          │          │ 
               ├──────────┼──────────┤ 
               │          │          │ 
               │  Pane 3  │  Pane 4  │ 
               │          │          │ 
               └──────────┴──────────┘ 
                                       
                      Window 2         
               ┌──────────┬──────────┐ 
               │          │          │ 
               │  Pane 1  │  Pane 2  │ 
               │          │          │ 
               ├──────────┴──────────┤ 
               │                     │ 
               │       Pane 3        │ 
               │                     │ 
               └─────────────────────┘ 
                                       
              

              You can then switch between your windows (or “tabs” in your example) by keyboard shortcut.

              In vscode, you can make the Panes different files, or even different views of the same file.

              • azertyfun@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 months ago

                You mean a whole different window at the OS level? That’s just a way inferior hack to the way vim does it by default.

                I’ve found an issue from 2017 about it and this related one that focuses more specifically on supporting vim-like behavior. This is just, fundamentally, something that VSCode doesn’t implement simply because of technical limitations. The extensions that attempt to recreate this behavior are apparently all quite janky.

                I mean I don’t care, I’m very happy with vim now. But the terribly naive tab support is the reason I left vscode for vim initially. People who have only known “vscode-like” tabs don’t know what they are missing out on.

                • spartanatreyu@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 months ago

                  You mean a whole different window at the OS level?

                  Yes, that way I could switch between windows in a single shortcut, or even place them side by side so I can see both at the same time with other shortcuts.

                  That’s just a way inferior hack to the way vim does it by default.

                  Can you explain this more?

                  Why wouldn’t you want window management to be managed by the window manager?

    • Carighan Maconar@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Yeah like Atom or VSCode this is more a half-IDE in concept. Assuming it gets enough support it’s somewhere between a text editor (but will be more sluggish than pure text editors and struggle with very large files but then you ought to have specialized log viewers for that anyways) and an actual IDE (but have only limited IDE features).

    • eveninghere@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago

      Agreed. It’s weird to put the performance of a text editor at the center of PR.

      I have sooooo many questions.

      Why do they compare a text editor’s performance with that of IDEs??? Comparing it with CLion makes even less sense because IntelliJ is now public-testing a lightweight C++ CLion spinoff, which is faster than CLion.

      Why should I care whether my editor is written with Rust? C was fine as long as I trust the devs on security. Async doesn’t matter at all to the enduser…

      Besides, if I wanted a snappy editor I just use vim.

      My fear is that they might have concluded that all the performance boost they made wasn’t important as a text editor, and they are presenting some weird comparison to hide it.

      Besides, if you write C++, the bottleneck is not the typing response, but the code analyzer.

      It’s also not like C++ is a language used by majority of customers. Why not advertise with JavaScript instead? Python? Those are also better fit for text editors. Because statically typed languages like C++ can benefit hugely from a full-fledged IDEs, taking away the room for this text editor further.

      It feels like their AI integration is not outstanding (probably not, indeed).

      The collaborative editing might not align well with their emphasis on responsiveness, either, because the network latency will be felt. Not to mention that collaborative editing is pioneered by IntelliJ, also.

      Why do you need another channel/chat management tool if your team already has a Slack? Why would your team use a chat platform that can be used only by mac users?

      And all descriptions of their features are suspiciously vague. How are they better than a marketing scheme to raise the stock price?

      Maybe it is going to be just an average editor in the era of remote-office (looking at channels and collab edit), ChatGPT-assists (AI-integration) and async. Maybe it’s a proof-of-concept that will soon give ways to another generation of editors.