News for hackers. Stuff that matters.
Re:Buffer Overflows in Notepad++ by baal80spam on Wednesday August 30, 2023 @08:01AM (#37320734)
> lightweight text editors like Visual Studio Code

I wouldn't call anything based on Electron "lightweight".

My completely subjective list of text editors in order of lightweightness:

Notepad2 - a feather

Notepad++ - a dog

VS Code - an elephant

Re:Buffer Overflows in Notepad++ by currysausage on Wednesday August 30, 2023 @08:30AM (#37321013)
I'm very fond of Notepad2, but development ceased in 2012 and the fork that I'm using, Notepad2-mod [1], had its last release in 2017. I wonder how many buffer overflows are lurking in there.

I just discovered Notepad3 [2], which appears to be a maintained fork. Screenshots look very similar to Notepad2. Gotta check it out later.

Any other forks that I should be aware of?

[1] https://github.com/XhmikosR/notepad2-mod

[2] https://www.rizonesoft.com/downloads/notepad3/

Re:Buffer Overflows in Notepad++ by baal80spam on Thursday August 31, 2023 @08:35AM (#37336201)
I use Notepad2-mod as well, didn't even know it wasn't maintained anymore! Thanks for mentioning Notepad3, I need to look into it.
Re:Buffer Overflows in Notepad++ by Modified3019 on Monday September 04, 2023 @09:37PM (#37386923)
My search for "notepad2" came up with https://github.com/zufuliu/notepad2, which sees routine changes: https://github.com/zufuliu/notepad2/commits/main
Re:Buffer Overflows in Notepad++ by esrauch on Wednesday August 30, 2023 @08:15AM (#37320862)
If VS Code is an elephant than what are VS, IntelliJ, Eclipse? Skyscrapers? Aircraft carriers?
Re:Buffer Overflows in Notepad++ by petepete on Wednesday August 30, 2023 @08:17AM (#37320887)
Eclipse is a herd of cattle sellotaped together in the shape of a giant cow.
Re:Buffer Overflows in Notepad++ by pc86 on Wednesday August 30, 2023 @08:32AM (#37321030)
They're not text editors.
Re:Buffer Overflows in Notepad++ by esrauch on Wednesday August 30, 2023 @03:40PM (#37327841)
I think most people use vscode exactly like they would use IntelliJ; it's hard for me to justify that vscode is an editor but intellij isn't.
Re:Buffer Overflows in Notepad++ by nijave on Thursday August 31, 2023 @11:55AM (#37339206)
I don't have everything setup in vscode. I mostly just use it for syntax highlighting and generally use a JetBrains IDE for programming (code navigation works much better imo)

I think you can go either way with vscode similar to the whole vi vs neovim with tons of plugins

Re:Buffer Overflows in Notepad++ by eru on Wednesday August 30, 2023 @08:18AM (#37320898)
Yes. Though they don't pretend to be text editors.
Re:Buffer Overflows in Notepad++ by layer8 on Wednesday August 30, 2023 @08:17AM (#37320883)
Whales
Re:Buffer Overflows in Notepad++ by delfinom on Wednesday August 30, 2023 @08:25AM (#37320957)
IntelliJ and VS are like two different models of US aircraft carrier

Eclipse is like that one Russian aircraft carrier.

Re:Buffer Overflows in Notepad++ by lelanthran on Thursday August 31, 2023 @05:22AM (#37334522)
> If VS Code is an elephant than what are VS, IntelliJ, Eclipse? Skyscrapers? Aircraft carriers?

I was quite surprised, when I recently used VS for a small C project, at just how snappy it was for that project compared to VS Code for the same project.

I then compared it to VS Code for a larger C# project and it still compared very favourably in terms of responsiveness and speed.

I think a lot of people using VS Code are comparing small projects in VS Code to large projects in VS and concluding that it's VS that is the problem.

Re:Buffer Overflows in Notepad++ by briHass on Wednesday August 30, 2023 @08:11AM (#37320817)
I haven't used it in a long time, but Textpad was my go-to ultra light. At the time, it only supported ASCII (no Unicode) so it only used one byte per character. I frequently had to open files that would hit 32 bit memory limits.
Re:Buffer Overflows in Notepad++ by eru on Wednesday August 30, 2023 @08:19AM (#37320902)
What about Vim and emacs?
Re:Buffer Overflows in Notepad++ by guessbest on Wednesday August 30, 2023 @09:59AM (#37322281)
GUI applications are only as responsive as the framework allows them to be. Because Notepad2 and the later Notepad3 were built with win32, they will start the fastest. Applications with a lot of plugins will only load as fast as those plugins can be checked and loaded to prevent exceptions. Personally, I like AkelPad since it still uses a proper MDI like Visual Studio 2008.