Darshit Anjariadarshitanjaria.hashnode.dev·13 hours agoMastering Memory Management in JavaScript: A Deep Dive into Garbage CollectionIntroduction In any programming language, managing memory efficiently is crucial to building high-performance applications. JavaScript, despite being a high-level language, handles memory management for you through a process called Garbage Collection...DiscussJavaScript
Shreyas DhawareforFutureSmart AI Blogblog.futuresmart.ai·Oct 24, 2024How to Build LangGraph Agent with Long-term MemoryIntroduction The future of AI depends on solving a key issue with large language models (LLMs): their inability to retain long-term information during extended conversations. This limitation can lead to inaccurate responses in fields like healthcare ...Discuss·34 readsUltimate Langraph Tutorialaimemory
Jival Jensonwilt.hashnode.dev·Oct 23, 2024WILT - Garbage Collection in the JVM: A Modern Deep DiveWhen writing code in high-level languages like Java, one of the biggest advantages we enjoy is automatic memory management. Developers don’t have to worry about manually allocating or freeing memory, thanks to a behind-the-scenes hero called Garbage ...DiscussJava
Sai Prasanna Maharanasaimaharana.hashnode.dev·Oct 23, 2024How GIL works in python?The Global Interpreter Lock (GIL) is a mutex (a mutual exclusion lock) that protects access to Python objects, preventing multiple threads from executing Python bytecodes at once in the CPython interpreter. This means that in a multi-threaded Python ...DiscusspythonPython
Sai Prasanna Maharanasaimaharana.hashnode.dev·Oct 23, 2024How python allocates memory internally?Certainly! Let's delve deeper into how Python allocates memory internally, exploring the underlying mechanisms, data structures, and algorithms involved. We'll focus on CPython, the reference implementation of Python, as it provides concrete examples...DiscusspythonPython
Nihal Wasimwal64.hashnode.dev·Oct 20, 2024Understanding and Leveraging Go's sync.Pool for Efficient Object ReuseGo/Golang, is a statically typed, compiled language designed for simplicity and efficiency. One of its powerful concurrency features is the sync package, which includes various synchronization primitives. Among these is sync.Pool, a powerful tool for...Discuss·63 readsGo Language
Seif MohamedforRandom C++ Subjectsrandom-c-subjects.hashnode.dev·Oct 13, 2024Memory Model in C++ (Gone in 60 Bytes: The Tale of Escaping Memory Leaks)The C++ memory model defines how a program organizes and manages memory during its execution. Understanding this model is crucial for effective programming, as it helps developers manage resources, optimize performance, and avoid common issues like m...Discusssoftware development
Bikash Nishankbikash-nishank.hashnode.dev·Oct 13, 2024JVM Architecture in Depth Understanding1. Introduction to Java Virtual Machine (JVM) 1.1 What is the JVM? The Java Virtual Machine (JVM) is a virtual environment responsible for running Java applications. When you write Java code and compile it, the Java compiler (javac) transforms the hu...DiscussClass Loader
Harald Branavanwhy-programmers-need-linux.hashnode.dev·Oct 8, 2024Why Learning C is Essential to Becoming a Better ProgrammerThe Foundation of All Programming Languages In the fast-paced world of technology, where new programming languages and frameworks emerge every day, one language has stood the test of time: C. Often referred to as the "father of all programming langua...Discusswhyc
Mostafa Youssefmostafaelsawy.hashnode.dev·Oct 5, 2024[7] Understanding Paging in Computer SystemsAs we discussed in segmentation, we fixed the problem by dividing memory into variable-sized pieces. Unfortunately, this solution has its own issues. When you split space into variable-sized chunks, it can become fragmented, making allocation harder ...Discuss·42 readsOperating Systems Three Easy Piecesoperating system