Pointers are a great way to pass large objects across

Arpit Bhayani

Arpit Bhayani

Dec 03, 2023 • 1 min read


Pointers are a great way to pass large objects across functions, but does it really benefit? ⚡

To build a deeper understanding, I did a benchmark of pass by value vs pass by pointer across various payload sizes and shared my learnings on Duggup, read it below

https://lnkd.in/g2W_CrqK

This was Day #2 of the 30 days of Go challenge, so follow along my journey and share your learnings on Duggup - a no-nonsense social network for people in tech.

⚡ I keep writing and sharing these engineering nuggets, so if you are keen on learning them, follow along.

duggup.com/p/arpit

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses