12 ms·
We Have to Start Over: From Atom to Zed
- verticalscaler 3y ago[flagged]
- jna_sh 3y agoGenuine question, why are you posting this?
- verticalscaler 3y ago[flagged]
- SahAssar 3y agoWhy did you comment this? If a actual commenter replied with some of those points there could be a back-and-forth discussion about it, but you just contributed nothing.
- benbristow 3y agoDoesn't work on Windows or Linux. Remind me when it does.
- practicalrs 3y agoI asked Thorsten about Windows support today, he said "Zed, you mean? After Linux, I'd say.". So there is some plan :)
- sapiogram 3y ago> So there is some plan :) How does that follow from the rest of your comment?
- mananaysiempre 3y agoLogically it doesn’t, but in actual good-faith communication people usually follow Grice’s relevance maxim[1]: the points they mention are relevant to the conversation and the point they’re making. Thus, if neither Linux nor Windows support are planned, and the question is about Windows support, saying that Windows will come after Linux would be (vacuously) true, but the mention of Linux would be irrelevant. (Notably, communication coming out or through legal counsel cannot be assumed to be good-faith, the premise of the court system being that the best we can achieve is two bad-faith adversaries and a neutral arbiter. But that’s not what we are dealing with here.) Pedantry aside, I think I remember one of the developers saying they do plan on Linux support at some point in one of the previous Zed threads here. There were also some “small team” and “laser-focused” and “best possible experience” in that comment, but they did say outright they were planning on it. Though plans change, I think that’s the best we could hope for at this point, as I doubt even they themselves know more about their future. [1] https://en.wikipedia.org/wiki/Cooperative_principle https://en.wikipedia.org/wiki/Cooperative_principle
- misternugget 3y agoHey! I'm the mentioned Thorsten. Linux is actively being developed. Here's a PR from 2 days ago that shows file-opening in Linux starting to work: https://github.com/zed-industries/zed/pull/7852 https://github.com/zed-industries/zed/pull/7852 And so far Linux support has been a big community effort. I think more community member contributed to Linux support than Zed teammates. Very cool to see. So: Linux is in the works. Windows will probably happen after that, or if someone in the community wants to emulate what the Linux users are doing and start before that.
- tiffanyh 3y agoSIMD I wonder if Zed uses SIMD, to read in text from a file or write out text to the display. Mitchell recently wrote about how he got a massive reduction in latency, by implementing SIMD in his terminal app (which is analogist to an editor) https://mitchellh.com/writing/ghostty-devlog-006 https://mitchellh.com/writing/ghostty-devlog-006 https://hachyderm.io/@mitchellh/111919642467789362 https://hachyderm.io/@mitchellh/111919642467789362
- ben-schaaf 3y agomemcpy, strchr, etc. use SIMD. The rust HashMap uses SIMD. LLVM can and will auto-vectorize. So yes - of course Zed - "uses SIMD", but it's not a tool you can throw at everything to make it faster.
- timvisee 3y agoAnd auto vectorization isn't all that common. In many cases you need to structure your code in a certain way, in which case you're better off doing it yourself if you want the vectorization benefit.
- taminka 3y agodespite what the article claims, clang and gcc are acc very good at vectorising code, and intel, arm, etc have entire teams dedicated to improving vectorisation in modern compilers
- tiffanyh 3y agoHow do you explain the before/after speed improvement then?
- taminka 3y agoi'm not saying that manually writing simd assembly or intrinsics is useless, it's very often necessary, i'm just disagreeing w/ the statement > Unfortunately, compilers are notoriously bad at autovectorization and with the exception of relatively trivial loops, compilers rarely autovectorize effectively. from the article
- instagary 3y agoI tried Zed, and it felt similar to VSCode. I know there are multiplayer features that are better than live share, but on the surface, I needed convincing to switch. I would be more inclined to use Zed if it could displace XCode. It pains me to use it from deleting derived data or cleaning the build folder to random crashes. Contrasting the DX to Android Studio, it's night and day. I always wanted an Android studio-like experience for iOS development.
- pm 3y agoXcode and Android Studio have plenty of warts. What is it about Android Studio's experience that you find lacking in Xcode?
- instagary 3y agoPart of me thinks it could be related to our project using CocoaPods. I've always appreciated how nicely Gradle worked to install dependencies, and the DX always lacked in Xcode. SPM works similarly, but I have yet to try it on a medium-sized codebase. So, my frustration could be related to CocoaPods. Apart from package managers, I like the auto-import features for frameworks in Android Studio. As well as the "fix it" UX, which is similar to VSCodes. Having an integrated terminal is something Xcode still lacks, and maybe a better UX than a Plist to configure projects; I know XcodeGen/Tuist and other tools exist, but something built-in would be nice for fast project config.
- jwells89 3y agoFrom personal experience, SPM is much smoother in moderately complex projects. Gradle (and to a lesser extent, Android Studio) drives me a special kind of crazy, especially when a project has sat for a while and Gradle updates have accumulated and Gradle version compatibility of dependencies has diverged. This is somewhat exacerbated by the need to import so many libraries in Android projects. My Mac/iOS projects have between a fourth and sixth as many dependencies as their Android counterparts. CocoaPods though… ugh. Horrible. Was thrilled to part ways with it several years ago.
- 3y ago
- torlok 3y agoHad a look at the About page, and the live coding feature does sound useful. I'm sure the guys are excited; it's a fun project. You get to write algorithms, optimise performance, and do GPU programming. But who needs another text editor that will probably never reach feature parity with Vim and a terminal multiplexer.
- peoplefromibiza 3y agozed is actually very fast though
- v3ss0n 3y agoOnly works on Mac Big no no
- egze 3y agoI actually prefer Mac only apps. It usually means the experience is way more polished.
- loloquwowndueo 3y agoUnless you don’t own a Mac.
- ivancho 3y agoEven more so then. Simplify, simplify, simplify!
- littlestymaar 3y agoMac-only apps come with additional security benefits on Windows and Linux too: there's no safer software than the software you cannot run.
- sofixa 3y ago
- 2809 3y ago[flagged]
- config_yml 3y agoI mean we are on HackerNews after all, not on MbaNews. And there‘s some great hackery on this project.
- diggan 3y agoYeah, who needs more editors after ed already solved this problem? Good thing problems usually get solved once and then you can never improve on top of that, then I'd have to switch editor like once every decade or something.
- josh-sematic 3y agoHard agree. Ed is the standard text editor for a reason. https://www.gnu.org/fun/jokes/ed-msg.html https://www.gnu.org/fun/jokes/ed-msg.html
- nixpulvis 3y agoGreat interview! Love how much thought is being put into what you “gold-plate”. I’ve always felt that my best work comes around on round two (or three or four…). Curious what you are planning for the ability to script the configuration? I haven’t played with zed much yet; is it possible today? Would something like Neon [1] help bridge the gap from VSCode and old Atom users? [1]: https://github.com/neon-bindings/neon https://github.com/neon-bindings/neon
- scop 3y ago> This second is the most dangerous system a man ever designs. When he does his third and later ones, his prior experiences will confirm each other as to the general characteristics of such systems, and their differences will identify those parts of his experience that are particular and not generalizable. The general tendency is to over-design the second system, using all the ideas and frills that were cautiously sidetracked on the first one. - Brooks, Mythical Man Month It is always interesting to see v2. I have witnessed cases where they are catastrophic due to feature overload but also cases where they are phenomenal because they are streamlined and lean. I also wonder, with all the tooling available now at least in the space of web apps, if this quote notion of danger applies as much to v1s as I have seen v1s remarkably bloated these days. I often have to purposefully seek out tools that do less.
- p1esk 3y agohelp bridge the gap from VSCode and old Atom users I went from Atom to Pycharm to Vscode. Both transitions were fairly easy. Though I’ve never had any complex configurations.
- MR4D 3y agoFantastic interview where you really get into the mind and mindset of the developers for how they approach development from many different angles. Highly recommended. I only have one disagreement with them. . . > the perfect name for a text editor in Zig is already taken: Zed No, it’s “Zag”. ;)
- Terretta 3y ago> I only have one disagreement with them. . . > > the perfect name for a text editor in Zig is already taken: Zed > No, it’s “Zag”. ;) Except that `zed` contains `ed`, precursor to `ex`, `vi`, and `edlin` yet still around: `ed` is a line editor for Unix and Unix-like operating systems. It was one of the first parts of the Unix operating system that was developed, in August 1969. It remains part of the POSIX and Open Group standards for Unix-based operating systems, alongside the more sophisticated full-screen editor `vi`. https://en.wikipedia.org/wiki/Ed_(text_editor) https://en.wikipedia.org/wiki/Ed_(text_editor) While `ag` (the silver searcher) is fantastic, Zed's more about editing code than searching code: https://geoff.greer.fm/ag/ https://geoff.greer.fm/ag/
- monkmartinez 3y agoExcept that "Zag" would be at least 3x awesomer[0] as defined by things that are awesomer. [0]https://en.wiktionary.org/wiki/awesomer https://en.wiktionary.org/wiki/awesomer
- euroderf 3y agoed just had a release and nowhere can I find release notes. This is depressing, considering that ed is the linchpin of the contemporary I.T. environment.
- svat 3y agoAssuming you mean GNU ed (which is the one that has had a recent release): https://fossies.org/linux/ed/ChangeLog https://fossies.org/linux/ed/ChangeLog (seems to be a web version of the file `ed-1.20.1/ChangeLog` within the ed release itself).
- cjk 3y agoI only wish they’d realized it was time to start over before unleashing the cancer that is Electron upon the world.
- deleted 3y ago[deleted]
- paxys 3y agoI wish developers would break out of the silicon valley bubble and realize that the majority of their potential userbase – including technical users – are on Windows and Linux. Heck that's the entire reason Atom (and them VS Code) got popular. No one cares about the nanoseconds of performance you are able to optimize. Working across all my devices and development environments (including the web) is table stakes for all software today.
- projektfu 3y agoThey do care about latency, and I credit these developers for having a goal to minimize it. VS Code isn't bad but when regular Visual Studio changed its design like 10 years ago, latency and lag went through the roof. However, the tech stack itself isn't the solution to latency. Doing an unbounded operation before responding to input will cause it, so will overusing memory and/or cache.
- smoldesu 3y agoYou're right, and it's weird to hear them dunk on Atom when it had so many de-facto features Zed still lacks. They're very proud of their technical stack and their performance, but it feels more like they're defending the cathedral to discredit the bazaar. It's their call, but I feel like I've seen this story play out the same way you describe hundreds of times. I'll never forget when the warp.dev people came to HN looking for feedback and got torn to tatters by the community. A single-platform POC editor is cool, but not really a functional replacement (or even comparison) to what Atom did and the community it garnered. I'm glad they're making what they want, but they're absolutely trapped in bubble-vision afaict.
- angryguy555 3y ago[flagged]
- digdigdag 3y agoBefore anyone jumps on a new text editor band wagon, just a note on the license they have you agree to in using it: "Customer Data consisting of User content created while using the Solution is classified as "User Content". User Content is transmitted from Your environment only if You collaborate with other Zed users by electing to share a project in the Editor. [...]Zed's access to such User Content is limited to debugging and making improvements to the Solution." No commentary from me. Come to your own conclusions.
- __jonas 3y agoI would like some commentary from you, sounds very reasonable to me, I don't understand what the problem is. Of course if you choose to share your project with others for collaboration, the content of that project is transmitted from your machine, what else would you expect? How would it work otherwise?
- makeitdouble 3y agoI didn't get it at first, but as I read it the last "Zed" is not the editor but the company. Basically the Zed company also gets access to the code you're sharing with other users.
- dullcrisp 3y agoIn other words, “when you use our servers your data will be on our servers but we’ll only access it when we’re debugging our servers.”
- mountainriver 3y ago“And improving our solution” so full access
- wrasee 3y ago“And when we suffer a data breach (sorry about that)”.
- 3y ago
- shubhamjain 3y agoI used Zed for a while. The biggest performance improvements I noticed, compared to VS Code, were in start-up times and the opening of files. Sure, Zed feels snappy in those areas, but I feel VS Code is simply not that bad speed-wise when it comes to everyday coding. Especially, in the era of M1 Macs. Zed may win the battle in the longer term, but I feel slow performance has to truly annoy the fuck out of the user to convince them to make the switch. Right now, I am sticking with VS Code.
- bihla 3y agoFor our team, VS Code is reaching that point. The Macbooks can’t keep up with VS Code’s decay. Unfortunately Zed lacks good defaults (like a way to change tabs without the mouse) and certain vs code features like snippets. Makes it difficult to transition a team which has been dependent on Vscode and which has absolutely no interest in spending our days configuring tools
- dewey 3y agoAre you running a lot of extensions or giant file sizes or how are the computers not keeping up with VS Code?
- satvikpendem 3y agoI've witnessed both scenarios, yes. In contrast, vim simply works.
- mountainriver 3y agoThe ecosystem around VScode is so hard to beat. I found their AI features far more limited than what I have available in vsc. Community usually wins
- the_gipsy 3y ago> But the goal I've always had is a lightweight editor that is minimal that I love using that feels like a text editor, but has the power of an IDE when needed, without all of the slowness in the experience and kind of heaviness in the UI, but still powerful. That was very early on what I wanted. And for it to be extensible. Sorry for being that guy, but vim. Nvim specifically.
- 127 3y agoFor those wanting a text editor/light IDE for Linux, Kate is surprisingly good.
- srini_p 3y agoYes, it is my go to editor on Linux. I like the default color scheme of this editor very much. And, we can customize it with Javascript scripts.
- noodlesUK 3y agoI tried out the editor because of this post: it looks very promising. Unfortunately I can't use it because it doesn't have support for remote hosts/devcontiners. That feature of VScode is critical to my workflow, as I don't actually want to program on a Mac host, but rather use my Mac as a portal to the VMs and containers I actually code on. It massively helps with segmentation of my projects and improves my security posture (by not having a development environment or dependencies on my actual host machine).
- FredPret 3y agoI love this about VSCode. I wish Pycharm could easily do this without sending the code away for processing.
- dieortin 3y agoIt can, there is a remote workflow similar to the one from VSCode. Search for “jetbrains gateway”
- 8organicbits 3y agoI use development virtual machines to segment projects and clients also although I just run my editor in each VM. What's the benefit of the vscode remote hosts/dev containers over a normal remote session?
- campbel 3y agoIn my experience its mostly the input lag when dealing with the remote environment. I'm quite sensitive to delays in editor input, so I prefer something native. If you aren't sensitive or your remote connection is fast enough for your preferences, I don't think there are many other advantages.
- satvikpendem 3y agoGPU acceleration is not always guaranteed on the VMs, as well as input lag.
- 3y ago
- giancarlostoro 3y agoThere was an editor I forgot the name might of been Omnivim, which was coded in ReasonML, but compiled natively to a UI, and supported VS Code plugins, which is still wild to me. Anyway, development kind of died off on it, it had insane potential in my eyes. Hopefully Zed can achieve a similar feat (more likely targetting VS Code plugins?) or some other rich plugin ecosystem.
- raphinou 3y agoIt was onivim2. Iirc it was a one-man show, and stopped when funding dried up. I also hoped to see a a lot from it. Maybe the dev took too much work on his plate, with an unproven language with limited libraries? https://github.com/onivim/oni2 https://github.com/onivim/oni2
- satvikpendem 3y agoReasonML is simply OCaml, I wouldn't call that unproven, but it does have limited libraries compared to JS or Rust.
- srini_p 3y agoIt has 50% less memory footprint than VS Code on startup, I will take it.
- ldelossa 3y agoSuper cool project, which really means nothing when its MacOS only :laugh:
- charlie0 3y agoDo we really need another IDE?
- steve_adams_86 3y agoWe have in the past. Why wouldn't we now?
- charlie0 3y agoWhat would this new IDE do that VS Code (or other IDE) can't already do?
- Brajeshwar 3y agoRecently, my faithful Sublime Text journey kind of ended, and I did not want to tinker/fix it. I have been using it since its first year of release. So, I had to decide on an IDE to live for the next few decades or for as long as I needed one. The final battle was between Emacs and Vim. I had played around with both in my prior developer life. I took time to read up, play around, and realize I'm not living in an IDE (Emacs), so I ended up with MacVim. I set it up enough to my liking. Just as I was getting around, a recent release of Zed surfaced on Hacker News. This is my go-to IDE for now. I still fire up MacVim for quick edits and to keep learning in case I need to settle down on it. Disclaimer: I'm not a regular developer no more.
- KORraN 3y agoWhat are the reasons that you have decided to drop ST?
- blovescoffee 3y agoI've been using ST for 10+ years. I pulled a copy and installed some extensions recently. Most extensions I want have multi-year gaps since last updated. ST crushes VS Code performance wise but the DX I'm used to with Code is much better than in ST because of the community.
- _l7dh 3y agoSad they do not allow to use a custom OpenAI host address, so one can use a local LLM instead (https://ollama.com/blog/openai-compatibility https://ollama.com/blog/openai-compatibility).
- miki123211 3y agoTheir custom UI framework might be all fun and games for now, but that will probably change once they realize they need to implement accessibility. Doing this in a custom framework without sacrificing performance won't be easy and is going to require lots of messy, per-platform work. It's not like it's optional for them either. It would be for a simple editor that you can just decide not to use, but they're positioning Zed as a collaboration tool, so making sure that everybody on a given dev team can use it is going to be crucial. I wish developers finally learned this lesson. As a screen reader user, I'm sick of all these "modern" tools written in Rust (and yes, it's nearly always Rust) where Voice Over just sees an empty window. It's far easier to dig yourself out of the trap of no accessibility if all you need to do is to slap a few aria labels on your buttons and sort out some focus issues than when you need to expose every single control to every single OS. At least there's AccessKit[1] now, which might make the work a bit easier, though I'm not sure how suitable it is for something as big as an editor. [1] https://accesskit.dev/ https://accesskit.dev/
- Klonoar 3y ago[flagged]
- nindalf 3y agoThey’ve only spent 10 years writing text editors. They might not have heard of accessibility before. /s
- miki123211 3y agoTo be honest, the previous editor they've worked on was Atom, and they didn't care then either, even though their job would be much easier. It's definitely in the realm of possibility that they have next to no accessibility experience.
- deleted 3y ago[deleted]
- kaashif 3y ago
- intalentive 3y agoThe part about just using the underlying primitives instead of relying on a 3rd party’s abstraction layer really resonated with me. As often as not I find myself fighting with the abstraction and having to go down a layer, where there is much greater freedom. >I don't know about zero cost — every abstraction has a cost, I guess Part of the cost Rust incurs is the compile time. But thanks to LLVM it seems you can in general have zero-cost abstractions, if we mean high level syntax with low level performance. Feels like a golden age of language design atm. Anyway, the “let’s do it right, and do it ourselves” philosophy is attractive and I’ll be downloading Zed to check it out.
- briandw 3y agoI really love native apps, but I'm stuck using VS code for now. It just kills me to see how much power goes to blinking the cursor in VS code. I tried Zed for a bit but couldn't make it work. I loved that its so light weight and fast. Looking my all my VS code processes it 3GB vs Zeds 300MB. 1/10 the ram is a meaningful difference. However I really need the Jupyter Notebook support that VS code provides. I'm also too used to doing remote dev on a Ubuntu box from my mac and VS code works great for that. I hope they stick with it long enough to get to supporting my workflow.
- briandw 3y agoLooks like the Notebook request has been open for over a year. https://github.com/zed-industries/zed/issues/5273 https://github.com/zed-industries/zed/issues/5273 So according to the Lindy effect https://en.wikipedia.org/wiki/Lindy_effect https://en.wikipedia.org/wiki/Lindy_effect, it'll be more than a year before we see anything.
- a_wild_dandan 3y agoI guess that I'm lucky. I presently have multiple VS Code projects open (local & remote), and a Notebook running, and rarely break ~650MB -- less than 1% of my Macbook's memory. Maybe everyone has more extensions on than I do or something.
- MikusR 3y agoHow much power goes to blinking the cursor in VS code? And how it compares to other functionally similar editors.
- jazzyjackson 3y agoAs a lowly web developer I must not know what i'm missing, can anyone explain what the issue is with an array being a list of references? Why is there a chase going on, is someone trying to get away? > JavaScript is... You think you have an array of objects, but you really have an array of pointers to objects. So every single time you're walking over that, you're chasing it down.
- taspeotis 3y agoPointer chasing, bad for cache locality.
- jazzyjackson 3y agoah, that closes the loop for me, thanks
- qwertox 3y agoI think it refers to the fact that you can't just compute an offset from element 0 to get to an element N, like you could if you'd have an array of structs or classes. Assume a struct uses up 128 bytes, then you can get to element N by using a pointer of N * 128 and you'd be positioned directly at the memory location of that struct. - Edit: cache locality like sibling comment mentions sounds more convincing.
- losvedir 3y agoI don't use Zed, but I noticed José Valim using it when he was live streaming a coding session. I mostly use VSCode, but one feature he used in Zed was really compelling: he did a "Find All", which was similar to VSCode in that it opened a results pane with snippets from all the files that matched, but then he was able to edit the snippets directly from there, and was able to use multi-cursor editing and all the other usual niceties. That was pretty neat and impressive to me, since in VSCode you have to actually click the search result to open the file, and then edit it there. It wasn't quite enough to make me switch, but I've been thinking about it from time to time whenever VSCode annoys me.
- czottmann 3y agoThis sounds like it could be very useful. Does it work like this VSCode extension, "Search Editor: Apply Changes"? https://marketplace.visualstudio.com/items?itemName=jakearl.search-editor-apply-changes https://marketplace.visualstudio.com/items?itemName=jakearl....
- losvedir 3y agoMmm, -ish. I searched for an extension in VSCode when I saw it in Zed, and that extension came up. But it looks like you still have to open the editor tab to save it and stuff. It was much more streamlined in Zed. You just made the change right there, and I think if you hit "save" on the search results it would save to all the files that you touched.
- hprotagonist 3y agoemacs has had occur and multi-occur since the 80s that can do this. it’s amazing. more recently, interfaces to tools like ripgrep also have the ability to have an editable mode, super handy for refactoring. (and of course you can edit file names in bulk, too ..) https://www.masteringemacs.org/article/searching-buffers-occur-mode https://www.masteringemacs.org/article/searching-buffers-occ... https://rgel.readthedocs.io/en/latest/ https://rgel.readthedocs.io/en/latest/ https://www.gnu.org/software/emacs/manual/html_node/emacs/Wdired.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Wd...
- 3y ago
- coolgoose 3y agoOne thing I don't get, and I hope I didn't miss an obvious comment, is that for all the complains about elektron and js being slow, vscode was and still is faster than atom.
- zogrodea 3y agoI think that's just like one C++ application being faster than another equivalent C++ application due to using smarter data structures and whatnot. VS Code and Atom have different code bases with different decisions and that makes a difference despite them both using Electron and JS. (Hopefully I have understood your question properly.)
- perryizgr8 3y agoZed feels good to use, even though it lacks a lot of features I regularly use in vs code. But the biggest hurdle for me is that windows is not supported. I switch between my laptop (mac os) and desktop (win11) depending on where I'm working from for the day. And its too much stress for me to remember a completely different set of workflows and shortcuts. So, for now I wish zed the best, but vs code remains my editor of choice.
- WuxiFingerHold 3y agoI have the luck to were able to buy a Ryzen 7 2700, 32 GiB and some Samsung NVMe (don't remember) some years ago. Running Ubuntu LTS. I hate VS Code so much for many reasons, but performance or memory usage are not among them. It starts in some seconds, never been a problem. Runs fast enough. At work I got a MacBook Pro, performance is even less of an issue, of course. So, I'm not sure all the work done regarding performance is the most efficient way to get into the market. It's features, like their collab stuff, I'd say. Or usability features. What I hate most about VS Code are the clunky editor navigation shortcuts. Code navigation is fine, but moving around the editor, opening files, command palette, ... if you ever have used neovim with telescope or JetBrains IDEs then VS Code feels so cumbersome.