News for hackers. Stuff that matters.
Re:Atom Was Archived Today by magicalhippo on Friday December 16, 2022 @06:36AM (#34013441)
> t was the first editor I’ve seen to choke when opening 1M file

I recall trying Atom before VSCode had been released. I loaded up a 1MB XML file and it ground to a halt.

After some searching I found a bug tracker issue reflecting this, where one of the devs said something to the effect of "a 1MB XML file is extremely large, I don't think we'll support that".

At that point I uninstalled Atom.

On a related note, not long ago I accidentally dragged a 450MB SQL script into VSCode. I fully expected it to cave like Atom had on the 1MB XML. However to my pleasant surprise it worked just fine. Editing it was as quick as a regular file, and the memory usage was not excessive (around 2.5G total). I admit I was a bit impressed by that.

Re:Atom Was Archived Today by comprev on Friday December 16, 2022 @11:31AM (#34016528)
I had a gig which required opening ridiculously large XML files (metadata for music albums). Some classical music compilations (think "6 CD bargain bin" boxsets) would end up with 1-2GB XML files.

Sublime didn't even flinch when opening and navigating around the file. Truly impressive text editor and absolutely worth the license cost.

Re:Atom Was Archived Today by ddevault on Friday December 16, 2022 @12:29PM (#34017420)
2.5G is definitely excessive.
Re:Atom Was Archived Today by ajkjk on Friday December 16, 2022 @01:34PM (#34018263)
Not optimized, perhaps, but not unreasonable given the metadata over a nearly-500MB file I would think?
Re:Atom Was Archived Today by magicalhippo on Friday December 16, 2022 @01:45PM (#34018408)
Not sure how it represents text, but if it's using UTF-16 (I'm on Windows), then that's 900MB just there given the ASCII input file.

Not gonna say it's lightweight, but not excessive in my book.