About Rust

Similar Posts

  • Loops in Rust

    Rust has the standard loops one might expect, such as a while (conditional) style loop, and a for (counting) loop. As with most modern languages, it also has a for each style loop. A Bad Type of Loop… One thing that is unique however, is that it also includes a built in infinite loop, which…

  • Installing Ruby

    Installing Ruby is relatively simple. There is an install page as part of the Ruby documentation: https://www.ruby-lang.org/en/documentation/installation/ While they would prefer you to have a Unix, or Unix like environment, you can scroll down to find the best way to install this language runtime software. I personally went to the Ruby Installers section of the…

  • Overview of Ruby

    Ruby is a high-level, interpreted programming language that was designed to make coding as enjoyable as possible. Created by Yukihiro Matsumoto in the mid-1990s, Ruby prioritizes readability, simplicity, and productivity. The language is dynamically typed, object-oriented, and often praised for its clean, expressive syntax, which resembles natural language. Ruby is particularly popular in web development,…

  • Working with Variables in Rust

    In Rust, variables behave somewhat differently than in many other programming languages. Here’s a breakdown of how variables work in Rust, focusing on their unique features. Default Mutability Philosophy Rust’s choice to make variables immutable by default ensures that developers think carefully about mutability. It aligns with Rust’s overarching philosophy of safety and prevents unintended…

  • Your First Rust Program

    As per usual, we’ll create a simple “Hello World” style app to create our first program in Rust. While you can download and install a Rust compiler on your machine, for our examples, we will use an online editor: https://www.onlinegdb.com/online_rust_compiler Rust requires a main function, like many other languages (C/C++, Java, etc) however, there are…