Rust Introduction is a modern systems programming language developed by the Mozilla Corporation. It is intended to be a language for highly concurrent and highly secure systems. It compiles to native code; hence, it is blazingly fast like C and C++. This tutorial adopts a simple and practical approach to describe the concepts of Rust programming.
Rust – Introduction
Rust is a systems-level programming language, developed by Graydon Hoare. Mozilla Labs later acquired the program.
Application v/s Systems Programming Languages
Application programming languages like Java/C# are used to build software, which provides services to the user directly. They help us build business applications like spreadsheets, word processors, web applications or mobile applications.
Systems programming languages like C/C++ are used to build software and software platforms. They can be used to build operating systems, game engines, compilers, etc. These programming languages require a great degree of hardware interaction.
Systems and application programming languages face two major problems −
- It is difficult to write secure code.
- It is difficult to write multi-threaded code.
Why Rust?
Rust focuses on three goals −
- Safety
- Speed
- Concurrency
The language was designed for developing highly reliable and fast software in a simple way. Rust can be used to write high-level programs down to hardware-specific programs.
Performance
Rust programming language does not have a Garbage Collector (GC) by design. This improves the performance at runtime.
Memory safety at compile time
Software built using Rust is safe from memory issues like dangling pointers, buffer overruns, and memory leaks.
Multi-threaded applications
Rust’s ownership and memory safety rules provide concurrency without data races.
Support for Web Assembly (WASM)
Web Assembly helps to execute high computation-intensive algorithms in the browser, on embedded devices, or anywhere else. It runs at the speed of native code. Rust can be compiled to Web Assembly for fast, reliable execution.
Next Topic – Click Here
Pingback: Rust - Concurrency - Adglob Infosystem Pvt Ltd
Pingback: F# - Overview - Adglob Infosystem Pvt Ltd
Pingback: F# - Environment Setup - Adglob Infosystem Pvt Ltd
Pingback: F# - Program Structure - Adglob Infosystem Pvt Ltd
Pingback: F# - Basic Syntax - Adglob Infosystem Pvt Ltd
Pingback: F# - Data Types - Adglob Infosystem Pvt Ltd
Pingback: F# - Variables - Adglob Infosystem Pvt Ltd
Pingback: F# - Operators - Adglob Infosystem Pvt Ltd
Pingback: F# - Decision-Making - Adglob Infosystem Pvt Ltd
Pingback: F# - if/then statement - Adglob Infosystem Pvt Ltd
Pingback: F# - if/else statement - Adglob Infosystem Pvt Ltd
Pingback: F# - if/elif/else statement - Adglob Infosystem Pvt Ltd
Pingback: F# - Nested if Statement - Adglob Infosystem Pvt Ltd
Pingback: F# - Loops - Adglob Infosystem Pvt Ltd
Pingback: F# - for to and for downto - Adglob Infosystem Pvt Ltd
Pingback: F# - for in loop - Adglob Infosystem Pvt Ltd
Pingback: F# - while.do Loops - Adglob Infosystem Pvt Ltd
Pingback: F# - Nested Loops - Adglob Infosystem Pvt Ltd
Pingback: F# - Functions - Adglob Infosystem Pvt Ltd
Pingback: F# - Strings - Adglob Infosystem Pvt Ltd
Pingback: F# - Options - Adglob Infosystem Pvt Ltd
Pingback: F# - Tuples - Adglob Infosystem Pvt Ltd
Pingback: F# - Records - Adglob Infosystem Pvt Ltd
Pingback: F# - Lists - Adglob Infosystem Pvt Ltd
Pingback: F# - Sequences - Adglob Infosystem Pvt Ltd
Pingback: F# - Sets - Adglob Infosystem Pvt Ltd
Pingback: F# - Maps - Adglob Infosystem Pvt Ltd
Pingback: F# - Discriminated Unions - Adglob Infosystem Pvt Ltd
Pingback: F# - Mutable Data - Adglob Infosystem Pvt Ltd
Pingback: F# - Arrays - Adglob Infosystem Pvt Ltd
Pingback: F# - Mutable Lists - Adglob Infosystem Pvt Ltd
Pingback: F# - Mutable Dictionary - Adglob Infosystem Pvt Ltd
Pingback: F# - Basic I/O - Adglob Infosystem Pvt Ltd
Pingback: F# - Generics - Adglob Infosystem Pvt Ltd
Pingback: F# - Delegates - Adglob Infosystem Pvt Ltd
Pingback: F# - Enumerations - Adglob Infosystem Pvt Ltd
Pingback: F# - Pattern Matching - Adglob Infosystem Pvt Ltd
Pingback: F# - Exception Handling - Adglob Infosystem Pvt Ltd
Pingback: F# - Classes - Adglob Infosystem Pvt Ltd
Pingback: F# - Structures - Adglob Infosystem Pvt Ltd
Pingback: F# - Operator Overloading - Adglob Infosystem Pvt Ltd
Pingback: F# - Inheritance - Adglob Infosystem Pvt Ltd
Pingback: F# Interfaces - Adglob Infosystem Pvt Ltd
Pingback: F# - Events - Adglob Infosystem Pvt Ltd
Pingback: F# - Modules - Adglob Infosystem Pvt Ltd
Pingback: F# - Namespaces - Adglob Infosystem Pvt Ltd