<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Basic Concepts on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/basic-concepts/</link><description>Recent content in Basic Concepts on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 25 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/basic-concepts/index.xml" rel="self" type="application/rss+xml"/><item><title>Core Concepts: Variables, Data Types, and Operators</title><link>https://ai-blog.noorshomelab.dev/rust-guide/core-concepts-variables-data-types-operators/</link><pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-guide/core-concepts-variables-data-types-operators/</guid><description>&lt;h1 id="core-concepts-variables-data-types-and-operators"&gt;Core Concepts: Variables, Data Types, and Operators&lt;/h1&gt;
&lt;p&gt;Now that your Rust environment is set up, let&amp;rsquo;s dive into the fundamental building blocks of any programming language: variables, data types, and operators. Understanding these concepts is crucial for writing any meaningful Rust program.&lt;/p&gt;
&lt;h2 id="variables-and-mutability"&gt;Variables and Mutability&lt;/h2&gt;
&lt;p&gt;In Rust, variables are used to store data. By default, variables are &lt;strong&gt;immutable&lt;/strong&gt;, meaning once a value is bound to a variable, it cannot be changed. This promotes safer code by making it harder to introduce unexpected side effects.&lt;/p&gt;</description></item><item><title>Core Concepts: Control Flow and Functions</title><link>https://ai-blog.noorshomelab.dev/rust-guide/core-concepts-control-flow-functions/</link><pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-guide/core-concepts-control-flow-functions/</guid><description>&lt;h1 id="core-concepts-control-flow-and-functions"&gt;Core Concepts: Control Flow and Functions&lt;/h1&gt;
&lt;p&gt;Every useful program needs to be able to make decisions and repeat actions. This chapter introduces you to Rust&amp;rsquo;s control flow constructs (&lt;code&gt;if&lt;/code&gt; expressions, &lt;code&gt;loop&lt;/code&gt;, &lt;code&gt;while&lt;/code&gt;, &lt;code&gt;for&lt;/code&gt;) and how to write reusable blocks of code using functions.&lt;/p&gt;
&lt;h2 id="control-flow"&gt;Control Flow&lt;/h2&gt;
&lt;p&gt;Control flow determines the order in which statements are executed in a program.&lt;/p&gt;
&lt;h3 id="if-expressions"&gt;&lt;code&gt;if&lt;/code&gt; Expressions&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;if&lt;/code&gt; expression allows you to execute code conditionally. The condition must always be a &lt;code&gt;bool&lt;/code&gt; (boolean) type. Rust does not implicitly convert non-boolean types to booleans.&lt;/p&gt;</description></item></channel></rss>