
Eng @brewlabshq_ maintainer @dynosolpool oss @blueshift Member @SuperteamIN Fellow @solana
Joined April 2020
- Tweets2.8K
- Following883
- Followers979
- Likes15.4K
Bringing the Solana fam together in Mumbai
Two ecosystems, one city, and a room full of people pushing the industry forward.
Excited to bring everyone together with @Astralaneio in Mumbai this November.
See you at Sangam 🍸
Maybe we can finally go back to writing code like normal humans : )
My diagnosis of the Solana compiler is that it’s bad at optimizing normal code, so Solana devs end up going out of their way to instrument the compiler and deviate from normal best practices.
Then the compiler further optimized for those patterns, reinforcing this very Solana-specific style of coding:
- sprinkle #[inline(always)] and #[inline(never)] everywhere
- break up enum-handling paths by hand
- drop into asm blocks
And now the code is harder to read, harder to maintain, and full of optimization boundaries that would get in the way of a normally functioning compiler.
I’ve shown one example of this with the memcmp libcall. Here’s another one:
xitter.cf/clairefxyz/status/2104…
btw couldn't have made this without @rishavmehraa he spent countless nights to narrow down the issue!
Rishav Mehra retweeted
My diagnosis of the Solana compiler is that it’s bad at optimizing normal code, so Solana devs end up going out of their way to instrument the compiler and deviate from normal best practices.
Then the compiler further optimized for those patterns, reinforcing this very Solana-specific style of coding:
- sprinkle #[inline(always)] and #[inline(never)] everywhere
- break up enum-handling paths by hand
- drop into asm blocks
And now the code is harder to read, harder to maintain, and full of optimization boundaries that would get in the way of a normally functioning compiler.
I’ve shown one example of this with the memcmp libcall. Here’s another one:
xitter.cf/clairefxyz/status/2104…
btw couldn't have made this without @rishavmehraa he spent countless nights to narrow down the issue!
letsss goooo
sol_multi3 as the first SVM JIT intrinsic
10k u128 muls 450k -> 110k CU : )
native ops where it matters, portable BPF everywhere else
JIT intrinsics brought to you by blueshift
welcome any feedback! (I'm enjoying my life in Nice rn nothing can hurt me)
github.com/solana-foundation…
We’re ready for Alpenglow⚡
BrewlabsHQ is already running on the Solana Alpenglow community test cluster 81.7K+ SOL activated stake and producing/voting on slots
Seeing what Alpenglow is capable of at 183K TPS and 25ms finalization makes this even more exciting
When ever i doubt my life decisions up to now I go to the @solana alpenglow community test cluster and look at how sometimes 183k transactions finalize in 25ms.
Be ready for it! Check out the ⛰️ migration guide!
Link to the cluster website is in there.
solana.com/upgrades/alpenglo…
Rishav Mehra retweeted
Validators! We need more stake on v4.3.0-rc.1. Please upgrade today. We're hoping to have 25% adoption going into the weekend.
One provider went down
Solana didn’t : )
That’s the point of decentralization
p90 at 0.9 slots across regions is pretty wild.
consistent sub-slot landing matters more than headline TPS
Transaction landing should happen within one slot.
P90 ping-thing is stable at 0.9 slots now across all regions.
Our transaction sending Cascade included with every subscription @triton_one. No tips. No extra fees.
100M CU
100M CU blocks are live on mainnet.
SIMD-0286 raises the block limit from 60M → 100M compute units. 66% more capacity. solana.com/upgrades/100m-cu-…
This one’s special
Been part of the development for a while, and it feels great to finally see it live on main stage
Finally it’s out, been involved in the development for a while for this, it’s been fun and finally it’s ship to prod 🫡
happy birthday @deanmlittle
may all your CFG edges be valid and all your functions reachable : )
happy birthday @deanmlittle !
sbpf also just added control-flow graph and graph engines for writing CFG analyses! It also comes with graph dump utilities ✨ Here's a reachability analysis built with the worklist engine, along with the CFG before/after a dead-func-elimination pass.
now go write your own compiler optimization pass and wish him a happy birthday! (I promise I didn't plan to publish this on his birthday)
W🔥
1/ Some personal updates.
I've been a bit inactive over the past few weeks, and I really appreciate everyone who reached out to check in on me.
I’ve been focused on improving my skills, working on personal projects, learning new things, contributing to open source, and looking for a role that truly fits what I want
Fast enough to remove the bottleneck
Most Solana teams optimize RPC.
We decided to remove it.
At @brewlabshq_ , our latency requirements pushed us beyond Yellowstone and toward consuming validator data directly from the source.
Today we're open-sourcing part of that work:
Qlaster — Shared-Memory Data Streaming for Colocated Solana Services.🧵


























