<?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 Hima Chitalia on Medium]]></title>
        <description><![CDATA[Stories by Hima Chitalia on Medium]]></description>
        <link>https://medium.com/@hima.chhag?source=rss-3a3e3a241e31------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jCZRCwadxIOxbpmLsRkO0g@2x.jpeg</url>
            <title>Stories by Hima Chitalia on Medium</title>
            <link>https://medium.com/@hima.chhag?source=rss-3a3e3a241e31------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:10:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hima.chhag/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[Google’s WebMCP: Making the Web “AI-Agent-Ready”]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://javascript.plainenglish.io/googles-webmcp-making-the-web-ai-agent-ready-8ca4e60850d6?source=rss-3a3e3a241e31------2"><img src="https://cdn-images-1.medium.com/max/1536/1*j7eUjdcmRTxvhXc_fdvT8Q.png" width="1536"></a></p><p class="medium-feed-snippet">In February 2026, Google&#x2019;s Chrome team launched an early preview of WebMCP &#x2014; short for Web Model Context Protocol &#x2014; built into Chrome 146&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/googles-webmcp-making-the-web-ai-agent-ready-8ca4e60850d6?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/googles-webmcp-making-the-web-ai-agent-ready-8ca4e60850d6?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ca4e60850d6</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-mcp]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Thu, 04 Jun 2026 12:02:48 GMT</pubDate>
            <atom:updated>2026-06-04T12:02:48.125Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What is Protocol Buffers (ProtoBuf) — and Why Does Google Use It?]]></title>
            <link>https://javascript.plainenglish.io/what-is-protocol-buffers-protobuf-and-why-does-google-use-it-077b908e64b1?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/077b908e64b1</guid>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[performance-optimization]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 12:15:15 GMT</pubDate>
            <atom:updated>2026-03-17T12:15:15.100Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nez1ZN23We__Yz9dWJk8Xw.png" /><figcaption>ProtoBuf</figcaption></figure><p>When engineers first encounter Protocol Buffers, one question usually comes up:</p><p>“If JSON works, why did Google build something else?”</p><p>The answer lies in scale, performance, and long-term schema evolution.</p><p>Protocol Buffers (ProtoBuf) was developed internally at Google in the early 2000s to support massive, distributed systems. It later became open-source and is now one of the most widely used serialization formats in high-performance systems.</p><p>Let’s go deep.</p><h3>What Is ProtoBuf?</h3><p>Protocol Buffers is:</p><ul><li>Language-neutral</li><li>Platform-neutral</li><li>Extensible</li><li>Binary serialization format</li></ul><p>Instead of sending structured data as text (like JSON), ProtoBuf encodes data into a compact binary format based on a predefined schema.</p><p>You define your schema in a .proto file:</p><pre>syntax = &quot;proto3&quot;;<br><br>message User {<br>  string name = 1;<br>  int32 age = 2;<br>  bool isActive = 3;<br>}</pre><p>Each field has:</p><ul><li>A type</li><li>A name</li><li>A unique field number</li></ul><p>The field number is critical — it determines how the message is encoded on the wire.</p><h3>Why Google Created ProtoBuf</h3><p>Google runs thousands of services that communicate internally billions of times per day.</p><p>At that scale:</p><ul><li>JSON parsing becomes expensive</li><li>Payload sizes impact bandwidth costs</li><li>Schema drift becomes dangerous</li><li>Backward compatibility becomes complex</li></ul><p>ProtoBuf was designed to solve these problems.</p><p>It provides:</p><ol><li>Efficient binary encoding</li><li>Strong schema contracts</li><li>Backward/forward compatibility</li><li>Code generation across languages</li></ol><h3>How ProtoBuf Actually Encodes Data (The “Array-Like” Wire Format)</h3><p>Here’s where it gets interesting.</p><p>ProtoBuf does NOT send field names over the wire.</p><p>Instead, it encodes data using:</p><ul><li>Field numbers</li><li>Wire types</li><li>Values</li></ul><p>For this message:</p><pre>message User {<br>  string name = 1;<br>  int32 age = 2;<br>}</pre><p>And this data:</p><pre>{<br>  &quot;name&quot;: &quot;Hima&quot;,<br>  &quot;age&quot;: 38<br>}</pre><p>The actual encoded binary becomes something like:</p><pre>0A 04 48 69 6D 61 10 26</pre><p>If you convert it to a numeric array in JavaScript, it looks like:</p><pre>Uint8Array([<br>  10, 4, 72, 105, 109, 97,<br>  16, 38<br>])</pre><p>That’s the “array format” people refer to.</p><p>Let’s break it down:</p><ul><li>10 → field 1 (name) with wire type</li><li>4 → length of the string</li><li>72, 105, 109, 97 → ASCII values for &quot;Hima&quot;</li><li>16 → field 2 (age)</li><li>38 → value 38</li></ul><p>No field names.<br>No quotes.<br>No braces.<br>Just compact numeric encoding.</p><p>That’s why ProtoBuf messages are often 3–10x smaller than JSON equivalents.</p><h3>JavaScript Example Using Protocol Buffers</h3><p>In modern JavaScript, you can use libraries like protobufjs or the official Google JS generator.</p><p>Example using protobufjs:</p><p>First, install:</p><pre>npm install protobufjs</pre><p>Then:</p><pre>const protobuf = require(&quot;protobufjs&quot;);<br><br>async function run() {<br>  const root = await protobuf.load(&quot;user.proto&quot;);<br>  const User = root.lookupType(&quot;User&quot;);<br>  const payload = { name: &quot;Hima&quot;, age: 38 };<br>  const errMsg = User.verify(payload);<br>  if (errMsg) throw Error(errMsg);<br>  const message = User.create(payload);<br>  // Encode to binary (Uint8Array)<br>  const buffer = User.encode(message).finish();<br>  console.log(buffer); <br>  // Uint8Array([...]) - compact binary array<br>  // Decode back<br>  const decoded = User.decode(buffer);<br>  console.log(decoded);<br>}<br>run();</pre><p>Output:</p><pre>Uint8Array(8) [10, 4, 72, 105, 109, 97, 16, 38]</pre><p>That’s the actual transport format.</p><p>In high-performance systems, this efficiency matters significantly.</p><h3>Why ProtoBuf Is So Fast</h3><p>ProtoBuf gains performance from:</p><ul><li>Binary encoding (no text parsing)</li><li>Varint encoding for integers</li><li>Skipping unknown fields (for compatibility)</li><li>Precompiled schemas</li><li>Minimal memory allocations</li></ul><p>Compared to JSON:</p><ul><li>JSON must parse strings and keys</li><li>JSON includes repeated field names</li><li>JSON lacks enforced schema</li><li>JSON parsing is CPU intensive</li></ul><p>ProtoBuf trades readability for performance.</p><h3>ProtoBuf and gRPC</h3><p>ProtoBuf is the default serialization mechanism for <strong>gRPC</strong>, Google’s high-performance RPC framework.</p><p>gRPC uses:</p><ul><li>HTTP/2</li><li>Streaming</li><li>Strongly typed contracts</li><li>ProtoBuf message definitions</li></ul><p>In modern microservice architectures, gRPC + ProtoBuf is a powerful combination.</p><h3>When Should You Use ProtoBuf?</h3><p>Use ProtoBuf when:</p><ul><li>You’re building microservices</li><li>You need strict contracts between teams</li><li>Performance matters</li><li>You expect schema evolution</li><li>You are using gRPC</li></ul><p>Stick with JSON when:</p><ul><li>You’re building public APIs</li><li>You need human-readable payloads</li><li>Debugging simplicity is a priority</li><li>Performance is not a bottleneck</li></ul><h3>Final Thoughts</h3><p>ProtoBuf isn’t “better than JSON.”</p><p>It’s better for specific problems.</p><p>Google uses ProtoBuf because:</p><ul><li>Scale demands efficiency</li><li>Contracts prevent chaos</li><li>Bandwidth costs money</li><li>Latency compounds across systems</li></ul><p>If you’re diving into backend architecture or preparing for system design interviews, understanding ProtoBuf at the wire level — especially how it turns objects into compact byte arrays — gives you a serious edge.</p><p>Performance isn’t just backend optimization.</p><p>It’s product architecture.</p><p>And ProtoBuf is one of the tools that quietly powers it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=077b908e64b1" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/what-is-protocol-buffers-protobuf-and-why-does-google-use-it-077b908e64b1">What is Protocol Buffers (ProtoBuf) — and Why Does Google Use It?</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Frontend Engineering Really Looks Like in Large Product Teams]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://javascript.plainenglish.io/what-frontend-engineering-really-looks-like-in-large-product-teams-20f4e6e81fbc?source=rss-3a3e3a241e31------2"><img src="https://cdn-images-1.medium.com/max/1536/1*-jASvt4T9UOHI3y5a6J7mg.png" width="1536"></a></p><p class="medium-feed-snippet">Frontend engineering in large product teams looks very different from what most tutorials or demos show.</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/what-frontend-engineering-really-looks-like-in-large-product-teams-20f4e6e81fbc?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/what-frontend-engineering-really-looks-like-in-large-product-teams-20f4e6e81fbc?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/20f4e6e81fbc</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 17:52:36 GMT</pubDate>
            <atom:updated>2026-02-09T17:52:36.898Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Unlocking the Power of React Server Components: A Fun Dive into the Future of Web Development]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Welcome to the future of web development! If you&#x2019;ve been following the evolution of React, you might have heard whispers about React&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/unlocking-the-power-of-react-server-components-a-fun-dive-into-the-future-of-web-development-a5ec75157817?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/unlocking-the-power-of-react-server-components-a-fun-dive-into-the-future-of-web-development-a5ec75157817?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5ec75157817</guid>
            <category><![CDATA[node-js-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend-engineering]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Tue, 20 May 2025 05:32:01 GMT</pubDate>
            <atom:updated>2025-05-20T05:32:01.186Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Magic of JavaScript undefined vs null: Two Sides of the Same Coin?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">JavaScript has many quirks, but few are as misunderstood as the difference between undefined and null. At first glance, these two values&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/the-magic-of-javascript-undefined-vs-null-two-sides-of-the-same-coin-71082a133406?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/the-magic-of-javascript-undefined-vs-null-two-sides-of-the-same-coin-71082a133406?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/71082a133406</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Sun, 18 May 2025 14:17:09 GMT</pubDate>
            <atom:updated>2025-05-18T14:17:09.564Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Cracking Interview Question #2: Unleashing the Power of Object.create() in JavaScript!]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">When it comes to JavaScript, understanding how to manage objects and inheritance is key. One of the tools in your arsenal for effective&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/cracking-interview-question-2-unleashing-the-power-of-object-create-in-javascript-dab132ab858a?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/cracking-interview-question-2-unleashing-the-power-of-object-create-in-javascript-dab132ab858a?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/dab132ab858a</guid>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Thu, 15 May 2025 06:19:29 GMT</pubDate>
            <atom:updated>2025-05-15T06:19:29.122Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The NaN Paradox: Where Not-a-Number Becomes a JavaScript Enigma]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Among JavaScript&#x2019;s quirks, few are as perplexing as NaN (Not-a-Number). On the surface, NaN is pretty straightforward: it indicates an&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/the-nan-paradox-where-not-a-number-becomes-a-javascript-enigma-e19f6d8cfdf1?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/the-nan-paradox-where-not-a-number-becomes-a-javascript-enigma-e19f6d8cfdf1?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/e19f6d8cfdf1</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[not-a-number]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 01:18:49 GMT</pubDate>
            <atom:updated>2025-02-03T01:18:49.730Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Native TypeScript in Node.js: The Best Combo Since Peanut Butter and Jelly]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://javascript.plainenglish.io/native-typescript-in-node-js-the-best-combo-since-peanut-butter-and-jelly-6f4d4115e76e?source=rss-3a3e3a241e31------2"><img src="https://cdn-images-1.medium.com/max/1024/1*RjDcVHKpwVS5Ydc37ffTTA.png" width="1024"></a></p><p class="medium-feed-snippet">When it comes to modern web development, few tools have shaken things up quite like Node.js and TypeScript. Together, they&#x2019;re like the&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/native-typescript-in-node-js-the-best-combo-since-peanut-butter-and-jelly-6f4d4115e76e?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/native-typescript-in-node-js-the-best-combo-since-peanut-butter-and-jelly-6f4d4115e76e?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f4d4115e76e</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-app-development]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 05:52:45 GMT</pubDate>
            <atom:updated>2025-01-20T05:52:45.382Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Check if an Element is in the Viewport? — 200K Views and 2K+ Upvotes on Stack Overflow!]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">One of the most popular front-end questions on Stack Overflow, with over 200,000 views and 2,000+ upvotes, is &#x201C;How can I check if an&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/how-to-check-if-an-element-is-in-the-viewport-200k-views-and-2k-upvotes-on-stack-overflow-6b9d083c9a3e?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/how-to-check-if-an-element-is-in-the-viewport-200k-views-and-2k-upvotes-on-stack-overflow-6b9d083c9a3e?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9d083c9a3e</guid>
            <category><![CDATA[infinite-scroll]]></category>
            <category><![CDATA[intersection-observer]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 08:01:27 GMT</pubDate>
            <atom:updated>2025-01-13T08:01:27.806Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[“Locked, Sealed, Delivered: How HTTPS Keeps Your Data Safe in Transit”]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Imagine sending a letter containing your most sensitive secrets. Would you hand it to a stranger, unsealed, hoping it reaches the right&#x2026;</p><p class="medium-feed-link"><a href="https://javascript.plainenglish.io/locked-sealed-delivered-how-https-keeps-your-data-safe-in-transit-4185cd9164f6?source=rss-3a3e3a241e31------2">Continue reading on JavaScript in Plain English »</a></p></div>]]></description>
            <link>https://javascript.plainenglish.io/locked-sealed-delivered-how-https-keeps-your-data-safe-in-transit-4185cd9164f6?source=rss-3a3e3a241e31------2</link>
            <guid isPermaLink="false">https://medium.com/p/4185cd9164f6</guid>
            <category><![CDATA[https]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[data-integration]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Hima Chitalia]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 05:51:31 GMT</pubDate>
            <atom:updated>2025-01-06T05:51:31.231Z</atom:updated>
        </item>
    </channel>
</rss>