Live data from Hacker News

Xray – An experimental next-generation Electron-based text editor

github.com

121–130 of 240 posts

Re: Xray – An experimental next-generation Electron-based text editor

#121

Earlier quoted context omitted.

Most laptops top out at 16GB of ram. Unless you’re only using your editor, you need resources for other things too. VM based dev environments via vagrant, docker etc are very common. What I don’t understand is why if you’re going to use an editor that’s resource heavy, you wouldn’t just use an IntelliJ product. Sure, they’re jvm based and “heavy”. But they’re also fucking amazing, and have functionality none of these…

Is it common to code on a laptop instead of a desktop? I'd find it style cramping. Need the extra screens, full keyboard and mouse. But I work in digital marketing so my notions may be way off base.

I haven't used a desktop for work (or anything really) since... 2009?

My experience with developers I work with tends to be the same. The only place I usually hear about desktops being used, is in company office environments.

> Need the extra screens, full keyboard and mouse.

If you're at a desk where those things make sense, you can still use all of those things, but you also get portability if you want to take your primary working machine with you somewhere.

Edit: admittedly my next machine is potentially going to be a desktop. Mostly because this laptop while ageing, still performs OK, and will still be usable if I need to work outside my home-office.

Re: Xray – An experimental next-generation Electron-based text editor

#122
post #96

I've always felt like the inevitable conclusion of Atom and other electron based apps is the reversion to using low level compiled languages. I'm starting to get tired of how much of a resource hog Atom is.

The v8 engine behind Atom is an incredibly efficient compiler, a just-in-time compiler. Without it, all current JS interfaces would be comically slow. The problem with JS is that its execution model is built around highly dynamic features that are hard to compile efficiently. It also lacks a nice type system, though Typescript helps a lot. The problem with Atom performance, I suspect , is mostly with its using a web…

Hmm, VSCode uses a web browser (and I think also the DOM) to display/edit text, and I find it to be perfectly snappy (Atom was unusably slow on my work codebase).

Re: Xray – An experimental next-generation Electron-based text editor

#123
post #91

Earlier quoted context omitted.

Can't speak for op of comment, but everyone suggests this... yes I've tried it and no I really don't want it no matter how many times it is mentioned. I am happy with Vim for myself now, and am glad that I moved beyond the bloated IDE way of thinking, including Visual Studio Code. Yes, Atom had its shortcomings in that arena, but I'd still prefer to use Atom over Visual Studio, due mostly in fact that the project has…

You're a bit late to the party lol. vim is dead. All us 'cool elite programmers' as you so blindly follow, have moved onto to use neovim.

Neovim can't handle my obsolete terminal library in Ubuntu LTS. I've also had issues on the iMac at work. Vim works just fine or at least it's usable.

Re: Xray – An experimental next-generation Electron-based text editor

#124
post #90

raphlinus said that many of the design decisions are similar to xi.[1] [1] https://www.reddit.com/r/rust/comments/7qszkz/xray_an_experi...

They're talking: https://github.com/atom/xray/issues/4#issuecomment-359483293

Indeed. I'm open to the idea of even joining forces, but if the goal is to explore technology choices, it does make sense for them to do their own thing. In the meantime, xi is making progress, and I think will be a pretty viable choice for people who prefer native to Electron.

Re: Xray – An experimental next-generation Electron-based text editor

#125

Earlier quoted context omitted.

I've had Atom taking up 1.5 GB before. Right now Spotify is taking up 1 GB. VLC can play 4k with less RAM, what the hell?

Try 10GB each for Illustrator & Photoshop CC :(

I really struggle to run Lightroom on my 8 GB Macbook Pro.

To be fair, Lightroom and Photoshop have an excuse: dealing with 20+ MP photos is memory intensive. Atom doesn't: dealing with 2 MB text files is not hard.

Re: Xray – An experimental next-generation Electron-based text editor

#126
post #123
post #91

Earlier quoted context omitted.

You're a bit late to the party lol. vim is dead. All us 'cool elite programmers' as you so blindly follow, have moved onto to use neovim.

Neovim can't handle my obsolete terminal library in Ubuntu LTS. I've also had issues on the iMac at work. Vim works just fine or at least it's usable.

[deleted]

Re: Xray – An experimental next-generation Electron-based text editor

#127
post #91

Earlier quoted context omitted.

Can't speak for op of comment, but everyone suggests this... yes I've tried it and no I really don't want it no matter how many times it is mentioned. I am happy with Vim for myself now, and am glad that I moved beyond the bloated IDE way of thinking, including Visual Studio Code. Yes, Atom had its shortcomings in that arena, but I'd still prefer to use Atom over Visual Studio, due mostly in fact that the project has…

You're a bit late to the party lol. vim is dead. All us 'cool elite programmers' as you so blindly follow, have moved onto to use neovim.

Neovim is mostly still Vim, but with some built-in extensions and packaged plugins. Vim is still great if you don't mind managing a few preferred plugins yourself, and (at least on Arch) it comes packaged with some pretty sane defaults. Overall though, Vim has made huge improvements in the area.

Re: Xray – An experimental next-generation Electron-based text editor

#128

Earlier quoted context omitted.

Editing large pieces of text efficiently is a Hard Problem, especially collaboratively without conflicts. In the case of editors like Xi and XRay, they use CRDTs, which doesn't look anything like how Notepad would represent text. There's real work here that's actually useful, it's not just "another extensible text editor".

Yay, new products for a few bulletpoint features. Not to discount the technical chops of the work they are doing, CRDTs sound sufficiently fancy. But as long as it touches Electron, they are building on a foundation of mud. Popular, pretty mud, sure, but mud nonetheless.

See, I thought you were complaining about software complexity when you posted your original comment about "why does a text editor need so much abstraction". Nope, turns out it's just another run-of-the-mill anti-Electron rant.

Re: Xray – An experimental next-generation Electron-based text editor

#129

Earlier quoted context omitted.

Can't speak for op of comment, but everyone suggests this... yes I've tried it and no I really don't want it no matter how many times it is mentioned. I am happy with Vim for myself now, and am glad that I moved beyond the bloated IDE way of thinking, including Visual Studio Code. Yes, Atom had its shortcomings in that arena, but I'd still prefer to use Atom over Visual Studio, due mostly in fact that the project has…

This reads like you haven't paid attention to anything Microsoft has done for the last five or so years, including VS Code. The strategy around VS Code is entirely consistent with the more open-source-supportive angle the company has been taking, and the editor is very performant and well-engineered compared with Atom.

Haha, please enlighten me. Let's see what open source license Microsoft picked for their generous efforts to restore socioeconomic equality:

https://code.visualstudio.com/license

Re: Xray – An experimental next-generation Electron-based text editor

#130
post #84

Earlier quoted context omitted.

Im probably super out of the loop but I always wonder about these kind of comments. Even if electron uses say 500% more resources than vim, why in the world would that matter beyond personal irritation for anyone making 6 figs doing software development? I get the impression from these arguments that people are trying to do serious software development on 5 year old budget hardware. In any profession, investing in yo…

My gardener once left one of his shovels in my yard for a few hours. During that time, someone stole it. I asked him why someone would steal a shovel, and he said because it was a $150 shovel.

Moral of story.. don't leave nice shovels in the yard and don't install crappy spyware OS like Windows on nice new computer.
Post reply on HN