WebAssembly Overview1. Introduction What is WebAssembly (Wasm)? WebAssembly is a low-level, assembly-like code format that is safe, portable, and optimized for efficient execution and compact representation. It acts as a compilation target for many programming languages...Dec 25, 2024·4 min read
Rust Memory ManagementAs I embark on my journey into the world of Rust, one topic that continually piques my interest is memory management. While I may still be wearing my "Rust newbie" badge with pride, I've come to appreciate the unique way this language approaches mana...Sep 16, 2023·4 min read
Project: Command-line Calculator in RustLet's dive straight in!!! In this project, we'll put all of our code in a single file, main.rs Let's start by importing the necessary libraries. use std::io::{self, Write}; use std::str::FromStr; use std::convert::TryFrom; use std::collections::VecDe...Aug 5, 2023·4 min read
Understanding Regular Expressions in JavaScriptRegular expressions, often abbreviated as regex or regexp, are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. They can be used with the RegExp methods test() and exec() and with the Stri...Aug 3, 2023·3 min read
Understanding Pattern Matching in RustHello, fellow Rustaceans! I'm excited to share my findings and would warmly welcome your insights, corrections, or additional tips on this subject. Let's learn together!Rust provides a rich set of tools for Pattern Matching - match, matches!, and if ...Jul 10, 2023·3 min read
Understanding and Using Option Enum in RustHello, Rustaceans! Today we're diving into one of Rust's core features that sets it apart from many other languages: the Option enum. In languages like JavaScript or Python, a function might return a value, or it might return null or None to indicate...Jun 9, 2023·2 min read
Rust Project Structure DemystifiedHello, fellow learner! As you venture into the exciting world of Rust, understanding the project structure is crucial to help you maintain your code, ensure readability, and make it scalable as your project grows. That's why I've created this beginne...Apr 30, 2023·3 min read