Diego Barrancodiagram.hashnode.dev·Apr 16, 2024Rust with diagrams: Ownership 1 - Rust's memory approachBefore understanding Ownership, we should know about Rust's memory approach. Memory: STACK & HEAP Rust has two different ways to handle data in memory: Stack: better performance, first in first out, size and type is known in compile time, fixed size....DiscussRust
Gaurav Goswamigauravgoswami.hashnode.dev·Apr 5, 2024Memory Management In JavaScriptManaging memory manually like we do in C and in some other languages is really painful but in JavaScript we don't have to do that manually that's why JavaScript is a garbage-collected language. In C we can use functions like malloc, free, calloc and ...Discuss·53 readsJavaScript
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·93 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·186 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