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

  • Simmy@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Great another editor. Now what we need is a good PS alternative so we can all move away from Windows.

    • PushButton@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 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@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

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

        • PushButton@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          7 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.

        • PushButton@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          7 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@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              7 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.

      • fxdave@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        7 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.

    • SavvyWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 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@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 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@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          7 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@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            7 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.

  • blackboxwarrior@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 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.

      • The Cuuuuube@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        It has Microsoft BLObs baked in as part of the build process. VS Codium is the FLOSS distribution of VS code’s open source code. Liveshare doesn’t appear in the package repo Codium uses (because of the Microsoft BLObs it contains as an extension). For work I manually download the live share extension VSX and load it into vscodium

    • flux@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      7 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?

      • The Cuuuuube@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        Pair programming over the net. The old school way is tmux and vim but to do that you and your partner need port 22 open and most enterprises are gonna be like “hell no you can’t let people connect to your company owned work laptop SSH into your machine”

    • finestnothing@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 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

  • vrighter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    built from the ground up with rust. Why the fuck is that the first and usually only (non-)feature to mention in any project written in rust? Who the fuck cares?

    I fucking hate the rust cult.

    • ParetoOptimalDev@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      I care because I know the values of those programmers in a narrow scope and won’t be as annoyed when I inevitably have to go debug the rust code instead of C.

      However, that values statement was challenged by automatic binary downloads without user confirmation.

      Luckily the fix is already in progress, but its concerning it was ever implemented.

    • UnfairUtan@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Because most things built with Rust are faster than their equivalent, especially electron-based apps.

      So as a user, regardless of the cult following, i’m happy that this tech exists and is being adopted so fast.

      • Matt@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 months ago

        Because most things built with Rust are faster than their equivalent, especially electron-based apps.

        And safer, since Electron is just Chromium, which is mainly written in C++.

      • Mihies@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        It’s primarily about safety, not speed. Any C or C++ program should match the speed but not the correctness.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 months ago

          no, it’s primarily about speed and resources because the comparison is often not against a hypothetical C/C++ alternative, but against an existing one that is slower and more resource intensive.

          • vrighter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            So they should say that it is written with performance in mind. I don’t care how you achieved that. rust, c++, assembly, whatever.

            Mention that it has very good collaborative editing.

            Mention features.

            • upto60percentoff@kbin.run
              link
              fedilink
              arrow-up
              0
              ·
              7 months ago

              VS Code is written with performance in mind. Compared with other electron apps, it’s very performant.

              Compared with even a sloppily written native app though, it’s not great.

              • vrighter@discuss.tchncs.de
                link
                fedilink
                arrow-up
                0
                ·
                7 months ago

                so fucking say that. Designed to be fastest editor. Show benchmarks. Talk about your features. I still don’t care what tools you used to achieve it. It being written in rust does not automatically make things fast. It may even slow things down, in some cases.

            • crispy_kilt@feddit.de
              link
              fedilink
              arrow-up
              0
              ·
              7 months ago

              Everone claims their software is fast. When stating that it is written in a native language it is actually believable.

              • vrighter@discuss.tchncs.de
                link
                fedilink
                arrow-up
                0
                ·
                7 months ago

                I don’t care how easy it is for the developer. And modern c++ is slightly harder than rust, but not all that difficult to get right with smart pointers and iterators etc.

                • ParetoOptimalDev@lemmy.today
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  7 months ago

                  If you care about your software being stable and secure, you should care about how easy the programming language used makes and encourages that.

                  People aren’t robots and make mistakes often.

  • Nora@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 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?

    • The Cuuuuube@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      Pretty common feature. Sublime, Lapce, VS Code, certain Emacs distributions, certain NeoVim GUIs… We live in a world where a lot of people have GPUs and CPUs aren’t getting faster so if you want to get more work done (ie, running LSPs, tree sitter, completion engines, snippet engines, debuggers etc) you need to offload some of that work somewhere

    • THCDenton@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Sounds pretty cool. Sometimes ill do a quick series of edits in vim and it fuckin chugs. I’m definitly gonna try it

  • aramus@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

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

    • BB_C@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      It’s not you who needs it.
      It’s for buzzword chasers and cost cutters.

      Rust (=> fast and hip)
      Shared (=> outsourced)
      AI generated (=> robot devs)

      Get it?

      • Matt@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        The Rust hype at least makes sense. The other two are just utter bullshit.

        • BB_C@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          7 months ago

          The Rust hype at least makes sense.

          In technical context, yes. I’m a Rustacean myself.
          In business/marketing context, …

          • ma1w4re@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            There are gpu accelerated terminal emulators… Not sure what you mean by remote development though.

            • Eager Eagle@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              7 months ago

              remote development for connecting to a machine without a display server; basically covering the main use case for being constrained to a terminal.

              Remote Tunnels in VS Code or JetBrains Gateway for example

              I do use a GPU accelerated terminal, but it’s still very limited compared to a GUI; they serve different goals.

    • cerement@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      7 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)

  • AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 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!@lem.monster
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

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

  • mogoh@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

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

  • jaxxed@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 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?

      • krolden@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        Thats not the point. Why should you trust anything from this project after they would allow third party unsigned binaries from questionable sources

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

          Because people can make make mistakes…

          Loads of important projects have had vulnerabilities that showed up through minor mistakes and oversights. I agree that this shouldn’t happen, but it did. I’d still prefer this project to a closed source editor/IDE and even VSCodes method of having a store full of plugins, many of which are closed source and unverified. The project is in alpha, mistakes and problems are expected. This was obviously an oversight, and after being pointed out, it is being addressed.

          Can you elaborate on questionable sources? All the sources I saw were the official sources of the binaries they wanted to download.

          • Fonzie!@ttrpg.network
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            Deliberately making your program download unsigned binaries from questionable sources is more of a bad design than an oopsie in my book

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

              Again, the binaries aren’t from questionable sources. From what I can tell they all come from the official source. The problem is them being unsigned, which is a simple oversight that can be made when something is being written by someone who is not security minded. It is alpha software and this is already actively being discussed.

      • tabular@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 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@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          7 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>

      • Virkkunen@fedia.io
        link
        fedilink
        arrow-up
        0
        ·
        7 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.

        • RayJW@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          7 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 :)

          • Daeraxa@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            7 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@sh.itjust.works
              link
              fedilink
              arrow-up
              0
              ·
              7 months ago

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

              • Daeraxa@lemmy.ml
                link
                fedilink
                arrow-up
                0
                ·
                7 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.