Anuj Arora (@eight_bit_byte) header
Anuj Arora (@eight_bit_byte) profile picture

Lead Engineer @samsung P Building https://teapaw.org/t.co/Rv8aWBcKUg as a side quest - a tiny product studio.

Bengaluru, India
Joined August 2024
Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)Photo by Anuj Arora (@eight_bit_byte)
I am joining JioHotstar as an SDE 1 in the Video Engineering team this month! Aghh, it feels so unreal to even say this out loud. I’ve always thought about the “ONE DAY”, but never imagined the “DAY ONE” would come this soon. 😇 Very important details below 👇
56
6
4
615
27,237
attempted the indian flag but the proportions are heavily wrong 🥲
3
3
78
5,084
Anuj Arora retweeted
Btw it's live at thatya.com Thanks @GrowthX_Club @ankushdharkar @pooja_bhaumik for organising the event 🚀
Every August the same forwards come back. "Gandhi let Bhagat Singh hang." So I built Tathya — ask the men themselves. They answer from their own letters, and you get the record: what's documented, what the forward gets wrong, and what still stands against them. 🇮🇳 79 years free. Know more about us here, You will be able to use it soon. This is the demo video of our platform. build-for-bharath.vercel.app…
2
3
1
11
1,669
Anuj Arora retweeted
Every August the same forwards come back. "Gandhi let Bhagat Singh hang." So I built Tathya — ask the men themselves. They answer from their own letters, and you get the record: what's documented, what the forward gets wrong, and what still stands against them. 🇮🇳 79 years free. Know more about us here, You will be able to use it soon. This is the demo video of our platform. build-for-bharath.vercel.app…
I'm at Build for India Blr edition. Come say hi if you are also here 👋🏻 #GrowthX #BuildForIndia
5
3
1
25
4,386
Anuj Arora retweeted
Talk with Ghandi ji this Indipenece day
Every August the same forwards come back. "Gandhi let Bhagat Singh hang." So I built Tathya — ask the men themselves. They answer from their own letters, and you get the record: what's documented, what the forward gets wrong, and what still stands against them. 🇮🇳 79 years free. Know more about us here, You will be able to use it soon. This is the demo video of our platform. build-for-bharath.vercel.app…
1
1
5
822
Anuj Arora retweeted
Now we have Shubhash Chandra Bose ji as well, watch @pooja_bhaumik having conversation with him 😀 We are using @SarvamAI conv-ai-sdk for this and the experience so far with it is amazing. 🔥
2
3
2
24
2,132
Anuj Arora retweeted
It's 4AM and work is on 😎
Yayy we are in top 15 teams at @SarvamAI @growthx buildathon.🚀
5
2
31
1,309
Anuj Arora retweeted
🚀 The Yaadein waitlist is now live! Join here: yaadeinapp.com/#/waitlist Once you sign up, you'll receive a confirmation email from us. 🎉 As a launch offer, the first 50 users to join the waitlist will receive a free 3-month Family Plan. If you think this could help you or someone you know, please share it with them. We'd also love to hear your feedback via the form on the platform—it will help us improve Yaadein. Thanks for your support! ❤️
Yayy we are in top 15 teams at @SarvamAI @growthx buildathon.🚀
4
2
15
3,015
Anuj Arora retweeted
Yayy we are in top 15 teams at @SarvamAI @growthx buildathon.🚀
3
5
3
69
5,805
Anuj Arora retweeted
🚀 For everyone who has been waiting to join @TeamShiksha — we're ready! Today, we fixed and deployed the onboarding flow for Team Shiksha. 🎉 If you haven't registered yet, sign up now at team.shiksha/. See you inside! 💙
3
7
2
25
5,709
Consider yourself extremely lucky if you have a safe job at this point.
115
96
24
4,170
143,077
Weekend vibe‑coding giveaway 🎁⌨️ Vibe‑code a tiny app using your favorite AI dev tool, ship it by Sunday 6 PM IST, and you could win a sleek multi‑device wireless keyboard (Bluetooth, rechargeable, works with laptops, tablets and phones).
11
4
5
21
5,172
Anuj Arora retweeted
A user edits the payload of their JWT , changes his role to Admin and sends it to access a protected API. How does your system detect the tampering, which JWT part is responsible, and what happens during authentication and authorization when the token is invalid?
95
15
21
436
137,589
Anuj Arora retweeted
For those new to golang, here’s a deeper, more technical breakdown of what’s going on and why this change matters. Go runtime basics: M, P, G The Go scheduler is built around three core abstractions: G (Goroutine) A lightweight user-space thread. This is your go func(). M (Machine) An OS thread. This is what actually runs on the CPU. P (Processor) A logical scheduler resource that owns run queues and is required to execute Go code. A goroutine (G) runs on an OS thread (M), but only if that thread is holding a processor (P). No P → no Go code execution. The number of Ps is controlled by GOMAXPROCS and roughly corresponds to how much parallel Go code can execute at once. --- Processor (P) states Historically, a P could be in several states: running Actively executing Go code. idle Not currently running Go code, waiting to be picked up by an M. gcstop Paused during certain garbage collection phases (e.g., STW). syscall (old behavior) A special state used when the goroutine running on that P entered a syscall or cgo call. The syscall state existed because syscalls block at the OS level. If a goroutine enters a syscall, the M might block, and the runtime needs to decide whether the P should be detached and reused elsewhere. --- The old syscall model (pre-Go 1.26) When a goroutine made a syscall or cgo call: 1. The goroutine entered a syscall. 2. The P transitioned into the syscall state. 3. The runtime tracked syscall Ps separately. 4. If the syscall blocked for too long, the runtime could: Detach the P from the blocked M and hand that P to another M so Go code could keep running This worked, but introduced: - Extra state transitions - Additional bookkeeping - Special-case logic in the scheduler - More contention and branching in hot paths cgo calls suffered the most because they often involve long-running foreign code and frequent transitions between Go and C. --- So .. What changed in Go 1.26 The syscall state for P is gone. Instead of encoding syscall behavior in the processor state, the runtime now derives it from the goroutine state itself. In other words: The P no longer “knows” it’s in a syscall. The scheduler checks the G’s status to determine whether it’s blocked in a syscall or cgo call. Decisions about detaching or reassigning Ps are made by inspecting goroutine metadata. This simplifies the scheduler in several ways: - Fewer P state transitions - Less branching in scheduler logic - Less locking and synchronization Cleaner separation of concerns: Ps schedule work, Gs describe execution state --- Why this improves performance 1. Reduced scheduler overhead Syscall-heavy workloads previously paid for frequent state changes and bookkeeping. Removing the syscall P state cuts that overhead. 2. Faster cgo transitions cgo calls already pay a high cost crossing language and ABI boundaries. Eliminating extra scheduler machinery around those calls yields a measurable win (20–30%). 3. Hot path simplification The scheduler runs constantly. Even small reductions in branching and state management have outsized effects at scale. 4. Better scalability under contention Fewer shared structures and transitions mean less contention when many goroutines are entering/exiting syscalls concurrently. --- Why this is safe The key insight is that syscall-ness is a property of a goroutine, not a processor. Goroutines already track whether they are in: - running - runnable - waiting - syscall The scheduler already inspects goroutine state when making scheduling decisions. So by eliminating duplicated state at the P level, the runtime avoids inconsistency and simplifies correctness reasoning. --- Big picture This change is a classic Go runtime optimization: - No new user-facing features - No API changes But syscalls and cgo sit on extremely hot paths for real-world systems (databases, networking), the impact is very real. Less state. Less overhead. More throughput.
Go 1.26 seems to be the "faster everything" release. Besides GreenTea GC and faster memory allocations, there's also a 20–30% improvement in cgo calls. Here are some details. In the Go runtime, a *processor* (often referred to as a P) is a resource required to run user code or the scheduler. For a thread to execute a goroutine, it must first have a processor attached to it. Processors move through different states. They can be "running" (executing code), "idle" (waiting for work), or "gcstop" (paused because of the garbage collection). Previously, processors had a state called "syscall" used when a goroutine is making a system or cgo call. Now, this state has been removed. Instead of using a separate processor state, the system now checks the status of the goroutine assigned to the processor to see if it's involved in a system call. This reduces internal runtime overhead and simplifies code paths for cgo and syscalls. Neat!
2
40
2
357
26,814
DSA Free for all. Basics to advanced. Starting on Monday, Dec 29th! today/tomorrow - depending on when you read this...
One last thing, before we end the year... Starting December 29th (yes, we are intentionally skipping the cliché New Year resolution crowd), we are kicking off a Data Structures & Algorithms (DSA) series. This isn't a lecture from a "guru" claiming to know it all. This is an instructor-led session by a mathematics enthusiast and experienced industry engineer who is choosing to learn in public. @garima9826__ is running this cohort of DSA session and is inviting the community to learn alongside her. If you’ve been looking for a way to start (or restart) your DSA journey with structure, accountability, and zero intimidation, this is it. What to expect from this series: 🤝 Community First: Not a typical classroom. It’s a "let’s learn together" space. 🌐 Language Agnostic: Logic comes first. The code follows. 🧠 Deep Understanding: We focus on the Why and How, moving beyond memorizing solutions. 📈 The Real Process: We won’t jump straight to the optimized solution. We go from: Brute Force -> Better -> Optimal. ⚡ Basics to Advanced: Starting with arrays and hashing before tackling trees and graphs. 💼 Real World Context: Discussing where these concepts actually show up in production (and interviews). 🗓️ Consistency: Daily problem-solving sessions and open doubt discussions. Whether you are a "student just starting out" or a "working professional" (like me) wanting to keep your fundamentals sharp, you are welcome here. No prior DSA experience is needed... just basic programming familiarity. The Details: 📅 Start Date: Dec 29th ⏰ Time: 9:00 PM - 10:00 PM (Mon-Fri) 💰 Cost: FREE 📍 Where: TeamShiksha Community, Online Let’s hold each other accountable and actually understand the math behind the code. 👉 To join, follow the steps to join our discord and find the session details in the thread below. All video sessions will be in zoom and the community chat will be in the dedicated channel in our Discord. 👋 See you in the sessions!
2
7
1
29
3,276
🚀 Announcing ZeroStarter – The SaaS Starter A modern, type-safe & high-performance SaaS starter built with a monorepo-first mindset. ⚡ Bun + Turborepo 🧠 Next.js + Hono (end-to-end typed RPC) 🔐 Better Auth 🗄️ Postgres + Drizzle 🎨 Tailwind + shadcn/ui Built to help you ship SaaS faster, with clean architecture and room to scale (AI, payments, analytics coming next 👀). Clone it. Build on it. Launch faster. 👉 github.com/nrjdalal/zerostar… @bunjavascript #Monorepo #BuildInPublic
4
4
18
1,441
8
42
4
564
34,896
Housefull at @theresidency demo day w/ @AadityaYuvraj!
1
5
51
2,193
Anuj Arora retweeted
At @ankushdharkar meetup 🔥
1
15
474
Here’s what the Top 10 builders had to say about their experience at the @hackthisfall x @apify: DevDay Hackathon — a day of learning, building, and turning ideas into real, monetizable tools! 🛠️ This is what happens when great builders get the right platform and the room to create! 🚀 #HTFxApify #DevDayHackathon #HackThisFall #5yo
2
7
1
18
1,413