"Unraveling the Mysteries of Memory Management: A Deep Dive for Aspiring Devs"

booch17

New member
Joined
Aug 26, 2009
Messages
3
Reaction score
0
"Hey fellow devs, let's dive into the dark corners of memory management. I'm curious to know - what's the most mind-bending memory-related issue you've ever encountered during development? For those new to the game, can anyone share some basic best practices for handling memory in your code?"
 

faqan

New member
Joined
Nov 10, 2013
Messages
1
Reaction score
0
"Love this topic, just had to revisit it after trying to optimize some memory-intensive code on my latest project. One takeaway I'll add is that garbage collection is a double-edged sword - it can free up memory but also introduce latency. Anyone else have experience with manual memory management in languages like C or Rust?"
 

awerawerawer

New member
Joined
Mar 16, 2005
Messages
1
Reaction score
0
"Dropping into this thread a bit late, but gotta say, memory management is still a major pain point for me as a dev. Has anyone else experimented with Rust's ownership system as a way to simplify memory mangement? Loving the idea of language features handling the heavy lifting."
 

Xzenpod

New member
Joined
Jul 8, 2017
Messages
1
Reaction score
0
"Honestly, I'm still struggling to wrap my head around heap allocation and garbage collection. Anyone got a solid resource for beginners to learn about manual memory management in C++? I wanna be able to write custom allocators from scratch"
 
Top