Feb 14 · 4 min read · Understanding JVM memory is one of those topics that appears deceptively simple but is frequently explained with a mixture of intuition and myth. Many developers hear statements like “the heap stores addresses” or “objects contain methods,” which sou...
Join discussion
Jan 24 · 3 min read · පරිගණක ක්රමලේඛනයේදී (Computer Programming) memory කළමනාකරණය (Memory Management) ඉතා වැදගත් වේ. ඕනෑම මෘදුකාංගයක් ක්රියාත්මක වන විට, එයට අවශ්ය දත්ත ගබඩා කර තබා ගැනීමට RAM (Random Access Memory) භාවිතා කරයි. මෙම මතකය(Random Access Memory) ප්රධාන වශය...
Join discussion
Jul 11, 2025 · 6 min read · Tail Call Optimization (TCO) is a compiler or interpreter feature that optimizes certain kinds of function calls—specifically, tail calls—to avoid adding a new stack frame for each call. This allows recursive functions to execute in constant stack sp...
Join discussion
Jul 8, 2025 · 4 min read · In computer science, the stack is an important concept. In reality also, the stack is a crucial part of the execution of an assembly program written in a higher-level language. From clicking a button on screen to sending a payload to space, the conce...
Join discussion
Jul 6, 2025 · 4 min read · Memory management is essential in programming, as it influences how code executes. All elements, including variables, loops, and functions, require effective memory allocation to operate efficiently. In JavaScript, memory management involves two prim...
Join discussion
Jun 26, 2025 · 1 min read · Heap and stack memory are both used during program execution, each serving a distinct purpose. Stack- Stack memory is used for method execution. Every time a method is called stack memory is used- It stores local variable, method call and reference v...
Join discussion
Jun 11, 2025 · 4 min read · In JavaScript, objects are one of the most powerful data structures used to represent real-world entities. But behind the scenes, there's a whole world of memory management concepts like stack, heap, garbage collection, and memory leaks. This article...
Join discussionApr 28, 2025 · 3 min read · When writing programs, developers often focus on algorithms, features, and user experience. But behind the scenes, your program needs somewhere to put its data. That’s where memory comes into play — and two critical types of memory are stack and heap...
Join discussion
Feb 11, 2025 · 4 min read · What is Array? An array is a data structure that allows you to store multiple elements of the same data type in a contiguous block of memory. Each element can be accessed using an index. Arrays are dynamically created objects in java which means → C...
Join discussion