• uid0gid0@lemmy.world
    link
    fedilink
    arrow-up
    107
    arrow-down
    3
    ·
    edit-2
    4 months ago

    runs only on MacOS

    And

    get it into the hands of millions of developers

    Seems contradictory

    • expr@programming.dev
      cake
      link
      fedilink
      arrow-up
      27
      ·
      4 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
        13
        arrow-down
        1
        ·
        edit-2
        4 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.

        • SorteKanin@feddit.dk
          link
          fedilink
          arrow-up
          7
          arrow-down
          1
          ·
          4 months ago

          Why in the world wouldn’t you just use Vulkan? Then it would still be portable to other platforms with probably still good performance, no?

            • SorteKanin@feddit.dk
              link
              fedilink
              arrow-up
              3
              ·
              4 months ago

              If their framework is using Vulkan, why is it not compatible with anything but MacOS? Isn’t the point of Vulkan that it’s cross platform?

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

                It’s not fundamentally incompatible, they just haven’t written the code to make it compatible yet. GPU frameworks need a lot of OS specific code, so it will take some time for them to make it run perfectly on Linux.

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

                My bad, I was referring to the new Linux implementation which is using Vulkan, which was not clear. The MacOS implementation only supports Metal, as MacOS does not support Vulkan natively. I assume the Vulkan implementation will also be what is used for the Windows build.

    • priapus@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      edit-2
      4 months ago

      runs only on MacOS for now

      it will be released on both Linux and Windows, with Linux support currently being the top ranking issue on their GitHub page. they have a tracking issue showing that many pr’s have already been merged working towards Linux support.

    • Mischala@lemmy.nz
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      I guess if you are committed to supporting a hard to support platform, may as well get it out of the way first?

      But yeah, seems like a pretty poor release.

    • Rimu@piefed.social
      link
      fedilink
      arrow-up
      48
      arrow-down
      2
      ·
      4 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
        23
        ·
        4 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
        16
        ·
        4 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.

        • Ephera
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          As I understand, GUI toolkits will usually support various widget styles or “Look and Feels”.
          So, they can just use a glossy graphic for a button on macOS and a flat graphic on Windows 11, without having to reimplement the whole application in the native toolkit. It will usually not feel entirely native, but at least, it won’t look out of place…

        • eveninghere@beehaw.org
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 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 use the traditional VRAM (which sits in the GPU) for this task, given that the text itself is stuck 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.

        • heyoni@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          Didn’t treesitter come from the Atom editor? These guys always take things really far so this isn’t surprising.

        • abhibeckert@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          4
          ·
          edit-2
          4 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.

  • Sanctus@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    2
    ·
    edit-2
    4 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
      10
      ·
      4 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
          2
          ·
          edit-2
          4 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
            4
            ·
            4 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
              3
              ·
              4 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.

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

                I know it’s the intended way but I’m too much of a modal noob for that, I’m actually working on a non-modal editor for this reason that’s similar to helix and fish philosophies

      • nflamel@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        4 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
          6
          ·
          4 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
            5
            arrow-down
            3
            ·
            edit-2
            4 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
              3
              ·
              4 months ago

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

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

            I was also disappointed not to have ex-commands, but I soon realized Helix’s use of multiple cursors with commands that support regex can accomplish the same tasks in a way I found more intuitive. Definitely took a bit to get rid of my :%s/new/old/g muscle memory, but Helix’s select command works very similarly and just as quickly.

            Quickfix commands on the other hand I never used. It seems Helix has some features such as jumping to diagnostics and errors, but it doesn’t have the ability to do so automatically after running make like Vim does (afaik). I don’t write much C, so I didn’t know that feature existed to begin with.

            • zygo_histo_morpheus@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              Multiple cursors are a lot better than :s for you standard search and replace, unless you have a really big file at which point helix gets to slow (which isn’t that common) but there are a lot of other stuff you can do with ex commands.

              I use :make pretty often, vim ships with the ability to parse a lot of compiler/linter outputs out of the box so if you tell it which one with :compiler you get build errors in the quickfix list. I also use :grep a lot. You can do <space>/ to grep in helix but I often find that I want to add command line options to only search in specific directories or for specific file types (we have a large codebase at work). Being able to filter results with :Cfilter, and being able to go back to old quickfix results with :colder is also really nice. Finally, you can use :cdo to apply ex commands to stuff you’ve matched in the quickfix list.

              As an example, if you get a build error because you’ve renamed a variable in one file but not the places it gets referenced in other files, you can :make to get the build errors in you quickfix list, :Cfilter to narrow it down to only that specific class of error if needed and then do :cdo s/oldName/newName/g to rename the variable in all places that cause errors. You can then go back to the list of all errors with :colder and handle other errors in another way if needed.

              I’ll have to admit that I don’t do this that often so honestly I wouldn’t lose out on that much switching to helix (after it gets proper plugin support and someone makes a decent replacement for the fugitive git plugin) but I would feel less powerful not knowing that I have those tools up my sleave lol.

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

                Those are some neat features. I hadn’t heard of them when I was using Vim. Parsing the compiler output to go straight to the error is very cool. I definitely think plugin support will bring a lot of people to Helix. I don’t currently have any features I’m waiting on, but I’m sure I’ll find some plugins to make it even better once they’re available.

  • tunetardis@lemmy.ca
    link
    fedilink
    arrow-up
    15
    ·
    4 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.

      • tunetardis@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        4 months ago

        It was more than just tab conversion. For example, it decided on its own that:

        if(...) {
            ...
        }
        else {
            ...
        }
        

        would look better like:

        if(...) {
            ...
        } else {
            ...
        }
        

        I mean I guess I could live with that, but really? I imagine there’s some config where you can disable all this, but it just doesn’t seem worth some giant git commit every time I touch a file with the editor.

        • Flipper@feddit.de
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          My guess is that it has that default because they use Rust. Everyone uses rustfmt so everything looks the same and if you always format before a commit you never get massive diffs.

          Most rust projects I’ve seen even have a ci job to check the formatting with rustfmt.

  • Pika@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    edit-2
    4 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
      link
      fedilink
      arrow-up
      10
      ·
      4 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.

  • milicent_bystandr@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    Shout out for Lapce.

    I remember reading a bit about this (from Atom) a while back and having iffy feelings… I don’t wish to slander based on vague memories but certainly at the time I hoped Lapce would catch on instead.

    It’s still in development, but has a handful of aspects that I really like as the right way to go about things.

    https://lapce.dev/

  • cozy_agent@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    4 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.

  • matcha_addict@lemy.lol
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    How did Zed get so much publicity? Do they happen to have a lot of funding or something? I’ve seen a million of these posts and I’m just really uninterested, as does a big portion of comments I see.