
CEO @cypherszk | Fellow @solana | Grad @solanaturbine & @rektoff_xyz
github.com/subhdotsol
Joined February 2021
- Tweets1.2K
- Following227
- Followers800
- Likes2K
Shubh retweeted
About to write a new article…
About how blockchain, ai, and social media, specifically here on x…
Has Changed my life for the better…
Dude I just linked with homie who wrote this article, bro is not a bot, in fact an actual talented dev themself.
You never know what can happen, when two nerds get together, to try to solve some of @solana’s greatest problems…
To formally verify them..
And percolate…
Shout out @subhdotsol 🦞🤝
Chewed some glass getting familiar with the sBPF instruction set.
For now, I wrote a simple calculator program entirely in hand written sBPF assembly. The client sends 17 bytes: an operation (1 byte), a (8 bytes), and b (8 bytes).
The program computes a <op> b and stores the 8 byte result in a program owned account.
Getting closer to the metal so I can squeeze every bit of performance out of the hot paths in my future @solana programs.
another PR merged into GPUI Kit 😎 , reviewed by @huacnlee
this contribution improves accessibility in TextView:
- makes rendered markdown and HTML content accessible to screen readers.
- enables macOS voiceover to read chat transcripts and other rendered text.
- Improves text accessibility while keeping performance in mind.
PR link :
github.com/longbridge/gpui-k…
I agree with @durov
You take the risk , you build the product, you make the sacrifices, you carry the responsibility
And then someone else gets to decide whether you are allowed to keep leading what you created?
founders should think carefully before giving away control of the companies they build and never loose the sight of whose vision it was in the first place.
1
10
306
a bunch of you kept asking so here are my dotfiles lol.
nvim , zsh, tmux, ghostty one script and you are set on mac and debian.
change whatever you want , adjust the setup according to your machine.
github.com/subhdotsol/dotfil…
1
13
327
shipped @neapdex , a perp engine on @NEARProtocol
- pool to peer markets
- integer only risk engine
- keeper + indexer
its a perps exchange where any token with a dex pool can get a perps market, settled in USDC in one NEAR contract.
Its live on testnet today
A week ago, I barely understood what happens under the hood of perpetuals. since then, it's been hours of reading, researching, breaking things down, understanding the mechanics, questioning existing designs, and connecting dots.
Been quietly working through something that brings a few different worlds together. This is just a glimpse of what's been keeping me busy lately.
Wrote my first smart contract on @NEARProtocol
Built an English Auction smart contract using rust and near-sdk, along with a web client.
Some features :
- Initialize an auction with an end time and auctioneer.
- Place bids in NEAR tokens.
- Automatically refund the previous highest bidder.
- Track the highest bid.
- Claim the winning bid after the auction ends.
- Connect NEAR wallets and sign transactions.
3
17
581
Okay, I'm no DeFi expert, so correct me if I've got this wrong, but here's what I understood happened with @PercolatorTrade .
They're launching a new token through @MetaDAOProject and seem to be leaving the old Pump.fun token behind. The problem is, this was announced without properly informing the existing holders first, and the old token took a pretty big hit.
What makes it worse is that compensation for old holders was apparently discussed, but the team seems more interested in keeping their new token allocation.
Maybe there's more to the story, but from the outside, it doesn't look great.
11
227
something i got to know today about rust and C, which might be a pretty basic or dumb question. C is generally much faster to compile than Rust.
but you must have heard that rust can often produce performance comparable to C, and sometimes even outperform it.
how does that work? well, compile time and execution time are two different things. compile time is how long it takes to convert your code into an executable.
execution time is how long that executable takes to run. C is a relatively simple language when it comes to compilation. Rust, on the other hand, performs extensive compile time checks, including ownership, borrowing and lifetime checks.
but the interesting part is, why can rust perform just as well as C at runtime ? one reason is that neither Rust nor C requires a garbage collector.
C gives you manual memory management. Rust uses ownership and borrowing to ensure memory safety at compile time without needing a garbage collector at runtime and then there's LLVM.
think of LLVM as a toolkit that helps compilers optimize code before turning it into machine instructions.
Rust uses LLVM as its default backend, and Clang, a popular C compiler, uses LLVM too.
so basically C gives you more control with fewer compile time checks. Rust gives you similar low level control with compile time memory safety both can produce incredibly fast binaries.
1
13
463










