SShortSingh.
Back to feed

I wrote bi-directional tcp congestion control... and survived!

0
Β·2 views

I'm back again after a loong break but this time I have done a lot of things apart from what I said in the last blog (obviously πŸ™ƒ). This time I'll be discussing on how I wrote the logic for using TCP in an event loop even though it is a stream oriented protocol. So my idea was simple but it took a long time to come, and this time it was purely my idea β€” I was sleeping and suddenly I woke up in the middle of the night and my brain was like "Hey, what if we write the size of the packet in it?" and I was like "BROO, right now?" That did not happen exactly πŸ˜‚. I simply slept without acknowledging

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community Β·

Our structured data named a founder, and the fix was to name nobody

Five sites, five separate repositories, one hand-copied TypeScript file. That file is the only reason a crawler can tell the five domains come from one company rather than being five unrelated sites that link to each other. It has been rewritten three times in three days, and every rewrite was driven by the same rule: the structured data is not allowed to say anything the page does not say. The first shape was the obvious one. A PUBLISHER constant with a name and an @id, a list of the apps, and every site emitting the same publisher identifier.

0
ProgrammingDEV Community Β·

Building Maliklang V1: An Open-Source Offline Compiler Architecture for Hinglish Logic πŸš€

Hello Developers! πŸ‘‹ I wanted to share Maliklang V1, an open-source, independent programming infrastructure built specifically to run code entirely offline, using Hinglish programming logic. πŸ’‘ The Core Problem Most modern coding languages and developer platforms strictly enforce English-centric syntax and high-bandwidth cloud execution dependencies. For local developers, student coders, or infrastructure builders working in data-isolated environments or rural setups on consumer-grade hardware, this creates double the friction. Maliklang V1 was designed to completely smash these traditional te

0
ProgrammingDEV Community Β·

Reading a canvas back doubles its memory: numbers from three engines

getImageData on the full canvas. For a long time our memory estimate for a large image was "width Γ— height Γ— 4". That number is right for the canvas itself, and it is exactly half of what the component actually holds once it reads the pixels back. The numbers below come from a round of measurements on an Apple M4 with 16 GB, using three engine builds: the Chromium 149 open-source build, a WebKit 26.5 build and a Firefox 151 build. None of them is the browser you download, so read nothing here as Chrome, Safari or release Firefox behavior.