Clifford Mapesacliffordmapesa.hashnode.dev·a day agoDynamic Memory AllocationIntroduction Most of the memory you've been using has been stored on the stack. A stack is an area of memory where local variables and functions are stored. The variables are pushed onto the stack when called and are popped off when the stack returns...DiscussC programmingc programming
Victor Olatunjivickyjay.hashnode.dev·Dec 2, 2023Memory Allocation in Javascript.Hello there, my grinding developers over the web! Today, we're going to look at how primitive and reference type data is stored in memory in Javascript as a programming language. One thing I really want to mention is that if you're a beginner or even...Discuss·2 likesJavaScript
Pratik MaliforThe Tech Deckthetechdeck.hashnode.dev·Nov 29, 2023Does Partitioning a Drive Erase Data?When it comes to managing data storage, partitioning a drive is a common task. Partitioning divides a drive into separate sections, essentially creating logical sections that operate as independent drives. This can help organize your data and files m...Discussdisk management
Colin J Lacycolinj.hashnode.dev·Nov 28, 2023Better Memory Management in Golang for Lookups Against a Static Data SetWhen you want to check a value against a list of stored values, there are several ways to do it. One way, which is not very performant, is to loop through a slice of values: needle := "three" haystack := []string{ "one", "two", "three" } found := fal...Discuss·1 like·28 readsgolang
Maxwell Nana Forsonthelazyprogrammer0.hashnode.dev·Nov 25, 2023Freeing Dynamic Memory the Right WayIf you have experience working with the C programming language, you understand the importance of managing memory properly to prevent memory leaks. This comes after dealing with various memory-related errors, such as segmentation faults. In this post,...Patrick A. Noblet and 3 others are discussing this4 people are discussing thisDiscuss·11 likes·314 readsdynamic memory allocationGreat piece, Max. Keep cooking...!! 4
Pratik MaliforThe Tech Deckthetechdeck.hashnode.dev·Nov 24, 2023Optimizing Steam To Prevent Memory IssuesSteam is an extremely popular digital game store and platform, with over 120 million active monthly users as of 2023. However, with great utility comes great responsibility for system resources. Steam utilizes background processes and browsers to ena...DiscussGamingSteam
Md Ameenuddin Siddiquiaisemi.hashnode.dev·Nov 20, 2023Brain floatThere is a trend in DL towards using FP16 instead of FP32 because lower precision calculations seem to be not critical for neural networks. Additional precision gives nothing, while being slower, takes more memory and reduces speed of communication. ...DiscussVLSI circuit design
Gabriel Ricardo Urbinagabrielrurbina.hashnode.dev·Nov 16, 2023The hidden cost of temporally allocated objects in JavaScriptIf JavaScript is single-threaded then running this code with one core or with several should make no difference, or should it? const syntheticOp = ({ a, b }) => { let res = []; for (let i = 0; i < 200000 ; i++) { res[i] = { val: a * b...Discuss·4 likes·169 readsperformance
Utkarshblogs.utkarshrajput.com·Nov 16, 2023Understanding Memory Management in JavascriptPrologue Once upon a time in the faraway land of C++ lived two evil twins called malloc() and alloc(). The evil twins controlled every variable and function that wanted to enter certain parts of the city called programs. Slowly and steadily their inf...Discussmemory-management
Satyarth Ojhaprog-bytes.hashnode.dev·Nov 13, 2023Golang Structs Memory Allocation - III shared some of the understandings about how memory is allocated in Go within a struct and how can we make minor tweaks and attain good optimizations in our program. The link to the previous article is here (Golang Struct Memory Allocation). Talk i...Discuss·6 likes·1.1K readsGolanggolang