Building the Zed Text Editor (with Nathan Sobo)

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 111

  • @Lars-ce4rd
    @Lars-ce4rd 3 місяці тому +35

    You're a great host, Kris, and I'm usually amazed by the guests you bring on. Thanks for the great content!

  • @mrmaniac9905
    @mrmaniac9905 2 місяці тому +4

    Kris, you are hands down, the best interviewer I’ve seen for programming related topics. Your questions and genuinely thoughtful and I love how much room you give the interviewee to answer the questions while you take it in. Wonderful stuff

    • @DeveloperVoices
      @DeveloperVoices  2 місяці тому +2

      Wow, thank you. That's really kind of you to say. ❤️😊

  • @sm5304
    @sm5304 3 місяці тому +6

    This guy gives off the vibes of a funny drunk uncle at Christmas, who shakes your hand every five minutes. I love it.

  • @TheMrSnuSnu
    @TheMrSnuSnu 2 місяці тому +2

    If possible, would love to have someone from the warp terminal project on the show!

    • @DeveloperVoices
      @DeveloperVoices  2 місяці тому +2

      That's a great idea! Yes, I'll drop the team a line immediately. Thanks! 👍

  • @m1x1s
    @m1x1s 3 місяці тому +7

    About the closing html tags - some (closing) tags are implicit and optional. Handling that correctly would be extra nifty.

  • @andrewdunbar828
    @andrewdunbar828 2 місяці тому +2

    I like Rust and Zed is looking good. I keep it updated. But my impression is that it's evolving slowly, possibly because Rust is slow for iterative development where you have to keep rethinking and redesigning how stuff works. It's not at the point where I want to use it for doing my actual coding in yet.

  • @alexanderleitner8143
    @alexanderleitner8143 3 місяці тому +1

    I gave Zed a try several months ago and was impressed by the performance. It has become my go to editor for anything else, where I don't need special debugger features or tool chain support. My wish would be, make it the go to editor for Rust! Rust really needs a good editor with toolchain support and remote debugging. Here all the big players have issues or are very complex to handle. I know that because I use it all the time.
    But for the record, great work! Zed is outstanding and I love it!

  • @Midnightfalk
    @Midnightfalk 3 місяці тому +1

    That was a very interesting watch. Thanks, Chris & Nathan. Just decided to spend a day working with Zed.

  • @szymonpiechutowski2340
    @szymonpiechutowski2340 3 місяці тому

    You are the first Host that asked real questions like DSA and Project Design! God Bless You!

  • @t1nytim
    @t1nytim Місяць тому

    Look forward to watching this, as I do with any of them. Though before watching, I had a disk die about a month ago now, and I'd been talking about moving to Linux, just too lazy to do it. So this felt like the perfect opportunity, so I did. Prior to that I'd been using VSCode as my editor, and moving away from Windows, it didn't feel right to use it still, so I thought I'd try other things out there, and one of them was Zed, and every couple of days it seems to freeze on me, but given it starts so fast, it's as if I just alt-tabbed away, and back again, I've been pretty happy with using it for the last month so far. Though I'm not someone who thinks about workflow, or other things like that, so I never really took advantage of the extensions in VSCode for example (or at least not enough that I miss what I had there), so my move probably easier than many.

  • @FranzBrummer
    @FranzBrummer 3 місяці тому +2

    Always a pleasure watching Kris' interviews.

  • @evarlast
    @evarlast 3 місяці тому +2

    Nice to hear rope become more and more well known. I recall an ICFP contest where the challenge problem needed to be done using rope or it was nearly impossible, but easy with rope. Rope wasn't well known enough and some folks complained at the gotcha.

    • @fredoverflow
      @fredoverflow 3 місяці тому +2

      The editors "xi" and "lapce" use ropes as well IIRC

    • @evarlast
      @evarlast 3 місяці тому

      @@fredoverflow I'm pretty sure that most do.

    • @fredoverflow
      @fredoverflow 3 місяці тому +1

      @@evarlast Emacs and Eclipse use gap buffers.

    • @panstromek
      @panstromek 2 місяці тому

      IntelliJ uses ropes, too, I believe

  • @cultoftranquility9616
    @cultoftranquility9616 3 місяці тому +2

    Bro like, became a text editor 😂 Respect the dedication!

  • @kenneth_romero
    @kenneth_romero 3 місяці тому +12

    54:00 imagine a text editor getting a replay system before valorant does. that'd be funny

    • @pookiepats
      @pookiepats 3 місяці тому

      Ok

    • @josephlyons3393
      @josephlyons3393 3 місяці тому +2

      We've toyed around with the idea of being able to replay all of your edits in Zed!

  • @svetzal
    @svetzal 3 місяці тому

    I work in a strongly regulated environment with heightened levels of security concerns, which has a tendency to be a little "isolationist," if you will. I've also said for a couple decades now that software development is a social endeavour, like any other creative acts have a strong social component. I absolutely loved the mentions here of the anthropological intersection. Concepts of subversion, of identity, of guile, of corruption, because of my work environment, are fascinating to me. On one hand, I think about orgs like ours being able to wrap the technology one day to leverage it within their isolated bubble, and on the other hand I think it would be so much more fascinating to think about how we might find ways to isolate and suppress those kinds of activities as a function of the technology itself. Is isolating a bad set of transformations from a hallucinating AI done asynchronously really any different functionally than an intentional set of malicious transformations by a subversive actor? At a lower level, what if these things were signed to ensure identity? So many fun questions.
    Great interview, really got my brain engaged. Thanks Kris for the continued thoughtful way you engage in these interviews, and the guests you bring in with so many damn cool ideas :)

  • @CoinOpCoder
    @CoinOpCoder 3 місяці тому

    Excellent content, thanks! Lots of technical and design choices in Zed that feel "right" to me, I'll definitely try it - fingers crossed for a huge success!

  • @DarenC
    @DarenC Місяць тому

    Looking forward to this making it to Windows and trying it out

  • @JT-mr3db
    @JT-mr3db 3 місяці тому +2

    Another vscode that’s maybe faster probably won’t win the war.
    Boy it would be a lot of fun to work on though!

  • @Shwed1982
    @Shwed1982 Місяць тому +1

    Consider to make the same with helix editor creator. I ended up using helix for everyday work. Its great

  • @joloppo
    @joloppo 3 місяці тому +2

    I think for the "ambient awareness" social stuff they should maybe take some ideas from discord. I would sometimes have friends stream their work but actually have mic+headset muted (which is visible as an icon) - so you could join and look at what they do but they wouldn't get disturbed by you. Also different channels for different things, also both sides streaming at the same time. etc.

  • @TJ-hs1qm
    @TJ-hs1qm 3 місяці тому +3

    using Neovide and I"m quite happy with it.

    • @howdoiexitvim-sg2xl
      @howdoiexitvim-sg2xl 3 місяці тому

      Are you using windows? Just curious

    • @TJ-hs1qm
      @TJ-hs1qm 3 місяці тому

      @@howdoiexitvim-sg2xl nope, macos (M1) :)

  • @shafu0x
    @shafu0x 3 місяці тому

    great interview! chapters would be super helpful.

  • @koluacik
    @koluacik 3 місяці тому

    Great as always Kris!
    I miss the theme fade in at the intro and outro

    • @DeveloperVoices
      @DeveloperVoices  3 місяці тому +1

      Yeah, sorry about that. It's in there, but I mixed it too quietly this week. 🤦‍♂️

  • @JT-mr3db
    @JT-mr3db 3 місяці тому

    Sounds like they are using a take on a HAMT. Very cool!

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej3384 2 місяці тому

    fantastic podcast by the way!

  • @Navhkrin
    @Navhkrin 3 місяці тому +6

    Everyone is too busy with building a nice cozy caravan while these guys are going straight for the Ferrari

  • @EduardoMengesMattje
    @EduardoMengesMattje 2 місяці тому

    Great talk.

  • @danvilela
    @danvilela 2 місяці тому

    I really see no issues with vs code.. a new x code though.. that would be cool!

  • @-aexc-
    @-aexc- 3 місяці тому

    once they get a proper vim integration (directly connected like the neovim extension for vscode) and Linux support, I might switch from neovim. also just better keybinding support with keychords and stuff.

  • @cbbcbb6803
    @cbbcbb6803 17 днів тому

    Why does vi not default to input mode when it starts? I do not use it for that reason. If I am the user of a software, I think that my preferences should be accommodated. That is, if I am expected to use it.

  • @lawrencejob
    @lawrencejob Місяць тому

    Do you need GIT if you have the entire edit history in the file? Can it grow beyond a file to a project? Is this the future?

  • @vahagbyurat
    @vahagbyurat 3 місяці тому +2

    This guy is good vibes

  • @ev3rybodygets177
    @ev3rybodygets177 2 місяці тому +1

    the reality is who is zed for? people who have taken up vim/neovim for its configuration, speed, and simplicity zed will just never be able to compete. Maybe some of the vscode crowd or people looking for something in between vscode/vim? Even then i believe the reason a lot of people continue to use vs code is due to its integrations and ecosystem. Which means it would be a long long long time before zed gets there.

  • @apivovarov2
    @apivovarov2 3 місяці тому +3

    seems like zed still doesn’t have basic ide functionality such as drill down to function/class body in c++. It is yet another editor with just syntax highlighting

    • @DeveloperVoices
      @DeveloperVoices  3 місяці тому +5

      Odd - it works for me in other languages, so it should just be a question of whether your LSP server supports it...

    • @andrewdunbar828
      @andrewdunbar828 2 місяці тому

      I think that relies on LSP and C++ is probably the most difficult language to make a really good LSP for.

    • @JedRichards
      @JedRichards 2 місяці тому +1

      @@andrewdunbar828 C++ has a first class LSP - clangd. Zed integrates clangd, but there are a few major issues with the integration atm.

  • @MathisHofer
    @MathisHofer 3 місяці тому +1

    Thanks for that very interesting discussion & insight in the Zed development. Sadly, it is so disrespectful that the guest is regularly muted away...

    • @DeveloperVoices
      @DeveloperVoices  3 місяці тому +2

      No disrespect was intended. Sadly there were a few places where we talked over each other-almost inevitable on a transatlantic conversation-and for clarity's sake I muted Nathan or myself.
      I _try_ to be impartial on that,and just pick whichever side kept the conversation flowing best in that moment. 🙂

  • @apivovarov2
    @apivovarov2 3 місяці тому

    Does it support Remote Development using SSH? Can it connect to linux box? Many people use VSCode to develop on Linux from MacBook Pro.

  • @michaellatta
    @michaellatta Місяць тому +1

    Until zed has plugins that can add the features that are must haves it is a cool toy.

  • @hereallyfast
    @hereallyfast 3 місяці тому +1

    You guys are really smart. A lot smarter than i am. I'm barley keeping up. I love it.

  • @melodyogonna
    @melodyogonna 3 місяці тому +1

    Alright, I'll give Zed a try.

  • @jhonyortiz5
    @jhonyortiz5 3 місяці тому +4

    Them implementing AI stuff before a lot of other features just doesn't sit well with me. I think this is more like a jetbrains ide or maybe i think jetbrains fleet. But this is definitely not an editor that will become the top editor instead of vscode or even neovim.

    • @Denis-ez8gd
      @Denis-ez8gd 3 місяці тому +1

      You must implement AI if you want to be on the hype train or attract investor money. :(

    • @Arbiteroflife
      @Arbiteroflife 2 місяці тому

      AI needs so much infrastructure for its value to be fully realized. I’m starting to realize this. Probabilistic stochastic pattern matching machines still need stateful, reliable infrastructure to serve its users best. Platforms like iOS have so much reliable infrastructure and features for it to really deliver a tailored user experience with integration.

  • @TenseiCho
    @TenseiCho 2 місяці тому

    Need a windows release hopefully not too far in the future.

  • @bart2019
    @bart2019 3 місяці тому +2

    Zed sounds interesting, but I'm not buying a Mac to use it.

    • @spartanatreyu
      @spartanatreyu 3 місяці тому +3

      Linux and Windows releases can both be built from the source code.

  • @pythagoran
    @pythagoran 3 місяці тому +6

    TIL Zed is the opposite of everything i look for in an editor -- no git or plugins + live collab + LLMs? What is this - an editor for Gen Z?

    • @otockian
      @otockian 2 місяці тому +1

      It really makes absolutely no sense at all. Like no refactoring capability? If I don't like the name of a function do you seriously expect me to do a find and replace? I mean I was doing that back in 2000, but now we have actually smart tools that can do that properly. I mean wtf?

    • @abdulsaba2734
      @abdulsaba2734 2 місяці тому

      And also no editin capability?? Just watching random text appearing or changing without being able to do anything??

  • @Alexander_Sannikov
    @Alexander_Sannikov 2 місяці тому

    What the actual f, when the guy was talking about segment trees/fold maps I did not understand literally anything. Judging by the reaction of the host, I don't think he understood much either. At around 13:20. Lots of hand gestures, trapezoids, ropes, CRDT's -- I guess the guest expects all viewers to be writing high performance text editors on their spare time, but I doubt it's the case..

  • @MatthewKennedyUK
    @MatthewKennedyUK 3 місяці тому

    I liked Atom, but left it for Sublime Text

  • @adicide9070
    @adicide9070 3 місяці тому +5

    sure, but there is just no way this beats nvim + tmux for me. like it's not in the ballpark.

  • @kimkardashi-un9382
    @kimkardashi-un9382 Місяць тому

    10:52

  • @salmanshaik1298
    @salmanshaik1298 3 місяці тому

    By assuming windows doesn’t exist?

  • @igneousred1875
    @igneousred1875 3 місяці тому +5

    First, nice

  • @stephenkamenar
    @stephenkamenar 3 місяці тому +1

    i don't get it. there's plenty of good fast editors. what's wrong with sublime text for example? its lightweight and instant and has lots of useful plugins

    • @spartanatreyu
      @spartanatreyu 3 місяці тому

      Sublime text is great, and I still rely on it for quickly poking around in SQL dumps.
      But it's held back in some ways due to it being made before certain features were figured out in the editor space. Particularly in features that are hard to add if they weren't already planned to be added when the editor was first made.
      For instance, it doesn't have any sharing features and AFAIK its plugins can't be as fast or sandboxed as something that runs in a wasm container.

    • @stephenkamenar
      @stephenkamenar 3 місяці тому

      @@spartanatreyu plugins are fast enough and i don't care if they're not sandboxed. sharing probably doesn't exist though so i guess if thhat's something you need, fair enough

    • @_starfarer
      @_starfarer 2 місяці тому +2

      Zed appears to be free and open source unlike Sublime. I also cannot think of another fast graphical editor, so it would be great to have more options.

  • @priapushk996
    @priapushk996 3 місяці тому +21

    Programming, like writing or maths, is not real-time collaborative.

    • @pookiepats
      @pookiepats 3 місяці тому +8

      Exactly - the focus on collaboration features has largely been misguided, often times just straight up goofy and useless

    • @JohnnySacc
      @JohnnySacc 3 місяці тому +17

      That's just not true. I've done lots of pair programming, both in personal and professional work. It sounds pretty neat to be able to work on the same branch at the same time. Saves on merges which saves on CI which saves on time and resources.

    • @pookiepats
      @pookiepats 3 місяці тому +2

      @@JohnnySacc You could also just not use a language that requires a massive build system and unreasonable amount of resources and time to run - JS and Python I'm looking at you.
      Sad state of affairs when my fellow devs like you are now assuming Resource Intensive CI is somehow just a given now.
      "Save on merges..." ...wha?

    • @licriss
      @licriss 3 місяці тому +6

      ​​​@@JohnnySacc agreed, the amount of time I spend sharing control via a video call even when I'm not technicaly pairing dealing with problems with the call connection is a pain so it would be nice for me if there was low setup mechanism to be in the same space with imperceptible lag
      There's also potential for some interesting efficiencies if your working in the same feature but different modules, potentially allowing the LSP to flag ideas concretely to eachother in realtime where you're still building up the interface between modules so the need to explain ideas is low and the conversation can just be more about what your trying to achieve rather than what you just did

    • @Hector-bj3ls
      @Hector-bj3ls 3 місяці тому +3

      ​@@JohnnySaccI agree, being able to properly pair program over a call is awesome. It's not a daily basis thing, buts it's pretty nice.

  • @VoyivodaFTW1
    @VoyivodaFTW1 2 місяці тому

    Did Microsoft buy GitHub solely to give atom the axe? Lmao

    • @DeveloperVoices
      @DeveloperVoices  2 місяці тому

      I think it's more that they bought Github and didn't care what extras it came with. 😁

  • @steveoc64
    @steveoc64 3 місяці тому +2

    Hard disagree on the rust part. Its not going to perform as well as it should, and its going to be a nightmare to maintain and extend in the long term.
    Zed will fade into obscurity

    • @apivovarov2
      @apivovarov2 3 місяці тому

      from high productivity js to low productivity rust….

    • @tommaisey9069
      @tommaisey9069 3 місяці тому +4

      It performs very well - I've used it quite a bit. It's noticably snappier than Emacs, VSCode and others. Not sure if you'd notice the difference against VIM, but then it does have a much richer UI. As for the maintainability piece, you may be right, I cannot say.

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej3384 3 місяці тому +2

    zed is a little too late

    • @pookiepats
      @pookiepats 3 місяці тому +1

      Way too late. And the extensions are coming at a crawl. By the time it’s viable i will have mastered both Vim & Sublime.

    • @JohnnySacc
      @JohnnySacc 3 місяці тому +6

      Fast, extensible, cross platform. Every editor on the market now let's you pick two, zed is the first going for all three.

    • @nonefvnfvnjnjnjevjenjvonej3384
      @nonefvnfvnjnjnjevjenjvonej3384 3 місяці тому

      @@JohnnySacc i think most people will say vscode is fast enough. and jetbrains products actually have 0 latency mode built in so they are really fast too.

    • @howdoiexitvim-sg2xl
      @howdoiexitvim-sg2xl 3 місяці тому

      @@JohnnySacc *ahem* what about NEOVIM

    • @adlex1212
      @adlex1212 3 місяці тому

      @@JohnnySacc They don't seem to go for the extensible part though. Ain't nobody compiling to wasm. Sad, I really like the guy and loved the discussion.

  • @trbry.
    @trbry. 2 місяці тому

    so tired of the mac-peepl doing the mac-peepl thing.

  • @Alperic27
    @Alperic27 3 місяці тому

    frustrating the number of “… anyway.” … in the middle of sentences.

  • @otockian
    @otockian 2 місяці тому

    Zed is the stupidest freaking thing I've ever seen. I don't need a text editor to be fast to be good at coding, what I need is good refactoring tools, discovery, and navigation. Not how fast I can fucking type.

    • @JedRichards
      @JedRichards 2 місяці тому +1

      Zed integrates language servers for every language - the exact same projects/code that gives VS Code its intellisense, navigation and refactoring features.

    • @Arbiteroflife
      @Arbiteroflife 2 місяці тому +1

      I mean it all matters. There’s too many development years into editors at this point that editors have tons of valuable features and the next editor has to compete against that and will have to catch up. Performance and language editing features are all important.