๐‘ป๐’‰๐’† ๐‘ญ๐’‚๐’Ž๐’Š๐’๐’š ๐’๐’‡ ๐’†๐’™๐’†๐’„()

The exec() family of functions, like execve(), replace the current process with a new one and run it with the same PID. It’s like changing clothes for a person, loading a new program, discarding the old one, and setting up memory for the new program. Different functions in the exec() family have different use cases and analogies, like arranging instruments in a symphony, performing a magic trick, navigating with a map, and solving a mystery in the bustling city streets. Each function has its own specific purpose, and it’s crucial for programmers to choose the right one based on their requirements.

Read More ๐‘ป๐’‰๐’† ๐‘ญ๐’‚๐’Ž๐’Š๐’๐’š ๐’๐’‡ ๐’†๐’™๐’†๐’„()

ย ๐€ ๐’๐ก๐จ๐ซ๐ญ ๐ฐ๐ซ๐ข๐ญ๐ž ๐ฎ๐ฉ ๐จ๐ง ๐ฉ๐ญ๐ก๐ซ๐ž๐š๐ ๐Ÿ๐ฎ๐ง๐œ๐ญ๐ข๐จ๐ง๐ฌ

The pthread library is vital for multithreaded programming in Linux. It provides functions for thread creation, deletion, and management, such as pthread_create, pthread_exit, pthread_self, pthread_join, pthread_detach, pthread_mutex_init, and more. These functions enable efficient utilization of system resources and enhanced program performance.

Read More ย ๐€ ๐’๐ก๐จ๐ซ๐ญ ๐ฐ๐ซ๐ข๐ญ๐ž ๐ฎ๐ฉ ๐จ๐ง ๐ฉ๐ญ๐ก๐ซ๐ž๐š๐ ๐Ÿ๐ฎ๐ง๐œ๐ญ๐ข๐จ๐ง๐ฌ

About Operating Systems

In todayโ€™s technological era, embedded systems have become an integral part of our daily life. From smart homes to smart cities, embedded systems are everywhere, and they are making our lives easier and more comfortable. Embedded systems are designed to perform specific tasks, and they are often used in applications where reliability and efficiency are […]

Read More About Operating Systems

The allocators behind dynamic memory allocators

We know the common memory allocators as ๐ฆ๐š๐ฅ๐ฅ๐จ๐œ(), ๐œ๐š๐ฅ๐ฅ๐จ๐œ(), ๐ซ๐ž๐š๐ฅ๐ฅ๐จ๐œ(). Although having a different functionality, almost all of the above function as the same. ๐Œ๐š๐ฅ๐ฅ๐จ๐œ() allocates a chunk of memory with respect to the data type they are provided with.๐’๐ฒ๐ง๐ญ๐š๐ฑ: pointer = (typecast*) malloc(byte-size) ๐‚๐š๐ฅ๐ฅ๐จ๐œ() allocates given chunk of memory with size of each element, […]

Read More The allocators behind dynamic memory allocators

Some UNIX Utilities

GREP: Exploration of the metacharacters: ^ – It matches the beginning of a line $ – It matches the end of a line \ – It matches with a character placed next to it. Ex; * matches with the character * (asterisk) , \, with a comma, ] with a closing rectangular bracket and so […]

Read More Some UNIX Utilities

Stages of a Compiler

( Stage-1 ) About Preprocessor: ( Stage-2 ) About Compiler: ( Stage-3 ) About Assembler: ( Stage-4 ) About Liner or Link Editor: ( Stage-5 ) About Librarians and Libraries: During linking, a standard library, libc.a is automatically linked. If gcc -c is used:– The code is compiled but not linked. If gcc -Dname is […]

Read More Stages of a Compiler

Memory weaved by hand – THe LVDC

The Launch Vehicle Digital Computer a.k.a LVDC is one of the critical components of the Saturn V launch. LVDC is the computer that provided the autopilot for Saturn V from launch to Earth Orbit Insertion. LVDC is designed and manufactured by IBMโ€™s Electronics System Center. It is considered as one of the technologically advanced memory […]

Read More Memory weaved by hand – THe LVDC

A post about the modern world

There are more ideas in this sarcastic real world where idealists starve for perfection. A thought taken,ย  aย  word spoken,ย  these things are just soo easily misunderstood in this modern world.ย Talking about the modern world,ย  we people live in such a growing technology with such a growth of imperfection of thoughts.ย  We haveย  Freedom in […]

Read More A post about the modern world

THE DECISION ON AN OPINION

Caring about others opinion.Let’s try to address and understand the fundamentals on why we do that. Essentially, we were grown up by opinions. Every part of our life, we are surrounded with opinions of other people. During childhood, in most cases, we were forced to choose others opinion. During schooling or college days, we again […]

Read More THE DECISION ON AN OPINION

THE GAME OF THOUGHT AND HEART

Heart, a lovely organ in our body that keeps this life alive. It doesn’t just pump the blood, it goes beyond the complexities of life. Although the cover of the heart is biological, the experiences it takes our body and mind through is multi-dimensional. Love, hate, pain,fear, happiness, sadness, depression, ecstasy… every feeling we go […]

Read More THE GAME OF THOUGHT AND HEART