- Rust - Discussion
- Rust - Useful Resources
- Rust - Quick Guide
- Rust - Concurrency
- Rust - Smart Pointers
- Rust - Iterator and Closure
- Rust - Package Manager
- Rust - File Input/ Output
- Rust - Input Output
- Rust - Generic Types
- Rust - Error Handling
- Rust - Collections
- Rust - Modules
- Rust - Enums
- Rust - Structure
- Rust - Slices
- Rust - Borrowing
- Rust - Ownership
- Rust - Array
- Rust - Tuple
- Rust - Functions
- Rust - Loop
- Rust - Decision Making
- Rust - Operators
- Rust - String
- Rust - Constant
- Rust - Variables
- Rust - Data Types
- Rust - HelloWorld Example
- Rust - Environment Setup
- Rust - Introduction
- Rust - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Rust - Introduction
Rust is a systems level programming language, developed by Graydon Hoare. Mozilla Labs later acquired the programme.
Apppcation v/s Systems Programming Languages
Apppcation programming languages pke Java/C# are used to build software, which provide services to the user directly. They help us build business apppcations pke spreadsheets, word processors, web apppcations or mobile apppcations.
Systems programming languages pke 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 apppcation 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 repable 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 pke dangpng pointers, buffer overruns and memory leaks.
Multi-threaded apppcations
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, repable execution.
Advertisements