<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nijat Ismayilov on Medium]]></title>
        <description><![CDATA[Stories by Nijat Ismayilov on Medium]]></description>
        <link>https://medium.com/@nismayil.dev?source=rss-a9e5f8e7e039------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wlvQm4l_QmwfBaeH</url>
            <title>Stories by Nijat Ismayilov on Medium</title>
            <link>https://medium.com/@nismayil.dev?source=rss-a9e5f8e7e039------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:54:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nismayil.dev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Concurrency vs Parallelism in OS level part 1/3 — Premises]]></title>
            <link>https://medium.com/@nismayil.dev/concurrency-vs-parallelism-in-os-level-part-1-3-premises-5d48470afc19?source=rss-a9e5f8e7e039------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d48470afc19</guid>
            <category><![CDATA[os-development]]></category>
            <category><![CDATA[concurrency]]></category>
            <category><![CDATA[parallelism]]></category>
            <dc:creator><![CDATA[Nijat Ismayilov]]></dc:creator>
            <pubDate>Sun, 01 Feb 2026 14:21:22 GMT</pubDate>
            <atom:updated>2026-02-01T14:21:22.107Z</atom:updated>
            <content:encoded><![CDATA[<h3>Concurrency vs Parallelism in OS level part 1/3 — Premises</h3><p>These ideas are same in various domains of Software Engineering.</p><p>Concurrency is multitaksing. It’s structuring tasks so that they can progress independently. Kernel runs different tasks in various order with pauses depending on some conditions (e.g. locked mutexes, waiting for prev process to finish etc.). This can be achieved in OS level using 1. Child processes, 2. Threads.</p><p>Parallelism on the other hand executes all the tasks simultanously in parallel. GPUs work heavily on parallelism which is the reason to have large number of cores that can handle compute heavy tasks.</p><p>I thought that if I use multiple threads that aren’t sharing resources (locking the same mutex), I would force parts of my program run in parallel but that’s not the case. It may or may not run in parallel.</p><p>The reality is that parallelism can’t be forced by software only, it depends on the hardware and OS scheduler. Even if threads don’t block each other, the CPU decides when and where each thread runs. On a single-core CPU, threads still time-share the core — so it’s still technically concurrent, not truly parallel. True parallelism requires multiple cores or execution units.</p><p>Key takeaway:<br>Concurrency: You design tasks that can progress independently, interleaving execution.</p><p>Parallelism: Multiple tasks actually run at the same time, but that requires hardware support.</p><p>In the next part, I’ll break down how this works specifically with processes vs threads in OS-level concurrency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1tbiNOXnwKDh2xzRdSzmww.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d48470afc19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Past Quarter Century for Tech]]></title>
            <link>https://medium.com/@nismayil.dev/past-quarter-century-for-tech-c192127c1a50?source=rss-a9e5f8e7e039------2</link>
            <guid isPermaLink="false">https://medium.com/p/c192127c1a50</guid>
            <category><![CDATA[tech-innovation]]></category>
            <category><![CDATA[reflections]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[innovation]]></category>
            <dc:creator><![CDATA[Nijat Ismayilov]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 13:03:41 GMT</pubDate>
            <atom:updated>2026-01-28T13:03:41.823Z</atom:updated>
            <content:encoded><![CDATA[<p>We have left a quarter of century behind. <br>What did this period look like for technology? 🤔 💻 🚀</p><p>~2000–2003 — Cheap compute &amp; storage made CPUs, RAM, and disks abundant enough that software stopped optimizing for scarcity (x86 PCs, commodity HDDs).</p><p>~2000–2005 — The Internet at scale enabled global machine-to-machine communication (TCP/IP, broadband, early fiber).</p><p>~2001–2006 — Search &amp; indexing turned the web from noise into usable knowledge (Google, PageRank).</p><p>~2003–2010 — Open-source software converted software into reusable infrastructure (Linux, Git, GCC, MySQL).</p><p>~2006–2012 — Virtualization → cloud computing abstracted hardware ownership away from builders (VMs, AWS).</p><p>~2007–2015 — Smartphones &amp; sensors put networked computers directly into the physical world (iPhone, GPS, cameras, accelerometers).</p><p>~2012–2018 — Data + GPUs made machine learning economically useful at scale (CUDA, ImageNet, recommender systems).</p><p>~2018–2024 — Foundation models unified perception, language, and reasoning under a single abstraction (transformers, LLMs).</p><p>~2015–2024 — Iterative hardware engineering applied software-like iteration to atoms (reusable rockets, rapid manufacturing).</p><p>~2020+ — Frontier computation started probing physical limits rather than software limits (quantum computing, advanced materials).</p><p>Of course there are so much innovation tha happened in other niche fields as well but overall consistent pattern has been:</p><p>lower the cost of experimentation → collapse complexity → unlock new classes of capability.</p><p>That’s not hype — that’s how progress compounded.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c192127c1a50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3D Objects on a Flat Display ]]></title>
            <link>https://medium.com/@nismayil.dev/3d-objects-on-a-flat-display-8bb3c9a49b0d?source=rss-a9e5f8e7e039------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bb3c9a49b0d</guid>
            <category><![CDATA[pet-project]]></category>
            <category><![CDATA[learn-by-doing]]></category>
            <category><![CDATA[computer-graphics]]></category>
            <category><![CDATA[ecole-42]]></category>
            <category><![CDATA[42-lisboa]]></category>
            <dc:creator><![CDATA[Nijat Ismayilov]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 12:57:10 GMT</pubDate>
            <atom:updated>2026-01-28T12:57:10.433Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.linkedin.com/search/results/all/?keywords=%23fildefer&amp;origin=HASH_TAG_FROM_FEED">#FildeFer</a> is one of the graphics projects at <a href="https://www.linkedin.com/company/42-lisboa/">42 Lisboa</a> where we are expected to create a 3d wirefreame program you can see below. There are several interesting aspects to it, so let’s briefly view them.</p><p>1. Window management library (minilibx) that creates the window and manages it’s functionality with hooks. Also, creating an empty image and putting it in that window. It’s relatively standard and straightforward.</p><p>2. Isometric projection — tweaking angles of the objects to make them look like 3D. Imagine a rectangle and then holding from left up corner you rotate it 45 degrees clockwise and squeeze it from top and bottom. To add the third dimension, all we need to do is to modify Y values with a adapted scale of the Z value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*bZsEk3zpabNnh8kPgceJIg.gif" /></figure><p>Converting every point (x, y, z) to it’s new coordinates to create <a href="https://www.linkedin.com/search/results/all/?keywords=%23isometric&amp;origin=HASH_TAG_FROM_FEED">hashtag#Isometric</a> projection -&gt;</p><p>new_x = round((x — y) * 0.8660254037844386); // cos(30°)<br> new_y = round((x + y) * 0.5 — z * z_scale); // sin(30°)</p><p>3. Drawing a line — may sound simple but there’s more to it. Given the screen is a grid of pixels (small rectangular boxes), the way to draw anything on the screen is to color those pixels in a pattern that will be a picture in a certain resolution. Now, in that basis, drawing a line parallel to X or Y axis is very straightforward. However, what about a diagonal line that will need to cross more than one pixel in many points. Well for that an algorithm is needed to decide which pixcel to color and for that, I used Brehensam’s algorithm that maxed the choice based on the distance from each pixel for any point in the line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*VppXtpiWHNOuMBZeb6OgFA.jpeg" /></figure><p>With these, all the interesting points abuot this project is covered! If you would like to give it a go, feel free to search the project and create your version.</p><p>My program: <a href="https://lnkd.in/encyyMNq">https://lnkd.in/encyyMNq</a></p><p><a href="https://www.linkedin.com/search/results/all/?keywords=%23computergraphics&amp;origin=HASH_TAG_FROM_FEED">hashtag#computergraphics</a> <a href="https://www.linkedin.com/search/results/all/?keywords=%23fdf&amp;origin=HASH_TAG_FROM_FEED">hashtag#fdf</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*aTCx6rl2TFETU0eq-tQKPQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bb3c9a49b0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to C Programming]]></title>
            <link>https://medium.com/@nismayil.dev/introduction-to-c-programming-b5b1de77039e?source=rss-a9e5f8e7e039------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5b1de77039e</guid>
            <dc:creator><![CDATA[Nijat Ismayilov]]></dc:creator>
            <pubDate>Fri, 27 Dec 2024 04:10:52 GMT</pubDate>
            <atom:updated>2024-12-27T04:27:22.135Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello and welcome! Today we’re going to talk about everything you need to know to start programming in C. We’re going to talk about the language overview, variables, and functions.</p><h4>C Language Overview</h4><p>C is a mid-level language. What it means is that it has high-level specifications and it has low-level specifications. High level means that it’s closer to English, to human language, and low level means that it’s closer to machine language. With that in mind, the high-level aspect of C is that it has structured programming constructs like loops conditionals, and functions as in other higher-level languages. At the same time, it has low-level aspects such as managing the memory manually and close interaction with hardware. C language is highly efficient, and very portable given its compatibility with various architectures, being one of the most fundamental and older languages. It has a wide variety of applications such as operating systems, embedded systems (meaning electronic devices and so on), and performance-critical applications. It’s also statically typed meaning when defining variables, the program should know what type of value that variable is going to hold. Typing helps to prevent some basic errors that might happen while running the program in compile time. Now we are going to talk about what compile time means later.</p><h4>C vs Python</h4><p>Let’s compare C to more modern and high-level languages like Python.</p><ul><li><strong>Compilation:</strong> C needs compilation while Python doesn’t. For an idea, compilation is a process of converting C code into machine code before we can run our program. As Python is an interpreted language, the compilation is done by an interpreter software behind the scenes. While it’s easier, it also means that the programmer doesn’t have control over the compilation process.</li><li><strong>Performance</strong>: C is faster due to direct compilation, whereas Python is slower but easier for prototyping.</li><li><strong>Memory Management:</strong> In contrast to C, Python doesn’t require manual memory management but that also increases the overhead decreasing the memory efficiency of the program.</li><li><strong>Libraries:</strong> Python has many more modern libraries compared to C facilitating easier prototyping.</li></ul><p>To summarize, C is a fundamental language with which developers can build everything from the ground up customizing every step to achieve highly performant and customised solutions. Whereas Python is much faster for prototyping by using a lot of the readily-available libraries without having as much of control over the program. So they both have their use cases. Now that we know more about see, let’s understand <strong>compilation</strong>.</p><h4>Compilation</h4><p>C programs usually consist of header files (.h) (including libraries, macros, etc.) and the c files (.c) with code. The .h and .c file extensions help the computer to understand how to interpret the content of the files. For now, don’t worry about header files (.h). Just remember that we have a bunch of code files, that goes to the preprocessor. The <strong>preprocessor</strong> just reviews the files and remembers if there are macros, removes comments, etc. Then the code is passed to the <strong>compiler</strong>. The <strong>compiler</strong> compiles that code to assembly code and passes it to the <strong>assembler</strong>. The <strong>assembler</strong> converts the assembly code into machine code. At this point, there are several (.o) files with the code that the machine can understand. In the last step, all these (.o) files are sent to the <strong>linker</strong> so that all the machine code can be linked together to create one executable file, our program (.out).</p><figure><img alt="https://www.stackzero.net/compilation-process-in-c/" src="https://cdn-images-1.medium.com/max/794/0*vlnwGDWSl-iiJXlx" /><figcaption>Compilation process flow</figcaption></figure><h4>Variables</h4><p>Here are the main variable types:</p><p><strong>Integer:</strong></p><p><em>Types: short, int, long, long long and unsigned versions of those</em></p><p>The integer types represent whole numbers and vary for two factors: the size of the number they can hold, and whether the number they hold can be negative or not. So unsigned versions of any integer type can only hold positive values. While both int and unsigned int occupy the same amount of memory, unsigned int can hold bigger positive values as all of its memory is used to store positives. Whereas, int’s memory is divided using half for positive and the other half for negative values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4LfK7wMPRkgYHuZnuNhD-w.png" /></figure><p><strong>Floating-point:</strong></p><p><em>Types: float, double, and long double</em></p><p>Floating-point variables are holding decimal numbers. And this, it has three types and those varies for the the number of decimal digits they can save accurately, precision. You might think that if we save pi in floating-point type variable, computer’ll save all its digits with precision. But that’s incorrect. Because of the way the computer work and limited memory that each type of variable holds, it can only save limited number of digits with 100% accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZg1DVl8U65zYCbTT5bzNw.png" /></figure><p><strong>Character:</strong></p><p><em>Types: char and unsigned char</em></p><p>Character types represent characters like the letters of alphabet that we use in daily life and many others that we don’t. Computer understand that a value is a character if we define a variable using these types (e.g. char var = ‘C’). However, every character has a numeric representation for computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pNEDwZQHOY3E2AB7bHMiag.png" /></figure><p>There is an ASCII table to help us understand the numeric representation of each character. According to ASCII, ‘A’ = 65 and ‘1’ = 49. Now it’s interesting, isn’t it? This ‘1’ is not same as 1, the number. And the way the computer knows how to interpret it as character is the single quotation marks. The number 1 is SOH char for computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/0*3FNXKU-3MBxGx5B-" /><figcaption>ASCII table</figcaption></figure><p><strong>Void:</strong></p><p>Void is “nothing” type. We will see it in example as well.</p><h4>Functions</h4><p>Let’s think of a simple mathematical formula that we all know:</p><p>SUM = X + Y</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*lhunoGOySRyO9h2pVOxp4A.png" /></figure><p>What is the input for our formula? X and Y, two numbers. <br>And what’s the output? Output is SUM. So something happened in the middle box and then we got the desired output. That’s called algorithm. Whatever steps that are executed to manipulate the input and get the desired output is algorithm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*ZzVw2Wr4qGfEaANF-ygB9g.png" /><figcaption>Function syntax in C</figcaption></figure><p>Let’s look at the syntax of functions in C. First, we need the type of the value function is going to return (int), then the name of the function (add), and then its parameters (input) with their types inside braces. As I said, C is a statically typed language. It means that every variable you create or every function that you define should present what type of value (variable types we talked about) to expect from them. And inside the curly braces, there’s a function body, where we execute the algorithm.</p><p>Briefly, our add function takes two whole numbers as input, creates another variable to save the sum of those input values, and returns that sum variable. Simple as that, we have our first function.</p><p>If you would like to see me explain all these and do practice coding, you can watch my video here: <a href="https://www.youtube.com/watch?v=kqwsfYu_IDs&amp;pp=ygULY29kZTJiZWJvcm4%3D">Intro to C programming</a>.</p><p>Thanks for reading! Leave a comment on topics you want me to cover.</p><p>Find me here: <a href="https://github.com/nijat21?source=user_about----------------------a9e5f8e7e039---------------">GitHub,</a> <a href="https://www.linkedin.com/in/nijat-ismayilov/?source=user_about----------------------a9e5f8e7e039---------------">LinkedIn</a>, <a href="https://www.youtube.com/@codetobeborn?source=user_about----------------------a9e5f8e7e039---------------">YouTube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5b1de77039e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>