Merkle Trees - IISome time ago, I added an article on what Merkle Trees are and a simple implementation in Go. You can find the article here "Merkle Trees". After all this time, I finally decided to write a follow-up article to compare how we can make the process eve...Nov 25, 2023 · 7 min readprog-bytes.hashnode.dev
Golang Structs Memory Allocation - III shared some of the understandings about how memory is allocated in Go within a struct and how can we make minor tweaks and attain good optimizations in our program. The link to the previous article is here (Golang Struct Memory Allocation). Talk i...Nov 13, 2023 · 4 min readprog-bytes.hashnode.dev
Golang Structs Memory AllocationAll values and examples have been run on Go Playground using Go 1.21 In Golang the memory allocation follows a set of rules. Before getting into those rules we need to understand what the alignment of variables is Golang unsafe package has a functio...Nov 11, 2023 · 5 min readprog-bytes.hashnode.dev
Introduction to Go GenericsGo 1.18 arrived with the added support for "generics". Okay. But what are generics? So generics are a way of writing code that is not restricted with the specific types being used. But we could already use interface{} and have type casting. Yes...Jun 30, 2022 · 5 min readprog-bytes.hashnode.dev
Merkle TreesMost of the folks among us would have heard of the terms "encryption" , "security" , "safety" etc. and these mostly refer to the cybersecurity principles which have become the norm in today's information world where data has become a traceable entit...Dec 5, 2021 · 8 min readprog-bytes.hashnode.dev