Ly ChannaThe differences between Function Pointers and Closures — How to RustIn Rust, both function pointers and closures allow you to assign functions to variables and pass them as arguments, but they differ in key…2 min read·Apr 25, 2024--1--1
Ly ChannaDebug vs Display trait in Rust — The Simplest RustIn Rust, both Debug and Display are traits that control how objects are formatted and printed. However, they serve different purposes and…2 min read·Apr 25, 2024----
Ly ChannaSingle versus multiple lifetimes — how to RustIn Rust, using single versus multiple lifetimes in a program revolves around how complex your requirements are for managing the scope and…4 min read·Apr 24, 2024----
Ly ChannaDesign high data integrity in an asynchronous microservice architectureEnsuring high data integrity in an asynchronous microservice architecture involves implementing a combination of strategies to manage data…2 min read·Apr 18, 2024----
Ly ChannaMutable variable declaration and a fun return value in Rust — The Simple RustUnderstand how Rust handles assignments to mutable variables2 min read·Apr 17, 2024----
Ly ChannaUnderstand why Rust separates the implementation (impl) block from the struct definition — The…Design decision2 min read·Apr 9, 2024--1--1
Ly ChannaSetting up MySQL read replica on macOSSetting up a MySQL 5.7 read replica on the same machine (MacOS) involves a series of steps to ensure both the master and the replica…8 min read·Mar 30, 2024----
Ly ChannaUnderstanding the differences between String and str — The Simple RustIn Rust, String and str are two core types that handle string data, but they do so in different ways, catering to different needs in the…2 min read·Mar 23, 2024----
Ly ChannaUnderstand reference parameters comparison — The Simple RustIn Rust, reference parameters are sometimes used to compare values without explicitly using dereference operators due to Rust’s automatic…2 min read·Mar 23, 2024----
Ly ChannaLifetime parameter — The Rust langLifetime parameters in Rust are crucial for memory safety without the overhead of garbage collection. They allow the compiler to ensure…2 min read·Mar 23, 2024----