Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

        • @[email protected]
          link
          fedilink
          38
          edit-2
          5 months ago

          Have you really not heard of it? It is a new architecture that is a bit better than x64_64.

          • @mlg
            link
            English
            55 months ago

            Finally. 65 bit processor.

        • Eager Eagle
          link
          English
          235 months ago

          imagine the nightmare of writing a 65 bit instruction set

          • @laughterlaughter
            link
            65 months ago

            I don’t think it has to be a nightmare per se if you start from scratch.

            Instead of 8-bit bytes, you have 5-bit “bytes” (fyves?) Hoozah! Done.

            • Eager Eagle
              link
              English
              105 months ago

              only if double precision can be called high fyves

          • @yogurtwrong
            link
            1
            edit-2
            5 months ago

            Now imagine designing a 65 bit computer. The bus, registers, alu…

            You’ll probably waste a lotta chips since most of them are designed for working with powers of 2

    • @kazaika
      link
      275 months ago

      I mean its already in the nix repos as well as homebrew which means its essentially taken care of

        • @[email protected]
          link
          fedilink
          English
          55 months ago

          It appears to be a couple of versions behind … and have some issues with dynamically linked libraries that hinder LSPs. Neither of these is Zed’s fault. I’m sure the packaged version will be up to date momentarily (given the interest in Zed, sooner rather than later). Not sure how easy the LSP thing will be to fix, though there are some workarounds in the github issue.

          • @[email protected]
            link
            fedilink
            English
            55 months ago

            yeah the editor is being updated way too fast for nix to keep up. I’m sure it’ll be easier once it has its stable release. I see the have a nix flake in the repo, it would be great if they added a package to the outputs instead of just a devshell, nix users could easily build it from master or whichever tag they want.

            There are solutions in this issue to the LSP issue. The editor would need to be built in an fhs-env, or they will need to find a way to make it uses binaries installed with nix instead of the ones it downloads itself. VSCode had a similar issue, so there is a version of the package that let’s you install extensions through nix, and another that uses an fhs-env that allows extensions to work out of the box.

    • WFH
      link
      fedilink
      English
      155 months ago

      A curl piped into a shell or some unofficial packages from various distros.

      At this point I don’t get why these projects are not Flatpak-first.

      • @[email protected]
        link
        fedilink
        -45 months ago

        Flatpak is worse for debugging, development, and reproducibility.

        Its good for user friendly sandboxing, portability, and convenience.

        • WFH
          link
          fedilink
          English
          155 months ago

          Is it really worse tho? A single build, against a single runtime, free from distro specificities, packaged by the devs themselves instead of offloading the work on distro maintainers?

          • @[email protected]
            link
            fedilink
            1
            edit-2
            5 months ago

            It is. Security problem in core library? Good luck waiting for 27 randos releasing an update. Whereas the distro updates it even before the issue becomes public.

          • @[email protected]
            link
            fedilink
            05 months ago

            I’ll have to come up with some examples and write something more detailed I think to explore this.

            Until NixOS I was very in favor of language specific package managers and things like flatpak.

          • @[email protected]
            link
            fedilink
            25 months ago

            You see the conclusion of that article is that flatpaks are not repeoducible after presenting solutions to make it reproducible right?

    • @[email protected]
      link
      fedilink
      5
      edit-2
      5 months ago

      That was my first thought as well, but I will say that uBlue distros had a signing issue preventing updates recently, due to an oversight with how they rotated their image signing keys, and the easiest (maybe only?) solution was to pipe a curl command to sh. Even though uBlue is trustworthy, they still recommended inspecting the script, which was only a few lines of code.

      In this case, though, I dunno why they don’t just package it as a flatpak or appimage or put it up on cargo.

      Edit: nvm, they have some package manager options.

    • @PushButton
      link
      25 months ago

      It’s made in rust, therefore it must be safe!

    • @TunaCowboy
      link
      -55 months ago

      It is worrisome that all the smug elitists are too incompetent to just leave off the pipe and review from stdout, or redirect to a file for further analysis.

      Same people will turn around and full throat the aur screaming ‘btw’ to anyone who dares look in their direction.

      • @[email protected]
        link
        fedilink
        105 months ago

        By that logic you have to review the Zed source code as well. Either you trust Zed devs or you don’t - decide! If you suspect their install script does something fishy, they could do it just as well as part of the editor. If you run their editor you execute their code, if you run the install script you execute their code - it’s the same thing.

        Aur is worse because there usually somebody else writes the PKGBUILD, and then you have to either decide whether to trust that person as well, or be confident enough for vetting their work yourself.

    • SavvyWolf
      link
      fedilink
      English
      365 months ago

      So they’re doing the equivalent of VSCode(ium)'s extensions, but installing them automatically and not giving you the option to use alternatives?

      Blegh.

      • @aaro
        link
        25 months ago

        I think they auto install some binaries like nodejs that are required for baseline functionality, but have a popup window for additional language LSPs

        • hswolf
          link
          45 months ago

          what if I wanted to use deno or bun? I don’t think that should be their decision to install “default” stuff that have alternatives

          I’m all for their improvement tho

          • @aaro
            link
            75 months ago

            I don’t see your point? Nodejs is installed in a custom directory and not added to PATH. It is used by Zed for providing npm support for extensions, and other things. I’m not a Zed developer so I don’t know exactly.

            It doesn’t prevent you from using deno or bun in any way.

            • hswolf
              link
              15 months ago

              I see, that’s greatif it is only locally installed and used, messing with PATH could, probably, break stuff like nvm or others

    • @PushButton
      link
      55 months ago

      Quoting the guy:

      “that rewriting those in Rust will take an eternity, so not sure what is actionable here, hence closing.”

      That’s Rust shining from all its glories here gentlemen…

      The best language, if there is nothing changing.

      That’s a thing to make a web server or a library that displays Fibonacci, that’s something else when there are humans with changing scopes…

      • boredsquirrel
        link
        fedilink
        165 months ago

        Its not Rusts fault, the devs are simply lazy and making insecure products, as they dont want to rewrite everything.

        • @PushButton
          link
          95 months ago

          That’s what I am saying.

          To quote you: “they don’t want to rewrite everything” …

          Writing Rust often implies major refactoring and it takes so much time to write that your requests go: “pewf” closed due to the amount of effort it takes.

          Anyway, been there, done that! Zig is probably the real future; it’s a joy to write, it compiles fast, clear to read, and safe.

          It has shared libraries and a proper integration with existing C/CPP code base.

          You should try it, that’s an amazing language with a real potential to replace the legacy.

          • @[email protected]
            link
            fedilink
            English
            15 months ago

            I dunno man… I’m not sure I’m so keen on a language that prides itself on not having macros

            • @PushButton
              link
              15 months ago

              Comptime replaces macros/reflection.

              It’s basically Zig code that runs at compile time in your code…

              No other “weird” language to learn; it’s zig all the way. What you would have written in macro is written in zig comptime.

              Even the build system is zig…

              Same for generics, it’s comptime…

      • @[email protected]
        link
        fedilink
        45 months ago

        They were exaggerating to avoid work. Look at the PR diff to determine whether your anti-Rust bias is true.

        • @PushButton
          link
          -15 months ago

          There are no patch, the issue has been closed as in rejected.

          There are a few tasks that are open that are loosely related, but let’s not mix things up.

          Moreover, I will take the words of the maintainers over a random potato on a forum.

          No offense…

            • @PushButton
              link
              15 months ago

              As I mentioned, a couple of tasks loosely related. The patch you are mentioning isn’t complete nor address the real problem.

              It is an ugly hack at best.

              Refrain from your urge to defend rust at all costs. You are sliding more and more toward the specifics of a project than the fact I stated about rust in general.

              If you still not get my initial point I’ve made, read this.

              That’s a long read explaining what I meant. My point was about Rust, not Zed or the developers of Zed in particular.

              And for the Zed editor, I wish them the best luck, it seems like a great project that people enjoy.

              Please feel free to comment and share your thoughts on the article above, my dear favorite nutritious veggie.

      • @[email protected]
        link
        fedilink
        -2
        edit-2
        5 months ago

        I use rust only if we need performance, for small services. The industry does the same. People use node for backend but e.g. redis is in rust. It’s a good tool if you use it for the right stuff.

        EDIT: redis is not in rust, but e.g. aws writes many services in rust

  • Magister Sieran
    link
    fedilink
    1165 months ago

    There ought to be a rule that posts about software releases have to say what it is.

    • @[email protected]
      link
      fedilink
      59
      edit-2
      5 months ago

      Zed (a high-performance code editor announced in 2022), not to be confused with Xed (a small and lightweight text editor released in 2016)

      EDIT: or Yed (a small and simple terminal editor core)

  • @[email protected]
    link
    fedilink
    335 months ago

    I am BEGGING for any editor other than VSCode to have decent remote development. I want to go open source but everything I’ve tried (remote-nvim, distant, tramp, vscodium, etc.) just doesn’t cut it.

    • @[email protected]
      link
      fedilink
      English
      10
      edit-2
      5 months ago

      Apparently Lapce has remote development as its core feature. But I only (re?)learned of it today…

      How didn’t tramp work out for you?

    • @finestnothing
      link
      55 months ago

      Have you tried running doom emacs in tmux on the remote server and accessing it with ssh? Doom emacs is all the good of an emacs environment, all the good of vim keybinds, and they worked in a decent amount of optimizations so it only loads the necessary stuff on demand (mine has a startup time of just over 1 second, slower than vim but barely an inconvenience). Can write a quick script to ssh copy (or git pull) your current configs on the server so you only have to maintain one set of configs if you want

      scp ~/.config/doom/config.el username@server:~/.config/doom/config.el
      

      Run emacs in tmux if you want to keep the emacs session open across multiple ssh sessions

    • @ErnieBernie10
      link
      15 months ago

      What I do is use distrobox or any devpod and install it in the container and launch from cli. Works perfectly for me.

  • @tabular
    link
    English
    295 months ago

    What’s that?

    • @coolmojo
      link
      475 months ago

      Integrated Development Environment (IDE) from the makers of Atom. It is written in rust.

        • RayJW
          link
          fedilink
          85 months ago

          I think Zed is quite different from Atom. But Pulsar might be your thing. A direct fork of the last release of Atom being developed by ex Atom developers :)

          • @[email protected]
            link
            fedilink
            English
            95 months ago

            I just mean that I liked the work that the devs did on Atom, which makes me want to try this one out too

            • RayJW
              link
              fedilink
              15 months ago

              Oh, in that case you might like either. I think both are great in their own way!

          • Daeraxa
            link
            fedilink
            75 months ago

            Just to clarify, the Pulsar devs aren’t ex-Atom devs. Some of the team are from atom-community but none of the core Pulsar team were part of the official Atom team.

            • RayJW
              link
              fedilink
              15 months ago

              Oh, interesting. In that case I misunderstood that part, I thought there were core devs of Atom involved in Pulsar, thanks :)

              • Daeraxa
                link
                fedilink
                15 months ago

                Watch this space for the full history, I’m literally putting the final touches on a blog post that will go into details of how Atom started then how it became Pulsar as a little celebration after we hit 3k stars.

      • Virkkunen
        link
        fedilink
        105 months ago

        Zed is not an IDE, it’s a code editor. No, they aren’t the same things, it’s like saying a table and a kitchen are the same thing.

        • Eager Eagle
          link
          English
          75 months ago

          This distinction is not as meaningful as it used to be before LSPs; there’s little a PyCharm IDE can do that you can’t do in VS Code editor for example.

        • @coolmojo
          link
          15 months ago

          You are right, stand corrected.

      • @tabular
        link
        English
        35 months ago

        Thanks. I briefly used Atom (on Win) but stopped as it was terribly slow to startup.

        What is the software license for Zed? It’s Github page isn’t clear.

        • furzegulo1312
          link
          fedilink
          155 months ago

          The code for Zed itself is available under a copyleft license to ensure any improvements will benefit the entire community (GPL for the editor, AGPL for server-side components). GPUI, the UI framework that powers Zed, is distributed under the Apache 2 license, so that you can use it to build high-performance desktop applications and distribute them under any license you choose. https://zed.dev/blog/zed-is-now-open-source>

  • @aramus
    link
    285 months ago

    I still don’t understand why I should need GPU acceleration for my fucking TEXT EDITOR

  • @[email protected]
    link
    fedilink
    23
    edit-2
    5 months ago

    I can see the beginning of something truly great in this editor. It’s going to become better than VS code in a year.

    It’s already great for some languages like Go and Rust.

  • @[email protected]
    link
    fedilink
    195 months ago

    Interesting project, how ever it will be hard to compete with existing editors and its plugin eco-systems.

  • @[email protected]
    link
    fedilink
    English
    195 months ago

    I still do not understand why Zed makes such a big deal about being GPU accelerated when you’ll be hard pressed to find a single text editor nowadays that isn’t.

    • Bilb!
      link
      fedilink
      English
      25 months ago

      Yeah, I don’t see why I should care about that. Gimme some crazy graphical effects, particles and shaders!

  • @markstos
    link
    175 months ago

    Anyone care to compare this with Helix?

    • @Bolt
      link
      English
      195 months ago

      Very first impressions since I literally just downloaded before writing this, and haven’t read the manual, I may change my mind with more experience.

      • It’s incredibly snappy, to my eyes as fast as Helix.
      • A lot of stuff that took me a while to figure out in VS Code was immediately obvious. How to toggle inlay hints for Rust? Parameter Icon > Inlay Hints (with the keyboard shortcut there for easy toggling).
      • Interactive is generally intuitive because it seems pretty permissive. Tab vs Enter to autocomplete? Either! ctrl-shift-Z vs ctrl-Y to redo? Same thing!
      • After being so used to Helix I often reach for keybinds that don’t exist. I might have to learn Vim keybinds because I’m definitely going to keep trying Zed.
      • Not sure how I feel about what seems to be an inline discord-like chat/voice-call feature.

      Going to check out if there’s git integration, because I couldn’t easily find it.

      • @[email protected]
        link
        fedilink
        English
        11
        edit-2
        5 months ago

        Going to check out if there’s git integration, because I couldn’t easily find it.

        Asking this because I’m noob, not elitist ass: Why a git integration in ide instead of using the cli? I’ve been working only on few projects where git is used, but the cli seems to be a ton easier to understand how to work with than the git integration in vscode which I discarded after few attempts to use

        • @micka190
          link
          155 months ago

          Depends on the features.

          Git has some counterintuitive commands for some commands you may want to do when you want to quickly do something. Being able to click a button and have the IDE remember the syntax for you is nice.

          Some IDEs have extra non-native Git features like have inlined “git blame” outputs as you edit (easily see a commit message per-line, see who changed what, etc.), better diff/merge tooling (JetBrain’s merge tool comes to mind), being able to revert parts of the file instead of the whole file, etc.

          the git integration in vscode which I discarded after few attempts to use

          I’m going to be honest, I don’t really like VS Code’s Git integration either. I find it clunky and opinionated with shitty opinions.

          • @[email protected]
            link
            fedilink
            English
            65 months ago

            Git has some counterintuitive commands

            Yeah… ‘git merge main’ weirds me out because my brain likes to think the command is merging current branch TO main instead of other way around

            Some IDEs have extra non-native Git features like have inlined “git blame” outputs as you edit (easily see a commit message per-line, see who changed what, etc.), better diff/merge tooling (JetBrain’s merge tool comes to mind), being able to revert parts of the file instead of the whole file, etc.

            Okay this sounds very good, so they actually improve git cli feature wise in addition to implementing GUI for it.

            Thanks for the reply!

        • @Bolt
          link
          English
          45 months ago

          I’m probably more of a git noob than you, but I do usually use the cli. I figured if I’m going to give a gui editor an honest shake I should try to do things the inbuilt, gui, way. And more to the point, I do appreciate a good user interface with information at a glance or click instead of having to type out a command each time.

          • @[email protected]
            link
            fedilink
            English
            35 months ago

            I’m probably more of a git noob than you

            Doubt =D

            And more to the point, I do appreciate a good user interface with information at a glance or click instead of having to type out a command each time.

            Agreed with good user interface, my criticism was specifically for the vscode default git plugin which I was not compatible with at all but it could be just a me-problem

        • @[email protected]
          link
          fedilink
          English
          3
          edit-2
          5 months ago

          A great git integration can work well in an editor. I use Magit in Emacs, which is probably as full-featured Git-client as there can be. Granted, for operations such as cherry-picking or rebasing on top of a branch or git reset I most often use the command line (but Magit for interactive rebase).

          But editor support for version management can give other benefits as well, for example visually showing which lines are different from the latest version, easy access to file history, easy access to line-based history data (blame), jumping to versions based on that data, etc.

          As I understand it vscode support for Git is so basic that it’s easy to understand why one would not see any benefits in it.

        • @[email protected]
          link
          fedilink
          25 months ago

          I mainly use git with cli, the one thing that’s been super helpful in vscode is gitlens, which shows you who last updated the line you’re on, and lets you look at the commit

      • @[email protected]
        link
        fedilink
        English
        75 months ago

        Git integration seems to be so embedded that it’s easy to miss. Open a git repository folder and you can switch branches and whatnot. But, like, in the command palette, there’s no Git > Pull or Git > Clone as in vscode. (I have barely scratched the surface so it might be there hiding in plain sight.)

    • @[email protected]
      link
      fedilink
      English
      115 months ago

      Zed has a lot more features and is GUI-based. Helix is more focused and is CLI-based. I think a more direct comparison would be with VSCode(ium).

      • @[email protected]
        link
        fedilink
        English
        85 months ago

        Better/simpler experience out of the box. With Helix you install the LSPs for languages you use and you’re set with a fully featured editor. Manual configuration is only needed for setting themes, keybinds, and small setting changes. It also feels much faster than a fully configured vim/neovim. Lastly its keybinds are inspired by Vim/Kakoune, but different from both.

        • @[email protected]
          link
          fedilink
          15 months ago

          Cool, but is it possible to add vim bindings to Helix? I’m too used to them, I even use them in Emacs.

          • @markstos
            link
            15 months ago

            A lot of the bindings are the same, because Helix was inspired in part by Vim.

            Helix overall tries to make more consistent vocabulary and “nouns” and “verbs” in the keybindings, so there are some breaking changes.

            Someone published a more “vim-like” set of keybindings for Helix: https://github.com/LGUG2Z/helix-vim

            I started with that and then have slowly disabled a number of them as I come to appreciate the Helix defaults, and have realized that some of these vim-bindings are overriding other Helix bindings that I wanted.

    • @thevoidzero
      link
      95 months ago

      Not much documentation. I tried to use it, but it was really hard to figure out anything.

  • jaxxed
    link
    85 months ago

    Zed seems cool, but not much better than other options. I am still kind of thrown off by the immediate GH/CoPilot integration. Am I the an old man left in the caves of feeling that I don’t need the AI help?

  • @[email protected]
    link
    fedilink
    75 months ago

    I was so happy about this! Been using it on my work MacBook and have been excited to use it on my main laptop!

  • Nora
    link
    fedilink
    75 months ago

    I tried saving to a file that required root and it didn’t give any prompt to enter the password. On VSCodium normally if you are trying to write to a file that requires sudo then it prompts you.

    Is there a way to save to root files with Zed?