Concepts in C

WHAT THE FU*K

The Fast Inverse Square Root line of code, ‘i = 0x5f3759df – (i >> 1);’, revolutionized graphics processing in the 90s by efficiently calculating 1/sqrt(x) through bit manipulation and approximation. It exemplified creative programming,…

Read More WHAT THE FU*K
Keep reading

What is Context SwitchingΒ 

The article explains context switching and details the roles of the scheduler and kernel during the process. It highlights how efficient context switching is crucial for multitasking in operating systems, allowing multiple processes to…

Read More What is Context SwitchingΒ 
Keep reading

π‘ͺ𝒂𝒄𝒉𝒆 π‘Ύπ’“π’Šπ’•π’† π‘»π’‰π’“π’π’–π’ˆπ’‰ 𝒂𝒏𝒅 π‘ͺ𝒂𝒄𝒉𝒆 π‘Ύπ’“π’Šπ’•π’† π‘©π’‚π’„π’Œ

Modern computing relies on the efficient interaction of components, particularly involving cache memory. This article explores the Write-Through and Write-Back strategies, detailing their operations, benefits, and drawbacks. Understanding these mechanisms enhances knowledge of the…

Read More π‘ͺ𝒂𝒄𝒉𝒆 π‘Ύπ’“π’Šπ’•π’† π‘»π’‰π’“π’π’–π’ˆπ’‰ 𝒂𝒏𝒅 π‘ͺ𝒂𝒄𝒉𝒆 π‘Ύπ’“π’Šπ’•π’† π‘©π’‚π’„π’Œ
Keep reading

Ellipsis and Variadic

In C, when a function is called, the arguments are typically placed onto the stack, a region of memory. The function retrieves these arguments from the stack based on the function’s known parameter list.…

Read More Ellipsis and Variadic
Keep reading

What is CACHE?

In computing, “cache” is a vital component that enhances processor speed and efficiency by storing frequently used data and program instructions. It leverages the principles of temporal and spatial locality to optimize data access.…

Read More What is CACHE?
Keep reading

Something went wrong. Please refresh the page and/or try again.