Rohit

295 posts

Rohit banner
Rohit

Rohit

@rohitdevsol

Only Solana

Bengaluru Katılım Aralık 2025
73 Takip Edilen162 Takipçiler
Shubh
Shubh@Subhdotsol·
Auditing late night with @HKsoldev in the quiet hours
Shubh tweet media
English
2
0
22
491
Rohit
Rohit@rohitdevsol·
today's debugging journey: kafka hardcoded to localhost 🤡 docker images were 1.3GB each prisma 7.2 talking to prisma 7.8 encryption keys different across 3 environments it's deployed now though. we move
English
0
0
7
69
Rohit
Rohit@rohitdevsol·
you don't need 10 threads for 10 connections you need poll() - one syscall that watches all fds at once built it in rust. 10 connections × 10 messages. 62,474 msgs/sec. 1.6ms total. p50 was 2µs. the OS scheduler caused more latency than my code did 💀 #buildinpublic
Rohit tweet media
English
1
2
16
428
Rohit
Rohit@rohitdevsol·
started building a project from scratch in rust. went from raw syscalls → why kernels speak C → TCP has no idea where your message ends → length prefix protocols → and now BufReader so you're not begging the kernel for 4 bytes at a time like a peasant the rabbit hole has no bottom.
English
2
0
9
107
Rohit
Rohit@rohitdevsol·
your code is fine. your assumptions about how it works are not 🫠
English
0
0
2
38
Rohit
Rohit@rohitdevsol·
Tried to finally "get" MPCs on Solana, so I drew it out end-to-end using TSS. keygen → message exchange → partial sigs → final broadcast. Way less magical once you see the flow. Still powerful tho. Diagrams > docs sometimes
Rohit tweet media
English
1
1
14
196
Rohit
Rohit@rohitdevsol·
Grinding on MPCs again.. gonna build something.
Rohit tweet media
English
2
0
21
296
Hemant
Hemant@HKsoldev·
3/3 DeFi Math is scary. 1 + 1 isn't always 2 if you hit an overflow it round back to zero which no one want so I used `checked_add` & `checked_sub` throughout the program. One line of code prevents a catastrophic financial loss from a wrap-around error. Safety > Speed. @superteam
English
1
0
4
36
Hemant
Hemant@HKsoldev·
Implementing secure withdrawals on Solana isn't just about moving tokens from one account to another We also have to tackle the edge case too. Here what i use for the Withdrawal. #Turbin3Tribe @solanaturbine @SuperteamIN
English
1
0
9
42
Rohit
Rohit@rohitdevsol·
I think.. devs are safe for now.
Rohit tweet media
English
4
0
14
182
Rohit
Rohit@rohitdevsol·
@101xanshu @deepseek_ai it was a question on unsafe rust .. why should we not update a location directly using the pointers rather than using .write() method. The end result was same .. AI's reason was unreasonable.
English
0
0
1
8