News for hackers. Stuff that matters.
Re:NotepadNext: A cross-platform reimplementation of Notepad++ by crispyambulance on Saturday April 09, 2022 @08:51AM (#30967618)
Dealing with large files or huge number of open files is something where Notepad++ really shines, it's basically the reason you would use it for text files instead of VS Code, IMHO. I've had Notepad++ open many hundreds of files in single sittings to do file exploration, data-cleaning and really aggressive regex search/replace. It's obviously smart about how to deal with this without locking up the application.

Definitely my goto editor for non-code files. I've wondered if emacs can do the same, but when I've asked an emacs user responded with "Why would you want to open 800 files?" I take that as a "no"?

Re:NotepadNext: A cross-platform reimplementation of Notepad++ by teddyh on Saturday April 09, 2022 @10:29AM (#30968344)
> I've wondered if emacs can [deal with large files or huge number of open files] […] I take that as a "no"?

Emacs handles it fine. Two years ago¹, I wrote this:

“Just last week I opened, edited, and saved, a 4 Gigabyte SQL dump file, in Emacs. It was a bit slower than usual, but still well usable, and certainly no crashes.”

1. https://news.ycombinator.com/item?id=22880333

Re:NotepadNext: A cross-platform reimplementation of Notepad++ by andai on Saturday April 09, 2022 @10:40AM (#30968442)
That sounds like a lot, but most (power user) machines have more RAM than that these days. Are there any editors that can deal with files larger than available memory?
Re:NotepadNext: A cross-platform reimplementation of Notepad++ by teddyh on Saturday April 09, 2022 @10:55AM (#30968543)
> Are there any editors that can deal with files larger than available memory?

Emacs: https://elpa.gnu.org/packages/vlf.html

Re:NotepadNext: A cross-platform reimplementation of Notepad++ by arbitrage on Saturday April 09, 2022 @09:44AM (#30968012)
They may just be trying really hard to avoid saying "I don't know", or perhaps "It never occurred to me to try".

Emacs users aren't accustomed to getting questions they don't know the answer to, IMHO.