Pranav Shridhar (@pranavmodx) profile picture

Software Engineer | Backend, AI | Go, Node.js, Python

Cochin, India
Joined January 2015
Hey Twitter Fam! I built a minimal, toy programming language, Mod (or ModLang) using C++ and STL. It is dynamically typed and interpreted and its syntax is a blend of that of C++, Python and JavaScript. Code: github.com/pranavmodx/modlanโ€ฆ Blog: blog.pranav.dev/post/10-modlโ€ฆ #cpp #programming
4
5
1
60
Is the rewrite in Rust? ๐Ÿค”
Today, Cursor becomes Grok Build. We also rewrote it from scratch. Itโ€™s 3-10x faster and uses less memory.
1
1
179
I remember trying to learn React in my first year of college, keeping the code editor and documentation side by side in one window so I could read and code simultaneously. Now we have something that does both, and all we do is watch and press Enter. So much for muscle memory. #LLM #AI #Agents
45
I started my coding journey with "Automate the Boring Stuff with Python" by @AlSweigart 8 years ago. Fast forward to today, AI Agents powered by LLMs have largely automated the automator. #AI #LLM
36
Life is the ultimate choose your own adventure game.
55
I think we should call it clauding and not coding anymore. ๐Ÿฅฒ #claude #ai
60
GPT-5.6 Sol is closing the gap with Claude models for real.
1
63
Most problems today are not really problems. They are just another utterly unnecessary 'convenience' mask.
1
56
I miss the kind of fun coding gave before LLMs existed. The fun when you brought the thing to life and not LLMs.
4
163
What's happening @OpenAI Codex? Updated it to try out GPT 5.5 and this came up.๐Ÿฅฒ #vibecoding #bug
73
Pranav Shridhar retweeted
SYSTEM DESIGN PLAYBOOK Giveaway Alert!!! โ€ข System design fundamentals. โ€ข Condensed notes to read before system design interview. โ€ข Must know concepts from real-world software engineering case studies. To get it for free: 1 Retweet & Follow @systemdesignone 2 Reply "Playbook" Then I'll DM you the details.
503
361
5
507
73,327
Now that code is being shipped faster than ever with Claude Opus, we would need Claude Thanos in a few years to remove 50% of code to clean up all the mess. #AI #Claude #Code
2
55
Claude ke claude lag gaye. ๐Ÿคก
This is either brilliant or scary: Anthropic accidentally leaked the TS source code of Claude Code (which is closed source). Repos sharing the source are taken down with DMCA. BUT this repo rewrote the code using Python, and so it violates no copyright & cannot be taken down!
1
65
๐Ÿš€ ๐——๐—ฎ๐˜๐—ฎ ๐—–๐—ผ๐—ป๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐—ฐ๐˜†. ๐—ฆ๐—ถ๐—บ๐—ฝ๐—น๐—ถ๐—ณ๐—ถ๐—ฒ๐—ฑ. ๐Ÿ› ๏ธ Distributed systems can suffer from "๐˜€๐—ถ๐—น๐—ฒ๐—ป๐˜" ๐—ฑ๐—ฎ๐˜๐—ฎ ๐—น๐—ผ๐˜€๐˜€ when the database and the message broker aren't perfectly in sync. If your business logic updates the DB but the event fails to fire (or vice versa), your system is left in an inconsistent state. I just wrapped up a project tackling this head-on by implementing a high-performance ๐—ง๐—ฟ๐—ฎ๐—ป๐˜€๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ข๐˜‚๐˜๐—ฏ๐—ผ๐˜… ๐—˜๐˜ƒ๐—ฒ๐—ป๐˜ ๐—ฅ๐—ฒ๐—น๐—ฎ๐˜† using a dual-dispatch mechanism (๐—ฃ๐—ผ๐—น๐—น๐—ถ๐—ป๐—ด and ๐—–๐——๐—–), it seamlessly supports both ๐—”๐—ฝ๐—ฎ๐—ฐ๐—ต๐—ฒ ๐—ž๐—ฎ๐—ณ๐—ธ๐—ฎ and ๐—ฅ๐—ฒ๐—ฑ๐—ถ๐˜€ ๐—ฆ๐˜๐—ฟ๐—ฒ๐—ฎ๐—บ๐˜€! ๐Ÿš€ By using the ๐—ข๐˜‚๐˜๐—ฏ๐—ผ๐˜… ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป, we ensure that events are captured ๐—ฎ๐˜๐—ผ๐—บ๐—ถ๐—ฐ๐—ฎ๐—น๐—น๐˜† within the same business transaction. Here is how I implemented two different ways to move that data from the outbox to the stream: 1๏ธโƒฃ ๐—ง๐—ต๐—ฒ ๐—ฅ๐—ฒ๐—น๐—ฎ๐˜† ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฐ๐—ฒ (๐—š๐—ผ ๐—ฃ๐—ผ๐—น๐—น๐—ถ๐—ป๐—ด): A custom microservice that polls the outbox table. Simple, highly configurable, and great for legacy support where broker-specific CDC isn't an option. 2๏ธโƒฃ ๐—ง๐—ต๐—ฒ ๐—–๐——๐—– ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ (๐——๐—ฒ๐—ฏ๐—ฒ๐˜‡๐—ถ๐˜‚๐—บ): By pairing with ๐——๐—ฒ๐—ฏ๐—ฒ๐˜‡๐—ถ๐˜‚๐—บ, we eliminate polling-to-publish lag and ensure ๐˜‡๐—ฒ๐—ฟ๐—ผ-๐—ฑ๐—ฎ๐˜๐—ฎ-๐—น๐—ผ๐˜€๐˜€ event streaming by reading directly from the database's ๐—ช๐—ฟ๐—ถ๐˜๐—ฒ-๐—”๐—ต๐—ฒ๐—ฎ๐—ฑ ๐—Ÿ๐—ผ๐—ด (๐—ช๐—”๐—Ÿ). โš–๏ธ ๐—ง๐—›๐—˜ ๐—ง๐—ฅ๐—”๐——๐—˜-๐—ข๐—™๐—™: โ€ข ๐—ฅ๐—ฒ๐—น๐—ฎ๐˜† ๐—ฃ๐—ผ๐—น๐—น๐—ถ๐—ป๐—ด: Lower infrastructure overhead, but introduces polling latency. โ€ข ๐——๐—ฒ๐—ฏ๐—ฒ๐˜‡๐—ถ๐˜‚๐—บ ๐—–๐——๐—–: Near-instantaneous streaming and complex transformations, but requires more infrastructure management. ๐Ÿ”ฅ ๐—ง๐—˜๐—–๐—›๐—ก๐—œ๐—–๐—”๐—Ÿ ๐—›๐—œ๐—š๐—›๐—Ÿ๐—œ๐—š๐—›๐—ง๐—ฆ: โœ… ๐——๐˜‚๐—ฎ๐—น-๐—•๐—ฟ๐—ผ๐—ธ๐—ฒ๐—ฟ ๐—ฆ๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜: Switch between ๐—ž๐—ฎ๐—ณ๐—ธ๐—ฎ (Enterprise scale) and ๐—ฅ๐—ฒ๐—ฑ๐—ถ๐˜€ ๐—ฆ๐˜๐—ฟ๐—ฒ๐—ฎ๐—บ๐˜€ (Low latency) with a single config flag. โœ… ๐—›๐˜†๐—ฏ๐—ฟ๐—ถ๐—ฑ ๐——๐—ถ๐˜€๐—ฝ๐—ฎ๐˜๐—ฐ๐—ต๐—ถ๐—ป๐—ด: Choose between a custom ๐—š๐—ผ ๐—ฅ๐—ฒ๐—น๐—ฎ๐˜† (๐—ฃ๐—ผ๐—น๐—น๐—ถ๐—ป๐—ด) or ๐——๐—ฒ๐—ฏ๐—ฒ๐˜‡๐—ถ๐˜‚๐—บ (๐—–๐——๐—–) depending on your consistency needs. โœ… "๐—˜๐˜…๐—ฎ๐—ฐ๐˜๐—น๐˜†-๐—ข๐—ป๐—ฐ๐—ฒ" ๐—š๐˜‚๐—ฎ๐—ฟ๐—ฎ๐—ป๐˜๐—ฒ๐—ฒ๐˜€: I implemented the ๐—œ๐—ป๐—ฏ๐—ผ๐˜… ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป on the consumer side for absolute deduplication. โœ… ๐—ฃ๐˜‚๐—ฟ๐—ฒ ๐—–๐——๐—– ๐—™๐—น๐—ผ๐˜„: Zero-lag streaming directly from ๐—ฃ๐—ผ๐˜€๐˜๐—ด๐—ฟ๐—ฒ๐—ฆ๐—ค๐—Ÿ ๐—ช๐—”๐—Ÿ (Write-Ahead Log) to Kafka or Redis. โœ… ๐—ฃ๐—น๐˜‚๐—ด๐—ด๐—ฎ๐—ฏ๐—น๐—ฒ ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ: Infrastructure-agnostic designโ€”easy to run locally or scale out is a snap. Link to Code: lnkd.in/gWhiDM8T #DistributedSystems #SystemDesign #Microservices #Golang #Kafka #Redis
33