
Building the Brazilian savings group app @safepoolapp
Joined July 2010
- Tweets9.6K
- Following885
- Followers413
- Likes47K
Graduated from the Rektoff Bootcamp: Cohort 5 this weekend!!
Weeks deep in Solana security, capped with a full audit of a broken lending protocol. Shipped a report I'm very proud of, found real bugs, and wrote real PoCs.
Thank you @rektoff_xyz + @SolanaFndn + @SuperteamBR 🫡🫡
Excited for what's next.
1
7
144
Why? Rust's BTreeMap has no comparator arg like C++'s std::map. The idiomatic fix is a newtype that flips Ord. Clean and zero-cost, but the type shows up everywhere.
That's the whole theme: Rust makes a decision visible that TS lets you hide.
Early and ongoing, I'm tracking progress in the README if you want to follow along: github.com/davigiroux/footho…
#Rust #BuildInPublic
41
This one just felt weird at first glance: Reverse().
To sort my bids high-to-low I keyed the map by Reverse(price). But Reverse<Price> is a different type from Price, so every lookup, insert, and remove has to wrap it. The wrapper leaks to every call site that touches a key.
1
21
Conditional Option without the if.
Instead of wrapping a value in an if/else to get Some or None, you call a method on the condition itself. Reads like the TS ternary cond ? x : undefined.
1
9
This one confused me a bit coming from TS: The ? operator.
Unwrap a value or return early in a single character. If it's None, the function bails right there. No else branch, no early-return boilerplate. The rest of the code reads as if the value is always present.
1
16







