9 ms·
Linux When?
- joshspankit 3y agoThe performance of their website got my attention. People who care about those details and who optimize for fast are my kind of people.
- JohnKemeny 3y ago[flagged]
- pythonaut_16 3y agoIt's a blog post directly on their website. Is it really unreasonable to need to click to the home page for more context?
- melodyogonna 3y agoPeople on the internet expect everything to be spoonfed to them.
- PurpleRamen 3y agoMaybe because it works to often..
- infamouscow 3y agoWhile it's hard to separate them, derision and mockery aren't considered ad hominem insults to vacuous and lazy commentary. When you eliminate all human repercussions for acting like a moron, even if it's as small as feeling bad, one should expect to see more idiocy.
- JoelMcCracken 3y agoKinda wild to me that people who frequent a website that bills itself as a site for news for "hackers" show such a nil-level of ability to comprehend anything themselves.
- infamouscow 3y agoThis website allows extremely vituperative people to make their points without being banned as long as they follow the rules. My account being the primary example. That this website is littered with retarded morons that cannot handle the slightest bit of pure direct argumentation is more a function of the times, where heavy-handed moderation fills in for massive gaps in their vacuous perspective, which in any other situation completely undermines one's understanding of the world outside a pseudo-intellectual bubble. The moderates here do better than any other online, IMO. And I say that knowing the moderators here do not unflag some of my comments because it's ideologically inconvenient to them personally.
- metabagel 3y agoAt the time you posted this comment, there was no link to the home page for mobile devices. Also, on mobile devices it's a pain to edit the URL in the address bar. You could have gone to the About page, but there's no summary. You'd gather right away that this was about an editor, but you'd have to read quite a bit about history, goals, etc. before you find out what differentiates this editor from any other editor.
- pythonaut_16 3y agoFair. I checked the site on my laptop and the logo at the top left easily got me to the homepage that described the editor.
- 12_throw_away 3y agoSome troubleshooting tips: - Move your mouse cursor to the "Zed Industries" icon in the upper-left-hand-corner, then click. - This "hypertext link" will instruct your browser to load the site's root "index.html", sometimes known as a "landing page". - The "landing page" is a great place to start if you're unfamiliar with a site or product! Here, you'll find the following text prominently displayed: "Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. It's also open source." Hope this helps!
- nulld3v 3y agoTo be fair, the logo is like 2px tall on Firefox Android...
- iamnbutler 3y agothat is my bad – someone flagged this before and I forgot to fix it. A quick fix is deploying now!
- Brian_K_White 3y agoSome troubleshooting tips while dispensing dickface advice: There is no such logo. (If there is for you, good for you. Some information for you, different browsers get fed different content, iyt's a new thing that only started around 1993 so I can see how you weren't aware.) Actually there is one, 7000 pages down at the bottom, embedded in the footer and not looking at all clickable. "Hope this helps!"
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- PurpleRamen 3y agoThe logo in the top left leads to the startpage, explaining what zed is: [..]Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. It's also open source.[..] Not sure if I should care, but more fast modern editors are good. But if they only just now got linux-support, then I think they will still need much much love to reach a good shape.
- weberer 3y agoText editor.
- infamouscow 3y ago[flagged]
- melodyogonna 3y ago[flagged]
- genpfault 3y ago> Zed[1] is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter [1]: https://github.com/zed-industries/zed https://github.com/zed-industries/zed
- CooCooCaCha 3y agoI know it’s small thing but it annoys me so much when the blog section of a site doesn’t have a link back to the home page. Seriously, what do people think when designing headers like this? Like wow we should totally link to every other part of our site except the homepage. Because who would want to go there after they found out about a project through a blog post?
- syncsynchalt 3y agoThe logo in upper-left links to zed.dev, if that's what you mean. This is not always great for accessibility (they don't have alt=, title=, or aria-*= attributes on the <a> or <img> tags) but seems to be a common pattern.
- CooCooCaCha 3y agoThe logo doesn’t show up on mobile unfortunately.
- Brian_K_White 3y agoScroll a million pages to the very bottom, and it's the totally not-visually-indicated white logo in the blue footer, it's clickable. I would not have found it or even thought to try to click on it except after reading this claim that it's there somewhere.
- Arnavion 3y ago>Yup, that's a native file dialog, but we don't use GTK in Zed and that clearly is GTK — so, how does that work? You'll find the answer in the companion video in which Mikayla and I dive deeper into this and also touch on the question of whether or not we should use GTK or Qt or something else (spoiler: it's complicated). Unless I missed it, the video doesn't actually answer the question. They talk 38:50 onwards about how they don't want to pull in GTK / Qt as dependencies, rather they just want to be able to read the toolkits' config and render a mimicking UI themselves. Then they show the editor opening a "native" file dialog, but don't actually say how exactly they did it. Anyway, I assumed they would use xdg-desktop-portal, and based on searching the repo that does seem to be the case.
- mikaylamaki 3y agoYep! That's how we did it, with the heavy lifting done by the delightfully named "Aperture Science Handheld Portal Device" crate: https://crates.io/crates/ashpd https://crates.io/crates/ashpd
- tomjakubowski 3y agoSo Zed is using dbus to create and manage the file dialog in a toolkit independent way? Neat
- Arnavion 3y agoYes, xdg-desktop-portal is a standard dbus interface. The interface covers file picker, print, screenshot, screencast, etc. The implementation of the interface (the "backend") is expected to be provided by the desktop environment in some way that makes sense for that DE. So gnome has xdp-gnome, kde has xdp-kde, etc, and there are some like xdp-gtk that are DE-agnostic but toolkit-specific. Backends can implement a subset of the interfaces, and xdp can be configured to try multiple backends in sequence until it finds one that provides the interface that the application wants. Eg xdp-wlr for wlroots-based Wayland compositors only implements compositor-specific interfaces like screencast, so users would chain it with something like xdp-gtk for other interfaces like file picker. Native applications usually use their toolkits' API for showing file picker dialogs etc, and xdp's file picker interface is primarily used by flatpak applications since that is a way for sandboxed applications to read/write outside their sandbox. But it's not impossible for native applications to also use it, as zed is doing. https://flatpak.github.io/xdg-desktop-portal/docs/api-reference.html https://flatpak.github.io/xdg-desktop-portal/docs/api-refere...
- tylerekahn 3y agoI'm curious why Zed chose Blade over wgpu/wgpu-hal. There's a bit of detail here: https://github.com/zed-industries/zed/issues/7015 https://github.com/zed-industries/zed/issues/7015 But I'd be curious to read a longer writeup on the tradeoffs and how they came to their decision.
- mikaylamaki 3y agoPartially because Kvark, who has a long history in graphics programming, was enthusiastic about it, and has similar values of simplicity and effectiveness to our own. Mainly because our renderer is simple enough that we would have preferred to use Vulkan APIs directly, rather than going through wgpu. Blade is a thinner abstraction than wgpu, it's a bit more ergonomic than wgpu-hal, and it already supports our long term platform goals (Linux, Windows, and the web though via WebGL). So far, it's been running flawlessly, and it's been everything else that's the hard part!
- nasso_dev 3y agowgpu (and webgpu more generally) is often presented as a very good choice for a cross platform low level graphics api. but it was designed around safety/security constraints to support the web, sometimes at the cost of performance (my understanding) i heard somewhere this nice example: only big actors like AAA game engines would really benefit from the extra development effort it would take to use an even lower level api like vulkan/dx12 to squeeze the last 10% of performance that wgpu can't get you so if i understand correctly, zed, just like a AAA game engine, wants to squeeze every last bit of performance from the gpu, and so wgpu is "too high level" for it? and blade is "like wgpu, but no design tradeoffs and lower level" so its a better fit? does that mean someday zed might reach for vulkan directly one day? im assuming dx12 is gonna be used on windows anyway? i love kvark's work btw, we need more kvarks
- mikaylamaki 3y agoRoughly yes, though I'd caveat it with the specific application of the GPU: simple, 2D, UI elements. We've already built an abstraction that allows us to fluently build up a design, and then burn it down into a collection of rectangles, paths, images, and such. We're not dealing with particle effects, lighting, 3D models, or anything else that game engines need to consider. As such, it's a lot lower cost for us to use something like Vulkan or DX12 directly. And, in fact, that was the backup plan if we didn't find something like Blade that we where happy with.
- spudlyo 3y agoFrom what I understand Zed is a text editor that is built like a game engine, which I understand is why the marketing copy uses the term "multiplayer" rather than "multiuser". I didn't find other mention of its multiplayer capabilities, which is too bad. Has anyone used it for that purpose, I'm curious as to what the experience was like.
- mikaylamaki 3y agoWe use them every day at Zed for pair programming, we're rather fond of the features :D
- FridgeSeal 3y agoUsed it the other day with my teammate to pair on some stuff, and it genuinely felt magic. We went from never having used it, to digging through their code together in about a minute, and have used it a few times since. Really nice UX.
- jodrellblank 3y ago"multiplayer notepad" goes back 15 years at least - https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=multiplayer%20notepad&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu... it was used back with a popular website which opened a text document and anyone viewing could type, but I can't remember the name. That became a thing in Google Docs, Microsoft Office, Floobits, and lots of self-hosted and cloned sites.
- gliptic 3y agoIRC was what was initially called multiplayer notepad.
- spudlyo 3y agoYou may be thinking of Hackpad from 2014, which later was bought by Dropbox and morphed into Dropbox Paper. I guess I was thinking that a multiuser IDE is substantially different than a multiuser text editor. I did notice that Zed is by the same team that brought us tree-sitter, which is a wonderful innovation that many text editors are now using to good effect. I was wondering if were powerful enough for one person to be debugging some code in the same session that another person was refactoring.
- andy_xor_andrew 3y ago> On macOS, for example, Zed makes direct use of Metal. We have our own shaders, our own renderer, and we put a lot of effort into understanding macOS APIs to get to 120FPS. So they are taking the exact opposite approach of Electron (VS Code). In my mind, if you're someone who types in HN comments in a rage because your text editor (VS Code) eats up 200+ MB ram, you don't get to cry about Zed not being supported on Linux from day one, because you can't have your cake and eat it too - if you want it on your platform, you gotta wait for the shaders to be written.
- jonhohle 3y agoOr… use one of the existing cross platform toolkits that have existed for decades. Text Editors, traditionally, did not require shaders to run or be performant, and not require entire systems worth of RAM.
- MR4D 3y agoOut of curiosity, how many of them run at 120 FPS? (honest question - I've never looked into it myself)
- forgotpwd16 3y agoThis is the first time I see FPS mentioned for a text editor. Is this something that matters or just an pointless metric utilized as selling point?
- SomeRndName11 3y agoWell it may have effect on ergonomics. Some people claim they cannot use 60Hz monitor after trying 144hz.
- NekkoDroid 3y agoWell, that is usually refering to some form of "simulated fluid motion", not new characters appearing and disappearing. The only case where that kinda fluid motion would matter is when you have text scrolling by at semi-fast speeds.
- zozbot234 3y agoIf you care a lot about Linux support, Lapce is a very promising alternative. Much like Zed, it also is written in Rust with native GPU-based rendering and a shared focus on enabling integration with modern IDE technologies such as LSP servers, tree-sitter parsers and DAP for debugging.
- iamnbutler 3y agoyou can build zed for linux, today :) https://github.com/zed-industries/zed/blob/main/docs/src/development/linux.md https://github.com/zed-industries/zed/blob/main/docs/src/dev...
- resource_waste 3y agoI didn't realize this was basically an ad for an IDE. I thought this was some component. Lol, yeah if your IDE doesnt work on Linux, the problem is your IDE, not linux.
- beeboobaa3 3y agoWill it run on iGPU?
- paulcarroty 3y agoYep, just tested it few days ago.
- mgaunard 3y agoAtom, like most recent editors like VS Code etc., are just clones of Sublime Text with just lots of bloat and JavaScript tech. I'll just stick to Sublime Text.
- bovermyer 3y agoYou're aware that Atom is not the subject of the article, right?
- bioneuralnet 3y agoI believe some of the Zed folks invented Atom back in the day. But yes, it doesn't seem like a highly relevant comment...
- mgaunard 3y agothe article doesn't tell me what Zed is. If I look around, it just says it's the new text editor from the authors of Atom.
- FireBeyond 3y ago> doesn't tell me what Zed is. If I look around, it just says it's the new text editor Huh. Did you mean to disagree with yourself the very next sentence?
- dethos 3y agoSounds great. I'm eager to try it, when a release with early Linux support is published. Keep it going.
- Tubbe 3y ago`curl https://zed.dev/install.sh https://zed.dev/install.sh | sh`
- prophesi 3y agoWhat's a valid Discord invite for Zed Linux? It seems like the link on the downloads page[0][1] needs to be updated. [0] https://zed.dev/download https://zed.dev/download [1] https://discord.com/channels/869392257814519848/1204679850208657418 https://discord.com/channels/869392257814519848/120467985020...
- eikenberry 3y agoIf Apple had just adopted the Vulkan standard instead of going off with their own proprietary graphics API this would have been a non-issue. Smacks of Canonical and their repeatedly doing one thing while ignoring the rest of the community standardizing on something else.
- mikaylamaki 3y agoUnfortunately, the renderer is only one step in supporting an alternative platform. Even if we could have used Vulkan on every platform, the windowing APIs are completely different and those do most of the things we like our code editors to support, like typing.
- cpuguy83 3y agoMetal predates Vulkan. But also I'm pretty sure Apple doesn't care if an app is portable.
- skohan 3y agoIn fact they probably care that it's not easily portable
- jauntywundrkind 3y agoBut AMD's Mantle predates both & was proposed & what lead to Vulkan. Apple saw the fork in the road & quickly scrambled to build their own thing. I'm kind of tired of this contention cropping up again and again. Technically true but insufficient & obfuscating more than revealing.
- cpuguy83 3y agoSorry no. Vulkan literally did not exist. That's not obfuscation. It didn't even exist. Had Apple adopted Mantle then where would they be now? Apple did what they do, took ownership of their own stack.
- jauntywundrkind 3y ago
- mhaberl 3y agoSerious question: I am looking at the measurements of speed on the landing page between Zed and the other editors, and they don't seem drastic. Do you actually feel the difference when typing?
- bioneuralnet 3y agoCompared with VSCode, absolutely. VSCode has a range of responsiveness from "good enough" to "oh right, this is Electron". Zed is both faster and more consistent. Sure, we're talking 10s of milliseconds, but it's surprisingly noticeable. Can't speak for other editors. I'm becoming a true convert, though I occasionally must drop down to a termianl for advanced vim features. That's high praise coming from me, as I have a high bar for adopting new tools.
- WuxiFingerHold 3y agoAgree with the "hanging" and general responsiveness issues with VS Code, but typing (when VS Code is not taking a nap)? No way. Pure typing is not distinguishable.
- WuxiFingerHold 3y agoNo. However, VS Code sometimes freezes shortly. Maybe some GC stuff going on. But when both VS Code and Zed have finished starting (Zed of course faster) and you start typing, you don't feel a difference (unless you're on a very slow computer I guess). At least I don't. Same with Neovim. I don't get this. There are so many things that Zed does better than VS Code, but typing latency is the least noticeable and interesting.
- riffic 3y agoam I supposed to know what zed is?
- Longhanks 3y agoWhy bother commenting instead of clicking the link and in the main navigation bar pressing the very clearly visible "ABOUT" button?
- metabagel 3y agoIn all fairness, and I already knew what Zed was, the About page is a long read to find out anything more than that Zed is an editor. (As in, it says right away that they are building an editor, but then there is a long-winded discussion about history, goals, etc.)
- jasaldivara 3y agoIt's just common online courtesy to add to the title a short description of the project like (Zed, code editor) to save users some valuable time.
- jodrellblank 3y agoAnd it's in the HN guidelines not to: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html > please use the original title, unless it is misleading or linkbait; don't editorialize. > If the title includes the name of the site, please take it out, because the site name will be displayed after the link. > Please don't do things to make titles stand out, like using uppercase or exclamation points, or saying how great an article is. It's implicit in submitting something that you think it's important.
- deleted 3y ago[deleted]
- myaccountonhn 3y agoI really appreciate how Zed tries to tailor make and ensure their app looks and feels native on Linux. One thing that scares me with it though is the lock in of the multiplayer features. I can see it forcing me to use it and not my preferred editor, because other people use Zed. Would love it if we were not only platform independent but also editor independent regardless of social pressure.
- vetrom 3y agoI am generally wary of anything that proposes to monetize the process of doing my core work. I recognize that that attitude makes marketing and selling a product to developers difficult, though. If they changed from a CLA to a DCO I'd feel less uneasy about it, but but is that something their investors and business can permit?
- myaccountonhn 3y agoWhat I do is donate monthly to the projects I like. I'd happily pay a fixed one-time fee for them though.
- skohan 3y agoI use Zed as a daily driver, and I haven't once used the collaborative features
- yencabulator 3y ago$ grep -A 999 Disable .config/zed/settings.json // Disable all genAI crap. "features": { "copilot": false, }, "show_copilot_suggestions": false, "assistant": { "version": 1, "enabled": false, "button": false, }, // Disable all "social coding" features. "calls": { "share_on_join": false, }, "collaboration_panel": { "button": false, }, "chat_panel": { "button": false, }, "notification_panel": { "button": false, }, }
- adastra22 3y agoI had to click through three links just to find out what Zed is.
- toastercat 3y agoI tried it out briefly, and it seems promising so far! Zed reminds me a lot of Lite [1] and its community successor Lite-XL [2], which are also "built like a videogame" using a custom renderer and ui engine. [1] https://github.com/rxi/lite https://github.com/rxi/lite [2] https://github.com/lite-xl/lite-xl https://github.com/lite-xl/lite-xl
- forgotpwd16 3y ago>"built like a videogame" A term coined Casey Muratori for this is immediate-mode GUIs or else IMGUI programming[1]. Hence the name for the very popular Dear ImGui project. GPUI used for Zed is mentioned as hybrid immediate and retained mode UI framework[2]. [1]: https://caseymuratori.com/blog_0001 https://caseymuratori.com/blog_0001 (fist post on his blog!) [2]: https://github.com/zed-industries/zed/tree/main/crates/gpui https://github.com/zed-industries/zed/tree/main/crates/gpui
- gostsamo 3y agoWhat is the accessibility story with Zed? I have a vague memory that atom had none of it.
- mikaylamaki 3y agoRight now: mixed. We provide both user defined themes and theme overrides that let people color-correct things as they need, we have a strong cultural focus on keyboard accessibility for all UI elements, you can increase or decrease the font size in the editor and the UI, and we have strong support for IME on macOS and will be extending that to Windows and Linux. However, our accessibility to screen readers is non-existent. I have ambitions to incorporate AccessKit but it's a bit of a project due to the lack of a clear guide on how to implement it. That said, I already made some progress based on the old egui PR and we should have all the pieces we need once I have time to actually do it. We also lack any way to tab through our UI elements to select each piece in turn. This one I have yet to do any thinking on, particularly as the tab key already does a lot of work in a code editor. I'm sure there's prior art here, I just haven't looked at it yet. So, piecemeal and insufficient for many cases, usable for some others. I'm very interested in improving this but we still have a lot to do.
- gostsamo 3y agoThanks, will keep an eye on the developments there. A note, the tab key is not all that important. f6 for jumping the different parts of the screen and the arrow keys for neighbouring elements could be a good substitute for most cases. Add a few key bindings and tabless is not an issue any more.
- mikaylamaki 3y agoThat does seem more usable for this use case. I'll keep it in mind, thank you!
- OptionX 3y agoStill baffled by the idea of make a code editor not only single OS but targeting mac.
- deleted 3y ago[deleted]
- NoraCodes 3y agoOne question I don't think this post answers - why not use `winit`?
- mikaylamaki 3y agoSimply put: historical artifact and we want to own the stack. Zed was first created when these abstractions where a lot younger, and a text editor needs certain features, like IME support, that weren't as common back then. Further, owning the stack we're built on gives us the flexibility to change the framework whenever and however we want, which we value more than the additional work it takes to re-implement things ourselves.
- NoraCodes 3y agoMakes sense, thank you for the thorough answer!
- timvdalen 3y agoFrom how they've been talking about Zed (on The Changelog, among other places), I expected to be wowed on my first open of the application, but the experience kind of fell flat for me. I might try it again when they have some better onboarding, though!
- the_duke 3y agoIf you use Nix(OS), zed is already in nixpkgs-unstable: `nix run nixpkgs#zed-editor`. I found a few issues, but overall it already works quite well and is very fast. It might even get me to give up on Neovim!
- tfeldmann 3y agoZed has quickly become my daily driver for mostly python and some rust development. Awesome editor.
- FullGarden_S 3y ago> and we put a lot of effort into understanding macOS APIs to get to 120FPS If its ultimately a text editor with dead plain UI, why not simply stick to retained mode GUI and chill? I don't know how much of disk space and ram this written in Rust® text editor project demands to just build it but since its Rust™, achieving cross-platform will probably be several-folds more work than it would be in C, I applaud the devs for their work. I never tried Zed(yet) and keeping the support for vast programming languages aside, I would like to check out how this editor handles multiple workspaces and provide text editing features. I'm an Emacs guy and I have a feeling that this is not for me because even if its fast, it doesn't make me productive if I'm not using my emacs/vim key bindings. I might be wrong.
- jenadine 3y ago> since its Rust™, achieving cross-platform will probably be several-folds more work than it would be in C, Why would you think that? Rust is a more expressive and powerful language than C. If anything, I'd say it would be easier. Platform APIs are not all in C either.
- FullGarden_S 3y ago> Why would you think that? FFI? I don't recall stating Rust is less expressive than C, the language looses its notorious "memory safe" feature as unsafe is called often when performing low level sys calls. > Platform APIs are not all in C either. unless you are absolutely talking about web development, this is not true at all.
- aorth 3y agoThis looks rad. An amazing engineering effort for such a niche problem. As a Linux user who writes code, I'm excited, but I can't help wondering: what is the business model of Zed Industries?
- maherbeg 3y agoI switched to using Zed recently and quite like it. There are definitely teething problems dealing with all of the different user and tooling configurations out in the wild, but it does feel significantly faster than VSCode. I'm only missing a few things from VSCode (like inline test runners and bazel plugins). I'm looking forward to their take on dev containers / remote dev too. I hope they survive as a company!
- steakscience 3y agoIncredible