News for hackers. Stuff that matters.
Re:Atom now using Io.js by PlzSnow on Tuesday February 03, 2015 @04:48PM (#8993642)
The 2MB/slowness isn't something that can just be "coded away". It's a direct result of the technology stack chosen. It is not a solvable problem. Therefore Atom cannot succeed beyond niche usage.
Re:Atom now using Io.js by pbiggar on Tuesday February 03, 2015 @05:06PM (#8993765)
"not a solvable problem" and "cannot succeed" are very strong assertions that are not backed up by evidence.
Re:Atom now using Io.js by laurent123456 on Tuesday February 03, 2015 @05:33PM (#8993977)
Why is there a 2MB limit anyway? Is it because the document is rendered to HTML? In this case, why don't they render only the part currently visible on screen?
Re:Atom now using Io.js by iends on Tuesday February 03, 2015 @06:05PM (#8994154)
https://github.com/atom/atom/pull/1607/files

The editor is intentionally crippled.

Re:Atom now using Io.js by davidy123 on Tuesday February 03, 2015 @08:13PM (#8994734)
They were probably tired of people complaining about problems with this corner case of opening humongous files in an editor meant for editing source code. Atom properly should be optimized for kilobyte sized files, not megabyte.
Re:Atom now using Io.js by jussij on Tuesday February 03, 2015 @10:47PM (#8995205)
Machines these days have Giga Bytes of RAM so handling a file only a few megabytes in size should hardly be an issue.

I'm the author of the Zeus editor and I regularly use an old 1.25 Pentium with 512 MBytes of RAM to test the performance of the editor.

Even running on that 15 year old machine Zeus stays fully responsive while editing a 60+ MByte file.

For a modern day tool a 2 Mega file limit seems rather low.

Re:Atom now using Io.js by userbinator on Tuesday February 03, 2015 @11:43PM (#8995343)
Atom is essentially a web browser running a text editing web app. Given how much web pages tend to "expand" when loaded into memory in a browser, it's not so surprising.

I'm guessing that Zeus isn't based on a web browser but was designed from the beginning to be an editor.

Re:Atom now using Io.js by Cthulhu_ on Wednesday February 04, 2015 @09:12AM (#8996839)
> Zeus isn't based on a web browser but was designed from the beginning to be an editor.

But Atom was also supposed to be an editor...

Re:Atom now using Io.js by jussij on Wednesday February 04, 2015 @07:29AM (#8996460)
Zeus, like a lot of text editors is an in memory editor, which basically means it loads the whole file into memory.

So it too is limited by the total memory available to the application.

For a 32 bit Windows application the available memory comes in at around 2 Gigs and for a 64 bit Windows application that explodes to 8 Terra bytes.

So even if Atom was 32 bit it should have 2 Gigs of memory to play with.

I'm not sure why Atom does limit files to 2 megs, but if it is because of the expansion of memory then there must be some serious expanding happening there.