Hi Coders!
This is Amir aka Bek [ancient Egyptian name which happens to be my surname!], and in this blog I am going to talk about Rust!
The first time I've been introduced to Rust was on January 2022, you might think "oh that's pretty new", and I will tell you that the language itself is pretty new, so the first time the stable release of the language was introduced in 2016, first unstable release was in 2011; and originally Rust was a personal project of Graydon Hoare in 2007 who named the language after the Rust fungus; and was sponsored by Moz://a Firefox in 2009.
Rust is the most loved language since 2016 by 86.1 % of 65,000 developers in the 2020 Stack overflow survey.
Rust is statically typed programming language like C, C# or Java, and it's great for creating databases, game engines and even operating system; I've listened yesterday to DISTROTUBE podcast on YT and that's what he said, and I quote :
"It seems like every new program is written in Rust these days. In fact, many older programs are being rewritten in Rust, including a lot of the standard shell utilities. Today, I wanted to briefly mention seven Rust programs that I have installed that I think you should know about."
And this is the link to his video, if you're interested:
I also have learned that they want to re-write the whole Linux Kernel in Rust, and I cannot imagine how or when this could happen!
Rust is a great language that have taken a lot of features from different languages, in fact Rust syntax looks like C++; if you know C++ you'll grasp Rust very easily [ a ; typeof language!]
Rust is very efficient in terms of Memory Management control, however it does not have garbage collector [GC] => Microsoft Docs : In the common language runtime (CLR), the garbage collector (GC) serves as an automatic memory manager. The garbage collector manages the allocation and release of memory for an application. For developers working with managed code, this means that you don't have to write code to perform memory management tasks.
No GC like in C, or memory controlling functions like in C; instead Rust uses a concept called Ownership and Borrowing.
I have created a 1 hour quick course that introduces different concepts of Rust (and I'm planning to create more short Rust videos to explain more features, as I did not want the course to be more than hour)
In this course I've explained:
1- Compiling and Running a Hello World! default app.
2- CARGO [ Rust package manager, like NPM in Node ].
3- Variables and Data Types
4- Constants
5- Conditionals
6- Infinite Loops / Break and Continue statements
7- For Loop
8- while Loop
9- Tuples
10- Functions
11- Enums
And I'm planning on explaining shadowing, code blocks, references, structs, arrays, IMPL, traits, vectors and more..
Thank you for reading, and maybe watching.
GitHub: Bek Brace
Join Bek Brace Page @bekbraceinc
https://www.facebook.com/bekbraceinc
Instagram
https://www.instagram.com/bek_brace/
Please visit my page and join the group to get the latest posts from Bek Brace, we talk about programming languages and different technologies used in IT domain.
Top comments (1)
You can imagine it if you want, but it isn't true. I do love a lot of things about rust, but rust's compilation phase isn't going to work for the kernel. They want to allow writing certain modules in rust only, nobody has suggested rewriting the whole kernel.