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…Apr 251Apr 251
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…Apr 25Apr 25
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…Apr 24Apr 24
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…Apr 18Apr 18
Ly ChannaMutable variable declaration and a fun return value in Rust — The Simple RustUnderstand how Rust handles assignments to mutable variablesApr 17Apr 17
Ly ChannaUnderstand why Rust separates the implementation (impl) block from the struct definition — The…Design decisionApr 91Apr 91
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…Mar 30Mar 30
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…Mar 23Mar 23
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…Mar 23Mar 23
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…Mar 23Mar 23