| Post Reply | RetroFed Forum Forum Index » PC Master Race |
| Author | Message | ||
|---|---|---|---|
sanitation
lemmy.today
sanitation@lemmy.todayJoined: 2026-05-05 Banned |
|
||
| 382 Original | |||
|
lowleveldata
programming.dev
lowleveldata@programming.dev Joined: 2023-06-09 |
Who cares about file size? It would be more impressive to optimize it for better performance / less memory usage |
||
| -23 | |||
|
ch00f
lemmy.world
ch00f@lemmy.world Joined: 2023-06-10 |
Who cares about file size? It would be more impressive to optimize it for better performance / less memory usage
Edit: I'm an illiterate dumdum. Don't upvote. |
||
| 27 | |||
|
lowleveldata
programming.dev
lowleveldata@programming.dev Joined: 2023-06-09 |
I suspect a 2.5kb application would probably load quickly and use little memory. Edit: I'm an illiterate dumdum. Don't upvote.
It says this right in the article. Is reading the article too much to ask? |
||
| 21 | |||
|
ch00f
lemmy.world
ch00f@lemmy.world Joined: 2023-06-10 |
One user reported it chewing through around 500MB of RAM on 64-bit Windows 7 It says this right in the article. Is reading the article too much to ask?
Yes apparently. Apologies. |
||
| 11 | |||
|
CameronDev
programming.dev
CameronDev@programming.dev Joined: 2023-06-18 |
I suspect a 2.5kb application would probably load quickly and use little memory. Edit: I'm an illiterate dumdum. Don't upvote.
Size on disk doesn't correlate to memory usage or load time. You can get a very small on disk size by compression, or downloading the main executable at runtime. |
||
| 10 | |||
|
ch00f
lemmy.world
ch00f@lemmy.world Joined: 2023-06-10 |
Size on disk doesn't correlate to memory usage or load time. You can get a very small on disk size by compression, or downloading the main executable at runtime.
Sure. I wasn't thinking of something like .kkreiger. I assumed that a small simple text editor would use a similarly small amount of memory. Shocked it ballooned so big. Sorry can't read the article at the moment. |
||
| 6 | |||
|
BCsven
lemmy.ca
BCsven@lemmy.ca Joined: 2023-06-17 |
Size on disk doesn't correlate to memory usage or load time. You can get a very small on disk size by compression, or downloading the main executable at runtime.
The premise is probably if you can optimize the code to be small, you are probably also optimizing how it runs too. Rather then just bloat up everything |
||
| 6 | |||
tal
lemmy.today
tal@lemmy.todayJoined: 2023-10-04 |
One user reported it chewing through around 500MB of RAM on 64-bit Windows 7 It says this right in the article. Is reading the article too much to ask?
They don't say the scenario where that's happening, though. Unless your editor supports large file editing, a mode where it doesn't load the whole file into memory, unless it has filesize restrictions that make it just fail, if you throw a large enough file at it, it's invariably going to use a bunch of memory.
On my system, after it (slowly) finishes opening that file, On emacs, large file editing support is from the
Emacs is using 75.3 MB RSS after opening that. |
||
| 25 | |||
|
bw42
lemmy.world
bw42@lemmy.world Joined: 2024-03-08 |
I just uninstalled the UWP Notepad and use the old one. But I guess some people need hobbies. |
||
| 35 | |||
|
Feyd
programming.dev
Feyd@programming.dev Joined: 2023-07-20 |
Size on disk doesn't correlate to memory usage or load time. You can get a very small on disk size by compression, or downloading the main executable at runtime.
[deleted]
|
||
| 8 | |||
|
Feddinat0r
feddit.org
Feddinat0r@feddit.org Joined: 2024-06-22 |
But does it have copilot? |
||
| 59 | |||
|
Sanguine
lemmy.dbzer0.com
Sanguine@lemmy.dbzer0.com Joined: 2025-02-10 |
Plummers YouTube channel is excellent btw |
||
| 23 | |||
ChaoticNeutralCzech
feddit.org
ChaoticNeutralCzech@feddit.orgJoined: 2024-06-23 |
They don't say the scenario where that's happening, though. Unless your editor supports large file editing, a mode where it doesn't load the whole file into memory, unless it has filesize restrictions that make it just fail, if you throw a large enough file at it, it's invariably going to use a bunch of memory. $ dd if=/dev/zero of=out.bin bs=1M count=500 500+0 records in 500+0 records out 5242...
They do, in the linked GitHub issue: Apparently, that's just sitting idle. By not optimizing for file size with Crinkler, the executable grows by a factor of 4 and RAM usage shrinks by a factor of 300. This build will probably be made available to people who value 500 MB RAM per running instance more than the 9 kiB of disk space saved (I assume that's anyone wanting to use it in practice). |
||
| 12 | |||
|
Jiral
lemmy.world
Jiral@lemmy.world Joined: 2026-06-06 |
I just uninstalled the UWP Notepad and use the old one. But I guess some people need hobbies.
What's wrong with having hobbies? |
||
| 27 | |||
|
pastermil
sh.itjust.works
pastermil@sh.itjust.works Joined: 2023-06-15 |
But does it have copilot?
I have my own copilot. It's called domestic partner. |
||
| 26 | |||
Valmond
lemmy.dbzer0.com
Valmond@lemmy.dbzer0.comJoined: 2025-11-13 |
What's wrong with having hobbies?
It's illegal. |
||
| 29 | |||
|
Bananskal
nord.pub
Bananskal@nord.pub Joined: 2026-04-01 |
I have my own copilot. It's called domestic partner.
So you do pair programming or..? |
||
| 14 | |||
|
CameronDev
programming.dev
CameronDev@programming.dev Joined: 2023-06-18 |
[deleted]
Even the linked libraries may not contribute anything, if they are already loaded and shared amongst other processes. There are so many factors and trade offs that you cant really make any assumptions based off just the executable size. |
||
| 2 | |||
|
CameronDev
programming.dev
CameronDev@programming.dev Joined: 2023-06-18 |
Sure. I wasn't thinking of something like .kkreiger. I assumed that a small simple text editor would use a similarly small amount of memory. Shocked it ballooned so big. Sorry can't read the article at the moment.
It does some of the tricks that .kkreiger uses, including compressing the binary. And at least according to a few reports, it uses 500MB of ram: https://github.com/PlummersSoftwareLLC/TinyRetroPad/issues/21 |
||
| 6 | |||
|
CameronDev
programming.dev
CameronDev@programming.dev Joined: 2023-06-18 |
The premise is probably if you can optimize the code to be small, you are probably also optimizing how it runs too. Rather then just bloat up everything
Once you start optimizing for one aspect, others become less important. In this case, they are doing a few hacks to get to 2.5kb, which do impact runtime performance. A few users report it using 500mb at runtime due to the compression :/ |
||
| 2 | |||
|
pHr34kY
lemmy.world
pHr34kY@lemmy.world Joined: 2023-07-02 |
People who programmed in the 80s and 90s are all pro golfers. Modern coders could learn from them. |
||
| 39 | |||
LeFrog
discuss.tchncs.de
LeFrog@discuss.tchncs.deJoined: 2023-06-14 |
Sure. I wasn't thinking of something like .kkreiger. I assumed that a small simple text editor would use a similarly small amount of memory. Shocked it ballooned so big. Sorry can't read the article at the moment.
|
||
| 3 | |||
|
pastermil
sh.itjust.works
pastermil@sh.itjust.works Joined: 2023-06-15 |
So you do pair programming or..?
Well, not me, but some people do. |
||
| 3 | |||
ChaoticNeutralCzech
feddit.org
ChaoticNeutralCzech@feddit.orgJoined: 2024-06-23 |
Sure. I wasn't thinking of something like .kkreiger. I assumed that a small simple text editor would use a similarly small amount of memory. Shocked it ballooned so big. Sorry can't read the article at the moment.
Simply building without Crinkler compression changes the file size to 11 kiB and RAM usage to 1.7 MB. That's almost double what Microsoft's old Notepad (at a file size of 250-350 kiB, including an uncompressed multi-size RGBA icon of around 100 kiB and localization) uses but not bad, and probably the version most people will prefer for practical use. |
||
| 4 | |||
|
DokPsy
lemmy.world
DokPsy@lemmy.world Joined: 2023-07-18 |
People who programmed in the 80s and 90s are all pro golfers. Modern coders could learn from them.
Before I even clicked on the article I knew it was going to be Dave Plummer. This kind of thing is exactly what he'd do |
||
| 14 | |||
|
DokPsy
lemmy.world
DokPsy@lemmy.world Joined: 2023-07-18 |
I just uninstalled the UWP Notepad and use the old one. But I guess some people need hobbies.
The programmer from the article is Dave Plummer. This is one of his hobbies. Check his YouTube channel Dave's Garage for more of them |
||
| 11 | |||
|
DokPsy
lemmy.world
DokPsy@lemmy.world Joined: 2023-07-18 |
Plummers YouTube channel is excellent btw
I always take a seat at Dave's garage |
||
| 6 | |||
FlashMobOfOne
lemmy.world
FlashMobOfOne@lemmy.worldJoined: 2023-06-12 |
Monetizing notepad pissed me off so much. That's like making people pay for save functionality in a video game. |
||
| 28 | |||
|
VitoRobles
lemmy.today
VitoRobles@lemmy.today Joined: 2025-01-26 |
Monetizing notepad pissed me off so much. That's like making people pay for save functionality in a video game.
I mean there was that time the CEO of EA suggested charging a dollar to reload in a FPS game. |
||
| 18 | |||
|
AngryCommieKender
lemmy.world
AngryCommieKender@lemmy.world Joined: 2023-08-02 |
I mean there was that time the CEO of EA suggested charging a dollar to reload in a FPS game.
https://www.penny-arcade.com/comic/2026/07/03/returnal-3 The latest Penny Arcade seems relevant. |
||
| 16 | |||
explodicle
sh.itjust.works
explodicle@sh.itjust.worksJoined: 2024-04-11 |
https://www.penny-arcade.com/comic/2026/07/03/returnal-3 The latest Penny Arcade seems relevant.
WOW that comic looks different in 2026 |
||
| 12 | |||
|
AngryCommieKender
lemmy.world
AngryCommieKender@lemmy.world Joined: 2023-08-02 |
WOW that comic looks different in 2026
Yeah, there seem to have been 3-4 distinct styles so far. They're just doing their thing. I still read even though I have no clue what they are on about more than half the time. |
||
| 4 | |||
Appoxo
lemmy.dbzer0.com
Appoxo@lemmy.dbzer0.comJoined: 2023-07-01 |
I just uninstalled the UWP Notepad and use the old one. But I guess some people need hobbies.
You can do that?? |
||
| 1 | |||
|
chunes
lemmy.world
chunes@lemmy.world Joined: 2025-04-08 |
Really fucking pathetic how someone has to explain to microsoft and modern 'developers' that the operating system already comes with UI elements |
||
| 48 | |||
|
BCsven
lemmy.ca
BCsven@lemmy.ca Joined: 2023-06-17 |
Once you start optimizing for one aspect, others become less important. In this case, they are doing a few hacks to get to 2.5kb, which do impact runtime performance. A few users report it using 500mb at runtime due to the compression :/
Well that sucks, although I assume that's way better than the AI bloated version that now comes with Windows. |
||
| 2 | |||
ChaoticNeutralCzech
feddit.org
ChaoticNeutralCzech@feddit.orgJoined: 2024-06-23 |
GIMP could learn from this. In folders with many items, its Open (as Layers)/Save as... dialog is super slow (and the loading cannot be skipped even if you know the filename; this may get fixed soon though). The DE has one already, dammit! |
||
| 11 | |||
|
FippleStone
aussie.zone
FippleStone@aussie.zone Joined: 2023-06-15 |
But does it have copilot?
Jesus is my copilot |
||
| 8 | |||
JackbyDev
programming.dev
JackbyDev@programming.devJoined: 2023-06-13 |
People who programmed in the 80s and 90s are all pro golfers. Modern coders could learn from them.
|
||
| 4 | |||
JackbyDev
programming.dev
JackbyDev@programming.devJoined: 2023-06-13 |
Size on disk doesn't correlate to memory usage or load time. You can get a very small on disk size by compression, or downloading the main executable at runtime.
Thinking it doesn't correlate at all seems foolish. There is some correlation, it's just miniscule. |
||
| 1 | |||
|
Buddahriffic
lemmy.world
Buddahriffic@lemmy.world Joined: 2023-06-30 |
WOW that comic looks different in 2026
Yeah, can't say I'm a fan of the ugly cartoons style. |
||
| 4 | |||
Hupf
feddit.org
Hupf@feddit.orgJoined: 2024-07-24 |
Jesus is my copilot
Copilot take the wheel!
|
||
| 12 | |||
kshade
lemmy.world
kshade@lemmy.worldJoined: 2023-06-17 |
You can do that?? Guess I have to find out how to do it in a reliable way for our prepped client systems!!
Only way I've found is to have a script that uninstalls certain apps using Powershell on logon. We are rolling out Notepad3 instead, it's better than UWP or classic, which they patched to nag you about the UWP version. |
||
| 1 | |||
|
bw42
lemmy.world
bw42@lemmy.world Joined: 2024-03-08 |
What's wrong with having hobbies?
Nothing wrong with having hobbies. They give us lots of interesting things. |
||
| 2 | |||
|
bw42
lemmy.world
bw42@lemmy.world Joined: 2024-03-08 |
You can do that?? Guess I have to find out how to do it in a reliable way for our prepped client systems!!
Yeah, my work computer I uninstalled the UWP Notepad by right clicking it in start menu and choosing uninstall. Then when I open Notepad from search or run it opens the old Notepad instead. |
||
| 1 | |||
Appoxo
lemmy.dbzer0.com
Appoxo@lemmy.dbzer0.comJoined: 2023-07-01 |
Yeah, my work computer I uninstalled the UWP Notepad by right clicking it in start menu and choosing uninstall. Then when I open Notepad from search or run it opens the old Notepad instead.
I am aware of Remove-AppXPackage being a thing but I kind of expected the notepad thing to be an integral part of itm |
||
| 1 | |||
|
JigglySackles
lemmy.world
JigglySackles@lemmy.world Joined: 2023-06-13 |
Sure. I wasn't thinking of something like .kkreiger. I assumed that a small simple text editor would use a similarly small amount of memory. Shocked it ballooned so big. Sorry can't read the article at the moment.
.kkrieger was so damn cool. Mad impressive what they managed. |
||
| 1 | |||
|
flambonkscious
sh.itjust.works
flambonkscious@sh.itjust.works Joined: 2023-06-10 |
Only way I've found is to have a script that uninstalls certain apps using Powershell on logon. We are rolling out Notepad3 instead, it's better than UWP or classic, which they patched to nag you about the UWP version.
Wow, I didn't know there's been developments beyond notepad2-mod - thanks! |
||
| 1 | |||
| Post Reply |
Back to top |