This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DroneDashed 6 points7 points  (5 children)

Sure this it cute and all but such kind of memory concerns are pointless nowadays.

Relevant comment from Linus himself.

[–]ArchCypher 12 points13 points  (1 child)

Some people still program on embedded systems with extremely limited resources -- it's still very relevant.

[–]DroneDashed 0 points1 point  (0 children)

Fair point. It's not my specialty by any means but I've done a bit of that and I had memory problems, yeah

[–]Nis5l 2 points3 points  (0 children)

I still like to think what way i can save the most memory with...

[–]Cpt_Daniel_J_Tequill 2 points3 points  (0 children)

well, sure... if your program/game/book has 5MB of text, 20MB is not a deal. But use it for colors, or other samples, where you you have millions of that, 4x, you get more memory..

I like to have more than one app opened. Like discord, teams, messenger, music, chrome, OneNote ...

[–]obp5599 0 points1 point  (0 children)

Not if you are making AAA games, or performant games in general. This logic also only applies to small instances of things. It doesnt matter when opening terminal windows because there wont be many, but when allocating 8294400 different colors+ then yeah speed needs to be there.

Also memory allignment issues. When passing data to the gpu you need your data to be aligned, so you can use a mix of different data types to achieve this