Zed Decoded: Linux When?

Sdílet
Vložit
  • čas přidán 6. 06. 2024
  • This is the third video in our Zed Decoded series, in which we take a close look at how Zed works and how it's built.
    This is the companion video to a full blog post that you can find here 👉 zed.dev/blog/zed-decoded-linu...
    In episode, Thorsten and Mikayla talk about Zed on Linux. What's the current state of Zed on Linux, what did we have to do to make it work on Linux, what were the tricky parts and what's still left to do.
    Chapters
    00:00 Introduction and Testing Zed on Linux
    03:03 Preparing Zed for Cross-Platform Support
    08:22 Challenges of Integrating with Platform-Specific APIs
    14:40 Working with Different Windowing Systems on Linux
    22:20 Differences in the Renderer between macOS and Linux
    30:35 Implementing the Blade Renderer
    33:40 Challenges of Creating a Native UI for Linux
    36:06 Rendering Process and Shaders
    45:19 Balancing Platform Integration and Customization
    49:57 Next Milestones for the Linux Build
    52:46 Community Contributions and Progress
    57:30 Cloning and Building the Linux Build

Komentáře • 56

  • @MCNaydex
    @MCNaydex Před měsícem +37

    it was trully impressive the little time between open sourcing zed and usable editor on linux. good job zed community

    • @ruroruro
      @ruroruro Před měsícem +5

      it's truly weird that the time between open sourcing zed and getting it to work on linux wasn't zero

    • @MCNaydex
      @MCNaydex Před měsícem +2

      @@ruroruro why?

    • @khanra17
      @khanra17 Před 29 dny

      @MCNaydex no its not. It's been a really long time than it should be !

    • @PaezRice
      @PaezRice Před 27 dny +1

      @@ruroruro Reading the article might make you reconsider.
      NTL it might be desirable to have the Zed team hire a full time Linux dev some day.

  • @arubaga
    @arubaga Před měsícem +17

    Cross-platform UI in Rust is a really interesting topic!

    • @PaezRice
      @PaezRice Před 19 dny

      IIRC they use egui for the UI.

  • @romaninsh
    @romaninsh Před měsícem +14

    Thank you Dmitry!

  • @SamuelGirma-ko3fl
    @SamuelGirma-ko3fl Před 29 dny +2

    Good job Zed team! Ever since it got announced; i have been awaiting the executable for Linux :)

  • @DeveloperOfGames
    @DeveloperOfGames Před měsícem +3

    absolutely brimming with confidence in this project

  • @rtx_co3644
    @rtx_co3644 Před měsícem +2

    You guys are amazing, keep it up!

  • @Onyx-it8gk
    @Onyx-it8gk Před 29 dny +1

    I can't wait for the Linux release! 😭 Thanks for the update!

  • @ffunktor
    @ffunktor Před měsícem +1

    Awesome. Thanks for this video.

  • @Caellyan
    @Caellyan Před 27 dny +2

    When targeting GNOME, just add 4px padding and 100% rounding to everything and you're right on track. 🙃
    I completely disagree with your Wayland/X11 stance - rust probably has it better than C++, but in my experience, X11 has SO MANY weird edge cases you have to deal with which leads to 10x the amount of code while Wayland has maybe 2 protocols you need to support and it's straightforward to do (if supported).

  • @tandlose
    @tandlose Před měsícem +1

    so excited!

  • @jackelofnar
    @jackelofnar Před 17 dny +1

    Can't wait for the Linux version to be released

  • @achrafash
    @achrafash Před měsícem +6

    this series makes me wanna learn rust so bad

    • @dfjab
      @dfjab Před 29 dny

      @achrafash I can recommend "Learning rust by writing entirely too many linked lists", it is *such* a great guide and you write actual code! (Its pretty funny too) just to dip your toes in. But as always, the best way to get started is to just do a project in it and stumble as you go.

  • @beneustace4236
    @beneustace4236 Před měsícem +2

    Hell yeah!!

  • @brivism
    @brivism Před měsícem +1

    love the series!
    is the terminal you are using in the video ghostty?

    • @thorstenball5773
      @thorstenball5773 Před 29 dny +1

      Yes, it is!

    • @Onyx-it8gk
      @Onyx-it8gk Před 29 dny

      I wonder how they got it. I thought it wasn't even available yet? Maybe they know the dev...?

    • @brivism
      @brivism Před 29 dny

      There is a private beta. You can sign up and get into the waiting list. From time to time Micheal opens up next invite wave and picks new batch from the list (I think randomly). It all happens on discord

    • @andherium
      @andherium Před 15 dny

      @@Onyx-it8gk Not only did he get it, he has also contributed to it

  • @RaresCelTare
    @RaresCelTare Před 6 dny

    41:44
    When it comes to distributing, I'd say it'd be better if you guys didn't distribute any binaries at all.
    Anyone can compile from the releases, but also, they can get a binary installation through nix package manager (nixOS), which can be installed on other linux distribution, even macOS.
    And compared to flatpaks and appimages, things installed through nix don't incur the containerization slowdown penalty while also working on all* distributions and not needing to package for each package manager(apt, dnf, pacman, apk, portage, xbps and so on and their respective linux distributions).
    In any case, distributions maintainers will package zed, you guys don't need to worry for such things.

  • @samucancld
    @samucancld Před 24 dny

    great job! already using it from linux

  • @wolfisraging
    @wolfisraging Před měsícem +1

    !Linux When!

  • @pablodenapoli1667
    @pablodenapoli1667 Před 20 dny

    ¡Great work! Zed seems to already work quite well in Linux ! So I hope that soon there is an official alpha release so that more people gets involved. The only drawback that I see is that the performance is not as good as one would hope (tested in a machine with 8M of RAM) and the binary takes a lot of time to compile and is somewhat over-bloated(¿ a binary of 747M just for editing a couple of files?). For some use-cases, the collaborative features of Zed or the IA are not needed. So I would suggest to allow to build a light-weighted version of it without this features. Or move them to extensions. A shorter compilation time would mean an easier development and hence more rapid progress. I see that this is a great draw-back of rust. Rust programs usually take too long to compile...

    • @weiSane
      @weiSane Před 12 dny +1

      The slow compilation time is result of the trade off for the safety rust brings. How people not get this 🤦🏻‍♂️

    • @pablodenapoli1667
      @pablodenapoli1667 Před 12 dny +1

      @@weiSane i know. But I rather.prefer languages like Go or D which are esier to use and fast to compile!

    • @pablodenapoli1667
      @pablodenapoli1667 Před 12 dny

      Also the contributors did a fantastic job in fixing the dead key issue in just a couple of days!

    • @weiSane
      @weiSane Před 12 dny +1

      @@pablodenapoli1667oh I get you now. I thought you were only mad at it for the sake of it without knowing why it’s like that. Yes Go and other languages are great. Fast compilation should actually be a feature 😂but then sometimes it’s understandable when compromises have to be made.

    • @urisinger3412
      @urisinger3412 Před 4 dny +1

      @@weiSane safety checks dont take that much time, most of the time is spent on llvm and linking

  • @RaresCelTare
    @RaresCelTare Před 6 dny

    BSDs wen?

  • @user-ie8in1un8e
    @user-ie8in1un8e Před 21 dnem

    Can some one explain to me what is Zed,
    Thanks

    • @adammontgomery7980
      @adammontgomery7980 Před 18 dny +1

      Another code editor. It's written in Rust to bring all the fanboys on board.

    • @kirillvoloshin2065
      @kirillvoloshin2065 Před 11 dny

      code editor, originally made for macOS. feels very fast and supports vim mode out of a box, also supports keyboard shortcuts from some code editor, for example, vscode.

  • @khanra17
    @khanra17 Před 29 dny +3

    Please remove the annoying caption 🤦.
    They will turn on themselves who needs caption 😐

  • @neunistivlija
    @neunistivlija Před 22 dny +1

    Zed's dead baby Zed's dead

  • @InfinityN
    @InfinityN Před 14 dny

    For the love of god, use SSDs. GNOME can suck it, if you force CSDs Zed will look out of place on most Linux installations. It won't look native.

  • @jonkoops
    @jonkoops Před 28 dny +2

    Please don't include captions like this, there is a reason why CZcams has it's own closed-captions system, and if you do please also make sure to use the correct terms rather than guessing. Otherwise great video!

    • @andherium
      @andherium Před 15 dny

      They provided such a good video and that's all you had to comment about? Don't be an asshole. Otherwise you're good guy.

    • @Reichstaubenminister
      @Reichstaubenminister Před 10 dny

      ​@@andheriumHe'll be whatever he wants to be, just like the strong and brave woman in the video.

  • @dhrubrawat9316
    @dhrubrawat9316 Před měsícem +4

    window when?

    • @raunakchhatwal5350
      @raunakchhatwal5350 Před měsícem +7

      But why?

    • @hyltoncarboo8303
      @hyltoncarboo8303 Před měsícem +4

      Naa. Windows gets no love. 😊

    • @mohitkumar-jv2bx
      @mohitkumar-jv2bx Před měsícem +1

      I am gonna go with hmmmm Never?😁

    • @matrioxplayz1607
      @matrioxplayz1607 Před 24 dny +1

      probably after they proper linux support

    • @NotAFoe
      @NotAFoe Před 22 dny

      I rarely use windows but I've just compiled it from source for it. Works well so far.
      Edit: hehe compiled zed from source for windows :)

  • @Reichstaubenminister
    @Reichstaubenminister Před 10 dny

    No.