The Beginner’s Guide to Go Memory Allocation: Stack, Heap, and Escape Analysis

When programming in Go, understanding how variables are allocated in memory is crucial for writing efficient and performant code. In this article, we’ll delve into the concepts of stack, heap, and escape analysis, ensuring even beginners can grasp these fundamental topics. Stack & Heap : In Go, variables are allocated in two primary memory locations: the stack and the heap. Let’s … Continue reading The Beginner’s Guide to Go Memory Allocation: Stack, Heap, and Escape Analysis

Guide to JSON Marshal/Unmarshal and Encode/Decode

Introduction JSON is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate. In Go, working with JSON is made simple with the encoding/json package. This blog will explore the fundamentals of JSON marshal/unmarshal and encode/decode in Go, when to use them, a comparison of their … Continue reading Guide to JSON Marshal/Unmarshal and Encode/Decode

Go : Just Go for it

Golang is an open-source, light-weight procedural programming language, developed in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson at Google but launched in 2009 as an open-source programming language. Go is statically typed and compiled language, it is fast and easy to learn. Go is used for building servers and web apps. Why Go … Continue reading Go : Just Go for it