Pranshu Rastogi (pranshurastogi)

Pranshu Rastogi

Head of Ecosystem & Integrations @ Push Protocol | Empathy resonates

16 Followers

Recent casts

#Day6ofRust If we declare a mutable vector v and pass it to a function, that function cannot mutate it.

  • 0 replies
  • 0 recasts
  • 0 reactions

#day5ofRust In Rust, if the last expression in a function doesn't have a semicolon, it's implicitly returned. However, a for loop itself doesn't evaluate to a value; it's a statement that performs actions. If your function ends with a for loop, Rust sees the loop as the last "thing," and since the loop doesn't return a value, it evaluates to (), the "unit type" (similar to void in other languages).

  • 0 replies
  • 0 recasts
  • 0 reactions

#Day3ofRust Why indexing a list have usize as type - usize is Rust's pointer sized unsigned integer type. Here's what that means: Size depends on your system: -- On 64-bit systems: usize = 64 bits (0 to 18,446,744,073,709,551,615) -- On 32-bit systems: usize = 32 bits (0 to 4,294,967,295) It automatically matches your CPU architecture. Why does it exist? Rust needs a type that can represent any valid memory address or collection size on your system. Using a fixed-size type like u32 would fail on 64-bit systems where addresses can be larger.

  • 0 replies
  • 0 recasts
  • 0 reactions

Top casts

Gm gm !! Do anyone even see this post or I am shadow banned!!

  • 0 replies
  • 0 recasts
  • 1 reaction

Nowadays, whenever I open X: Every memecoin story. ABC launches a .fun project or memecoin. A few weeks later: floor prices crash, vibes disappear, and ‘fun’ turns into ‘fund me, pls.’ 500 lucky folks: 💰 made millions. The other 5 million: learned valuable lessons. Welcome to the Fun-to-Dump Pipeline. Where are we even heading? 🤷‍♂️

  • 0 replies
  • 0 recasts
  • 0 reactions

Building an ambassador program isn’t rocket science... or is it? Most programs burn crypto on stats that don’t last. Here’s how I designed a system to create lifelong champions instead of short-term participants. Read the full Blog: https://pranshurastogi.medium.com/the-insiders-guide-to-building-an-iconic-transformative-ambassador-program-everyone-wants-in-on-42f4f829f1ee

  • 0 replies
  • 0 recasts
  • 0 reactions

Trust me, no matter how many hackathons you’ve crushed, this blog’s got something new for you. If not, well, you’ve learned not to trust a stranger on Warpcast. 😅 Either way, you’re learning something! So go on, check it out: https://pranshurastogi.medium.com/how-to-get-the-most-out-of-a-web3-hackathon-tips-tricks-b4f7d96b6abe

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses