<?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 Lalropuia Sailo on Medium]]></title>
        <description><![CDATA[Stories by Lalropuia Sailo on Medium]]></description>
        <link>https://medium.com/@lalropuia.sailo22?source=rss-41b37da831cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*O6pnENTFb_CqFxxl</url>
            <title>Stories by Lalropuia Sailo on Medium</title>
            <link>https://medium.com/@lalropuia.sailo22?source=rss-41b37da831cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 09:22:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lalropuia.sailo22/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[GPU vs CPU in Parallel Computing: Performance Comparison and Real-World Applications]]></title>
            <link>https://medium.com/@lalropuia.sailo22/gpu-vs-cpu-in-parallel-computing-performance-comparison-and-real-world-applications-8cff2830d6a5?source=rss-41b37da831cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cff2830d6a5</guid>
            <dc:creator><![CDATA[Lalropuia Sailo]]></dc:creator>
            <pubDate>Fri, 08 May 2026 02:01:53 GMT</pubDate>
            <atom:updated>2026-05-08T02:01:53.536Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Modern technologies such as Artificial Intelligence, machine learning, gaming, scientific simulations, and big data analytics require extremely high computational power. Traditional sequential computing methods are often too slow for handling such massive workloads efficiently. This led to the development of <strong>parallel computing</strong>, where multiple calculations are performed simultaneously to improve speed and performance.</p><p>Two major processors used in parallel computing are the <strong>Central Processing Unit (CPU)</strong> and the <strong>Graphics Processing Unit (GPU)</strong>. Although both perform computations, they are designed differently and are suitable for different types of tasks. CPUs are optimized for general-purpose and sequential processing, while GPUs are designed for handling thousands of parallel operations simultaneously.</p><p>Today, GPUs have become essential in technologies such as ChatGPT, deep learning, scientific research, and advanced graphics rendering due to their powerful parallel processing capabilities.</p><h3>What is Parallel Computing?</h3><p>Parallel computing is a method of processing where multiple tasks or calculations are executed at the same time instead of sequentially. Large problems are divided into smaller tasks and distributed among multiple processors or cores to reduce execution time and improve efficiency.</p><p>For example, instead of one processor calculating thousands of operations one after another, multiple processors can work simultaneously, greatly increasing speed and performance.</p><p>Parallel computing is widely used in:</p><ul><li>Artificial Intelligence</li><li>Gaming</li><li>Scientific simulations</li><li>Image and video processing</li><li>Weather forecasting</li><li>Big data analytics</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQP-J4lySkz3OghpOMLoew.png" /></figure><h3>Understanding CPU</h3><p>The <strong>CPU (Central Processing Unit)</strong> is known as the brain of the computer. It controls system operations, executes instructions, and handles general-purpose computing tasks.</p><p>CPUs are designed with:</p><ul><li>fewer but powerful cores,</li><li>large cache memory,</li><li>and high clock speeds.</li></ul><p>They are optimized for:</p><ul><li>sequential processing,</li><li>multitasking,</li><li>logical operations,</li><li>and decision-making tasks.</li></ul><p>CPUs perform very well in applications such as:</p><ul><li>operating systems,</li><li>web browsers,</li><li>office software,</li><li>and database management systems.</li></ul><p>However, CPUs are less efficient for large-scale parallel computations because they contain a limited number of cores.</p><h3>Understanding GPU</h3><p>The <strong>GPU (Graphics Processing Unit)</strong> was originally developed for graphics rendering and gaming. Over time, GPUs became widely used in Artificial Intelligence, machine learning, scientific computing, and high-performance computing.</p><p>Unlike CPUs, GPUs contain:</p><ul><li>hundreds or thousands of smaller cores designed for parallel execution.</li></ul><p>GPUs are extremely efficient for repetitive mathematical operations such as:</p><ul><li>matrix multiplication,</li><li>image rendering,</li><li>neural network training,</li><li>and scientific simulations.</li></ul><p>Because many operations can be processed simultaneously, GPUs provide much higher throughput compared to CPUs in parallel workloads.</p><h3>CPU vs GPU Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*htAYWnNReq8kh3GFBnZ-2w.png" /></figure><p>The main difference between CPUs and GPUs lies in their architecture and design goals.</p><p>A CPU focuses on:</p><ul><li>low latency,</li><li>complex instruction handling,</li><li>and sequential task execution.</li></ul><p>A GPU focuses on:</p><ul><li>high throughput,</li><li>massive parallelism,</li><li>and simultaneous data processing.</li></ul><p>While CPUs contain a small number of highly powerful cores, GPUs contain thousands of lightweight cores capable of handling many tasks simultaneously.</p><h3>Performance Comparison Between CPU and GPU</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*07KQ8QH0DQ9MtMCwqta1Qg.png" /></figure><h3>GPU in Artificial Intelligence</h3><p>Modern AI systems such as ChatGPT rely heavily on GPUs. Training deep learning models involves billions of mathematical calculations, especially matrix and tensor operations.</p><p>GPUs accelerate:</p><ul><li>neural network training,</li><li>data processing,</li><li>image recognition,</li><li>and natural language processing.</li></ul><p>Without GPUs, training advanced AI models would take extremely long periods of time.</p><p>Large technology companies use massive GPU clusters to train and deploy AI systems efficiently.</p><h3>Real-World Applications</h3><p>GPUs and parallel computing are widely used in many industries.</p><h3>Artificial Intelligence</h3><p>Used for:</p><ul><li>ChatGPT,</li><li>image generation,</li><li>recommendation systems,</li><li>and voice assistants.</li></ul><h3>Gaming and Graphics</h3><p>GPUs render:</p><ul><li>realistic 3D graphics,</li><li>shadows,</li><li>lighting,</li><li>and visual effects.</li></ul><h3>Scientific Research</h3><p>Used in:</p><ul><li>climate modeling,</li><li>astronomy,</li><li>molecular simulations,</li><li>and medical research.</li></ul><h3>Video Editing and Animation</h3><p>Applications such as Blender and Adobe Premiere Pro use GPUs for faster rendering and real-time editing.</p><h3>Medical Applications</h3><p>GPUs assist in:</p><ul><li>MRI analysis,</li><li>disease detection,</li><li>and AI-assisted diagnosis.</li></ul><h3>Advantages and Challenges</h3><p>The major advantage of GPUs is their ability to perform massive parallel computations very quickly. This improves AI training speed, graphics rendering, and scientific simulations.</p><p>However, GPUs also have some challenges:</p><ul><li>high power consumption,</li><li>expensive hardware,</li><li>heat generation,</li><li>and complex programming models.</li></ul><p>CPUs remain important because they are more flexible and better suited for general-purpose computing and sequential operations.</p><h3>Future Scope</h3><p>The future of computing will increasingly depend on parallel processing technologies. Emerging technologies such as:</p><ul><li>AI accelerators,</li><li>quantum computing,</li><li>neuromorphic processors,</li><li>and advanced GPU architectures</li></ul><p>will further improve computational performance and efficiency.</p><p>Future systems will likely combine CPUs, GPUs, and specialized AI processors to handle increasingly complex workloads.</p><h3>Conclusion</h3><p>CPUs and GPUs both play essential roles in modern computing systems. CPUs are optimized for sequential and general-purpose tasks, while GPUs are specialized for large-scale parallel processing.</p><p>With the rapid growth of Artificial Intelligence, deep learning, gaming, and scientific computing, GPUs have become a critical component of high-performance computing systems. However, CPUs and GPUs work best together, combining flexibility and computational power to solve complex real-world problems efficiently.</p><p>Parallel computing continues to transform modern technology by enabling faster processing, advanced AI systems, and large-scale scientific discoveries.v</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cff2830d6a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ALGOL PROGRAMMING LANGUAGE]]></title>
            <link>https://medium.com/@lalropuia.sailo22/algol-programming-language-4aa1e1fca43a?source=rss-41b37da831cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4aa1e1fca43a</guid>
            <category><![CDATA[algol-programming]]></category>
            <dc:creator><![CDATA[Lalropuia Sailo]]></dc:creator>
            <pubDate>Thu, 28 Nov 2024 17:01:35 GMT</pubDate>
            <atom:updated>2024-11-29T04:40:41.052Z</atom:updated>
            <content:encoded><![CDATA[<p>TY-C (GROUP 60)</p><p>Most computer scientists are familiar with the ALGOL programming language. Introduced in 1958, ALGOL (an acronym for algorithmic language), was one of the first programming languages. Like COBOL and Fortran, ALGOL is a compiled language. Fortran was introduced in the mid-1950s, just a few years before ALGOL.</p><p>ALGOL was designed to be a more versatile language than the Fortran of the time. ALGOL is important in the history of computing mainly because its syntax acted as the inspiration for many other languages, including C and Pascal. BEGIN… END designators for code blocks were part of ALGOL, a feature found in Pascal. The ALGOL syntax was specified using Backus–Naur Form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*vObN7n3_760t1Xj75--PqA.gif" /></figure><p><em>A BNF definition for a U.S. postal address. Note the assignment operator, </em><strong><em>::=</em></strong><em>, and the “or” symbol, </em><strong><em>|</em></strong><em>.</em></p><p>One feature of ALGOL is lexical scoping. This essentially means that variables can be local to a function. This bane of novice programmers, who scratch their heads wondering why their code gives the wrong results, is a very effective feature. It allows easy reuse of code and the calling of external functions without data collisions.</p><p>Long before ALGOL, there was Algol. Algol is the second-brightest star in the constellation, Perseus. Algol is a variable star about 93 light years from Earth. It’s magnitude changes with a regular period of 2.87 days. Superimposed on this periodicity is another, smaller period of 680.05 days.</p><p>Algol in the constellation, Perseus. Algol is also known as β-Persei, since it’s the second brightest star of the constellation. The brightest star, Mirfak, is also known as α-Persei.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*Npk19Y66anxzfJHjG6OQeQ.gif" /><figcaption><a href="http://commons.wikimedia.org/wiki/File:Perseus_constellation_map.svg"><em>(Modified Wikimedia Commons image)</em></a><em>)</em></figcaption></figure><p>Algol’s brightness changes not because the star itself changes. Algol has a dimmer companion star that orbits it and obscures some of its light as seen from Earth. It’s an eclipsing_binary system. There’s a third star that adds its own contribution to the brightness change on a longer period. As can be seen from the figure, the brightness change is considerable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*U_GScGrI2aa13VR-_KQcZw.gif" /><figcaption><em>Light curve of Algol in the vicinity of its magnitude dip.</em></figcaption></figure><p>Stellar apparent magnitude is a logarithmic scale in which each magnitude corresponds to a brightness change of 2–1/2 times.</p><p>The discovery of Algol’s variable brightness was made by Geminiano Montanari, an Italian astronomer, in 1667. Its periodicity wasn’t determined until 1783 by English astronomer John Goodricke, who even proposed the eclipsing binary mechanism. A century later, spectroscopic studies showed a Doppler shift in Algol’s spectrum, which confirmed that it and some companion were orbiting about a common center.</p><p>Lest modern astronomers congratulate themselves too heartily, Algol’s name in several languages translates to “demon.” The idea of a dragon devouring Andromeda is likely based on this ancient image.<br>Algol was the first of its kind discovered, and hence was named for the eclipsing binary phenomenon.</p><h3>References:</h3><ol><li>L. Jetsu, S. Porceddu, J. Lyytinen, P. Kajatkari, J. Lehtinen, T. Markkanen and J. Toivari-Viitala, “Did the ancient Egyptians record the period of the eclipsing binary Algol — the Raging one?” arXiv Preprint Server, April 27, 2012</li><li>Ancient Egyptians Recorded Algol’s Variable Magnitude 3000 Years Before Western Astronomers, Physics arXiv Blog, May 1, 2012.</li><li>The American Association of Variable Star Observers (AAVSO) Web Site.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4aa1e1fca43a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>