Build Your Own AI Assistant Part 1 - Creating the Assistant
116820 Views
Is the new Raspberry Pi AI Kit better than Google Coral?
114678 Views
Control Arduino with Python using Firmata / PyFirmata
87081 Views
How to Map with LiDAR - using a Raspberry Pi Zero 2W, RPLidar and Rviz
57314 Views
Creating a Supercomputer with a Raspberry Pi 5 Cluster and Docker Swarm!
53588 Views
Node-Red Automation, MQTT, NodeMCU & MicroPython
52067 Views
LidarBot
Snaszy NAS a 3D printed NAS for Raspberry Pi
Waveshare CM5 boards
The Best Arduino Robot for Beginners
SMARS Lab upgrade with PyCharm
Chicken Nugget Piano
Mini-Rack 3D Design Tutorial
0h 20m
Using the Raspberry Pi Pico's Built-in Temperature Sensor
0h 24m
Getting Started with SQL
0h 32m
Introduction to the Linux Command Line on Raspberry Pi OS
0h 42m
How to install MicroPython
0h 8m
Wall Drawing Robot Tutorial
0h 22m
Learn Linux from the basics to advanced topics.
Learn how to use a Raspberry Pi Pico
Learn MicroPython the best language for MicroControllers
Learn Docker, the leading containerization platform. Docker is used to build, ship, and run applications in a consistent and reliable manner, making it a popular choice for DevOps and cloud-native development.
Learn how to build SMARS robots, starting with the 3D Printing the model, Designing SMARS and Programming SMARS
Learn how to build robots, starting with the basics, then move on to learning Python and MicroPython for microcontrollers, finally learn how to make things with Fusion 360.
Learn Python, the most popular programming language in the world. Python is used in many different areas, including Web Development, Data Science, Machine Learning, Robotics and more.
Learn how to create robots in 3D, using Fusion 360 and FreeCAD. The models can be printed out using a 3d printer and then assembled into a physical robot.
Learn how to create Databases in Python, with SQLite3 and Redis.
KevsRobots Learning Platform
7% Percent Complete
By Kevin McAleer, 4 Minutes
Rust is a system programming language focused on safety, especially safe concurrency, supporting functional and imperative-procedural paradigms. This lesson is an introduction to Rust programming, especially tailored for programmers with a background in Python or MicroPython.
Rust
Rust is a programming language that focuses on speed, memory safety, and parallelism. It is designed to be a safer, concurrent, practical language, supporting pure-functional, imperative-procedural, and object-oriented styles.
The development of Rust began as a personal project by Graydon Hoare in 2006. Mozilla sponsored the project in 2009 and announced it in 2010. The language steadily grew in popularity and saw its first stable release, Rust 1.0, on May 15, 2015. Since then, it has rapidly evolved, driven by an active community and an open development process.
The name āRustā is a play on words related to the rust fungus, which is a parasite that grows on fast, distributed systems (a nod to the speed and concurrency aims of the language). Additionally, rust (the corrosion) is seen as a slower, more relentless process that breaks down old systems, aligning with the languageās goal to provide a safer alternative to older system programming languages like C and C++.
The goals of Rust are defined by its design choices, which aim to create a language that:
Rustās design is intended to support highly concurrent and highly safe systems, and āsafe codeā can be as fast as āunsafe codeā in languages like C and C++. This approach comes from the languageās unique blend of low-level control over memory with high-level language features.
The origins of Rust are deeply rooted in the desire to improve system programming through memory safety, concurrency, and performance. Created by Graydon Hoare and developed with the backing of Mozilla, Rust has grown into a widely used language that seeks to change how developers think about safe, efficient, and concurrent code. The Rust programming community continues to build on these goals, pushing the boundaries of whatās possible in system-level programming.
Rust offers memory safety without garbage collection, and concurrency without data races. Itās designed to help you write fast, reliable software. Here are some reasons to consider Rust:
To get started with Rust:
rustc --version
Letās write your first Rust program, a classic āHello, World!ā:
fn main() { println!("Hello, World!"); }
To run this program:
.rs
hello_world.rs
./hello_world
hello_world.exe
You should see Hello, World! printed in the terminal.
In this lesson, youāve been introduced to the Rust programming language. Youāve learned why Rust can be a powerful tool in your programming arsenal, how to install it, and how to write and execute your first Rust program.
Next >