Zed Decoded: Linux When?
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
it was trully impressive the little time between open sourcing zed and usable editor on linux. good job zed community
it's truly weird that the time between open sourcing zed and getting it to work on linux wasn't zero
@@ruroruro why?
@MCNaydex no its not. It's been a really long time than it should be !
@@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.
Cross-platform UI in Rust is a really interesting topic!
IIRC they use egui for the UI.
Thank you Dmitry!
Good job Zed team! Ever since it got announced; i have been awaiting the executable for Linux :)
absolutely brimming with confidence in this project
You guys are amazing, keep it up!
I can't wait for the Linux release! 😭 Thanks for the update!
Awesome. Thanks for this video.
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).
so excited!
Can't wait for the Linux version to be released
this series makes me wanna learn rust so bad
@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.
Hell yeah!!
love the series!
is the terminal you are using in the video ghostty?
Yes, it is!
I wonder how they got it. I thought it wasn't even available yet? Maybe they know the dev...?
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
@@Onyx-it8gk Not only did he get it, he has also contributed to it
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.
great job! already using it from linux
!Linux When!
¡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...
The slow compilation time is result of the trade off for the safety rust brings. How people not get this 🤦🏻♂️
@@weiSane i know. But I rather.prefer languages like Go or D which are esier to use and fast to compile!
Also the contributors did a fantastic job in fixing the dead key issue in just a couple of days!
@@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.
@@weiSane safety checks dont take that much time, most of the time is spent on llvm and linking
BSDs wen?
Can some one explain to me what is Zed,
Thanks
Another code editor. It's written in Rust to bring all the fanboys on board.
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.
Please remove the annoying caption 🤦.
They will turn on themselves who needs caption 😐
Zed's dead baby Zed's dead
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.
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!
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.
@@andheriumHe'll be whatever he wants to be, just like the strong and brave woman in the video.
window when?
But why?
Naa. Windows gets no love. 😊
I am gonna go with hmmmm Never?😁
probably after they proper linux support
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 :)
No.