thomasnguyen.siteUnderstanding Escape Analysis in GolangGolang, also known as Go, is a statically typed, compiled programming language that is simple to use and efficient with memory. One of the key features of Golang is its automatic memory management, which is powered by a garbage collector. The garbage...Feb 5, 2024·5 min read
thomasnguyen.siteUnderstanding the FORCE_INDEX Hint in MySQL: A Performance Boosting Tool1.Introduction MySQL is one of the most popular relational database management systems in the world, known for its performance and scalability. Database administrators and developers often face the challenge of optimizing query performance, especiall...Sep 1, 2023·4 min read
thomasnguyen.siteSimplifying Dynamic Content with Go Templates in Golang1.Introduction Go is a powerful programming language known for its simplicity, efficiency, and robustness. Among its extensive standard library, Go provides a templating package that allows developers to generate dynamic content seamlessly. Go templa...Jul 20, 2023·5 min read
thomasnguyen.siteContext in Go: Managing Concurrency and Cancellation1. Introduction Concurrency and cancellation are critical aspects of building robust and efficient applications. Go provides a powerful and convenient way to manage these concerns through the context package. In this article, we will explore the cont...Jul 16, 2023·4 min read
thomasnguyen.siteSquirrel: Fluent SQL generator for Go1. Introduction Among the numerous libraries and frameworks available for Go, Squirrel stands out as a powerful query builder and SQL generator that simplifies database interactions and enhances developer productivity. In this article, we delve into ...Jul 15, 2023·3 min read