Member-only story

What is Rust about?

Nicola Andrei-George
9 min readDec 2, 2024

The PROs and CONs

The Rust Programming Language
Rust Language

Story

Back then, in 2006, Graydon Hoare created Rust as a response to the problem of memory allocation/deallocation in C, which is a troublemaker in all huge companies like Amazon, Google, Mozilla(where Graydon was working then), Microsoft, Meta etc.

The catch is combining a cli utility(something C never had and always been weirdo when needed some external libraries or frameworks) for testing, compiling and running with feature-rich built-in function(this way, for us not to feel we reinvent the wheel every time we read a string from console) and with a bare metal programming language.

Why I say it is ‘bare metal’? Well, Rust is at the same a high-level programming language like C, C++, Java, Python, D, Javascript, etc., but still very specific and intricate traits as:

  • strongly typed: all the variables are declared accordingly to the type and size, for instance: (signed) integers — i8, i16, i32, i64, i128, unsigned integers — u8, u16, u32, u64, u128 or floats — f32, f64, where the numbers represent the bits used for storage.
  • exception propagation — all the built-in methods that might return a type or not, for instance splitting a file text according to UTF-16 if it is not UTF-16 encoded or returning the remainder of the division when you divide by 0, have to be

--

--

Nicola Andrei-George
Nicola Andrei-George

Written by Nicola Andrei-George

just your regular computer science student passionate about AI and satellite communication. You can contact me at nicola.andrei.g@gmail.com

No responses yet