devtedkim's profile picture. Developer

tedk

@devtedkim

Developer

tedk reposted

Diving thru Solana's syscalls..I finally "get" why we do &[&[&[u8]]] in Rust for CPI signer seeds - &[u8] -> an individual seed - &[&[u8]] -> slice of seeds for one signer - &[&[&[u8]]] -> slice of signers

Zensen977's tweet image. Diving thru Solana's syscalls..I finally "get" why we do &[&[&[u8]]] in Rust for CPI signer seeds

- &[u8] -> an individual seed
- &[&[u8]] -> slice of seeds for one signer
- &[&[&[u8]]] -> slice of signers

tedk reposted

If you are building high-performance web applications in Go, you'll eventually encounter situations where frequent memory allocations become a bottleneck. This is where sync.Pool comes in as a powerful tool for reusing temporary objects and reducing GC pressure. A sync.Pool…

Chikor_Zi's tweet image. If you are building high-performance web applications in Go, you'll eventually encounter situations where frequent memory allocations become a bottleneck.

This is where sync.Pool comes in as a powerful tool for reusing temporary objects and reducing GC pressure.

A sync.Pool…

tedk reposted

Why &[&[&[u8]]]? Actually, the first &[] is superfluous. The next two &[&[u8]] are because sol_sha256 takes in a reference to an array of references to byte slices, and sol_invoke_signed_c is essentially the same API because PDA signing is just sha256 hashing under the hood.


tedk reposted

Solana Pinocchio starter - a repo for ppl who want to dive into developing programs with Pinocchio 1. Comes with mollusk tests 2. Load any programs u want from the elf invoke them using mollusk 3. Saves CUs 4. No std 5. Client generation coming up soon github.com/Nagaprasadvr/s…


tedk reposted

A Go demo for streaming large files between microservices using chunked transfers, compression, and resumability. { author: @DialaEke } #DEVCommunity #GoLang dev.to/dialaeke/strea…


tedk reposted

gRPC in Go? This is the most comprehensive basic guide, covering RPC types, interceptors, headers, trailers, and more: victoriametrics.com/blog/go-grpc-b…

func25's tweet image. gRPC in Go? This is the most comprehensive basic guide, covering RPC types, interceptors, headers, trailers, and more: victoriametrics.com/blog/go-grpc-b…

tedk reposted

I've built Solana onchain programs for over 4 years. The 2 biggest engineering mistakes I see are: • Over optimizing early • Not following basic startup best practices. Here's a breakdown of 6 free tactics I used to get many programs to perform (1/ will *blow* your mind).


tedk reposted

Don't miss the @monad_xyz airdrop! Mint your first NFT to get started 👇 🔗 - app.mvhq.io/missions/monad…

Metaverse_HQ's tweet image. Don't miss the @monad_xyz airdrop!

Mint your first NFT to get started 👇
🔗 - app.mvhq.io/missions/monad…

United States Trends

Loading...

Something went wrong.


Something went wrong.