0% found this document useful (0 votes)
80 views

Rust

Rust is a systems programming language that emphasizes memory safety and concurrency without using garbage collection, using a borrow checker to track references during compilation. It was created by Mozilla in 2006 and officially launched in 2010 to be used in the Servo browser engine, becoming stable in 2015 and now being used for a variety of applications from operating systems and microcontrollers to web services and data analysis.

Uploaded by

Abdullah Aftab
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

Rust

Rust is a systems programming language that emphasizes memory safety and concurrency without using garbage collection, using a borrow checker to track references during compilation. It was created by Mozilla in 2006 and officially launched in 2010 to be used in the Servo browser engine, becoming stable in 2015 and now being used for a variety of applications from operating systems and microcontrollers to web services and data analysis.

Uploaded by

Abdullah Aftab
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

RUST

Rust is a multi-paradigm, general-purpose programming language. Rust


emphasizes performance, type safety, and concurrency. Rust enforces memory safety
—that is, that all references point to valid memory—without requiring the use of
a garbage collector or reference counting present in other memory-safe languages.
[11]
 To simultaneously enforce memory safety and prevent concurrent data races, Rust's
"borrow checker" tracks the object lifetime of all references in a program
during compilation. Rust is popular for systems programming but also offers high-level
features including some functional programming constructs.

Purpose of making Rust language


Other programming languages have a lot of control over the hardware that you
are running, like, you can optimize it well, translate directly to assembly code,
but it’s not very safe.
So rust provides us all the controls that we can have and all the levels of
security that we can achieve.
Rust is using Rust which means that all the standard compiler libraries are
written in rust; there is a bit of use of the C programming language but most of it
is Rust.
Some advantages of rust language

1. Quick debugging and testing: Rust is a very fast language and


supports quick and effective debugging.
2. Rust supports more complex code as compared to other languages,
so we can achieve more in less code.
3. It enables cross-platform development.
4. Ease of integration: Rust can be easily integrated with C and many
other famous programming languages.
5. Rust is safer than other programming languages.
6. There is a wide community of developer which support Rust.

History
Origins (2006–2012)
RUST

Rust grew out of a personal project begun in 2006 by Mozilla Research employee Graydon Hoare.
Mozilla began sponsoring the project in 2009 as a part of the ongoing development of an
experimental browser engine called Servo. The project was officially announced by Mozilla in
2010. During the same year, work had shifted from the initial compiler written in OCaml to a self-
hosting compiler based on LLVM written in Rust. The new Rust compiler successfully compiled
itself in 2011.

Evolution (2012–2019)
Rust's type system underwent significant changes between versions 0.2, 0.3, and 0.4. In version 0.2,
which was released in March 2012, classes were introduced for the first time. Four months later,
version 0.3 added destructors and polymorphism through the use of interfaces. In October 2012,
version 0.4 was released and added traits as a means for inheritance. Interfaces were unified with
traits and removed as a separate feature, and classes were replaced by a combination of
implementations and structured types. Prior to version 0.4, Rust also supported typestate
analysis through contracts. It was removed in release 0.4, though the same functionality can be
achieved by leveraging Rust's type system
In January 2014, the editor-in-chief of Dr. Dobb's Journal, Andrew Binstock, commented on Rust's
chances of becoming a competitor to C++ in addition to the languages D, Go, and Nim (then
Nimrod). According to Binstock, while Rust was "widely viewed as a remarkably elegant language",
adoption slowed because it repeatedly changed between versions. The first stable release, Rust 1.0,
was announced on May 15, 2015.

Usage in Applications

 You can use Rust to write operation systems or microcontroller


applications. In fact, there are a number of operating systems written in Rust
like: Redox, intermezzOS, QuiltOS, Rux, and Tock. Mozilla, where the language
was originally designed, uses it in its browser engines.
High performance and safety are the features that made Rust so appealing
to scientists that started using it to perform heavy data analysis. Rust is
blazingly fast, making it an ideal choice for computational biology and
machine learning, where you need to process large amounts of data very
quickly. 
RUST

Two Real time applications programmed using RUST


There are number of applications that are made in Rust but these are some of the most popular
and demanding applications made in rust.
Software you know and love, like Firefox, Dropbox, and Cloudflare, uses Rust. From
startups to large corporations, from embedded devices to scalable web services, Rust is
a great fit.

You might also like