Ashishashish735.hashnode.dev·Mar 23, 2024Spring Boot app serving only fixed number of customers for a specific endpointProblem Scenario: - I have a spring boot application that acts as the backend for a frontned application that many users use. it has many rest controllers and hence many end points. One of the endpoints is an excel generation endpoint. But, since I u...DiscussJava
Emmanuel Umeajaghakuemmanuelumeh.hashnode.dev·Mar 11, 2024Understanding Stack Memory and Heap Space in JavaIn the Java ecosystem, The JVM which stands for Java Virtual Machine is what enables java codes machine readable for interpretation. Now when it comes to the memory management, the JVM has two main memory storage, which are the stack and heap. The st...Discuss·1 likeJava
prajuwal singhtechschnieder.hashnode.dev·Feb 20, 2024Understanding Ownership in Rust - Part 1Concept of ownership in Rust is tricky, and has a decent steep learning curve. However, with practice and seeing enough errors in console, which MIT called ‘fighting with the borrow checker’, we will reach a point of understanding where we don't pull...Discussmoveing in rust
Shainil P.S.codeshaine.hashnode.dev·Feb 18, 2024Memory management of Objects in C++Do you know how objects declared in C++ are stored ? . How does this affect your programming ? . in this post i m gonna explain about how objects gets stored in memory. more or like i will talk about the stack and heap then little about pointers. cla...Discuss·10 likesmemory-management
Thomas Nguyenthomasnguyen.hashnode.dev·Feb 5, 2024Understanding Escape Analysis in GolangGolang, also known as Go, is a statically typed, compiled programming language that is simple to use and efficient with memory. One of the key features of Golang is its automatic memory management, which is powered by a garbage collector. The garbage...Discuss·85 readsBack-endgolang
Vikas Kumarvikas02k02.hashnode.dev·Feb 4, 2024Stack and Heap Memory in .NETWhat Happens Internally When We Declare a Variable in a .NET Application? When we declare a variable in a .NET application, it allocates some memory in the RAM. The memory that it allocates in RAM has three things are as follows: Name of the Variabl...Discuss·8 likes·184 reads.NET
Bhanuprakash Eagalabhanuprakasheagala.hashnode.dev·Jan 27, 2024Heap Memory Allocator in C ProgrammingHi System Devs, Hope you are doing well! In this third and final instalment of article, we cover the implementation of the C library functions free(), calloc(), and realloc(). Please Read the following two Parts before proceeding further: PART 1 : In...Discussc programming
Muhammad Bilalmbilal546.hashnode.dev·Jan 24, 2024How does a JavaScript engine work? About Heap, stack, execution context, and call stack in JavaScript in-depthWhat is the difference between Stack and Heap in JavaScript? In JavaScript, memory is divided into two main areas: the stack and the heap. These two areas are used for different purposes and have distinct characteristics. Stack The stack is a region ...Discuss·90 readshow does javascript engine work
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 31, 2023C programs in memoryTo illustrate how a running C program is organized in memory, let's consider a sample C program and then depict its memory layout using an ASCII diagram. The memory of a running C program is typically divided into several segments: Code Section: Con...DiscussC Programmingbss
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 27, 2023Where do your strings live?In C, strings are represented as arrays of characters. There are various ways to declare and define strings, and the allocation of memory for strings depends on how they are declared and defined. String literals: String literals are constant arrays...DiscussC Programmingstring