Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,815 members, 7,817,364 topics. Date: Saturday, 04 May 2024 at 11:03 AM

Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears (1544 Views)

Why I Am Stepping Into Rust / Urgent Need Of Someone Who Understands RUST Programming Language / Rust Lagos! (2) (3) (4)

(1) (Reply) (Go Down)

Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by harryobas: 11:38am On Jul 15, 2019
Rust is a systems programing language that compiles directly to machine code (no bytecode or intermediate language). With execution speed comparable to C/C++. Rust is a relatively new language (first stable version released in 2015) that has gained a lot of traction very quickly. Its use cases are pretty hardcore: operating systems, device drivers and embedded systems that might not even have an operating system. However, it's actually a very pleasant language to write normal application code in as well.

The big difference from C and C++ is that Rust is safe by default; all memory accesses are checked. It is not possible to corrupt memory by accident.

The unifying principles behind Rust are:

1. strictly enforcing safe borrowing of data.
2. functions, methods and closures to operate on data.
3. tuples, structs and enums to aggregate data.
4. pattern matching to select and destructure data
5. traits to define behavior on data

On a personal note, I think Rust is super cool and a very good alternative to C/C++ compared Languages like Go or Swift. Rust is awesome and Rust really rocks.

Happy Coding! smiley
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by nybol(m): 1:58pm On Jul 15, 2019
Hi,
How does it compare to java please ?
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by harryobas: 3:03pm On Jul 15, 2019
nybol:
Hi,
How does it compare to java please ?

With regards to performance, Rust is very much faster than Java as it compiles directly to machine code (no bytecode) Furthermore, the Rust compiler does not utilize resource hungry garbage collector (GC).
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by BlackHole47: 3:54pm On Jul 15, 2019
harryobas:

Rust is a systems programing language that compiles directly to machine code (no bytecode or intermediate language). With execution speed comparable to C/C++. Rust is a relatively new language (first stable version released in 2015) that has gained a lot of traction very quickly. Its use cases are pretty hardcore: operating systems, device drivers and embedded systems that might not even have an operating system. However, it's actually a very pleasant language to write normal application code in as well.

The big difference from C and C++ is that Rust is safe by default; all memory accesses are checked. It is not possible to corrupt memory by accident.

The unifying principles behind Rust are:

1. strictly enforcing safe borrowing of data.
2. functions, methods and closures to operate on data.
3. tuples, structs and enums to aggregate data.
4. pattern matching to select and destructure data
5. traits to define behavior on data

On a personal note, I think Rust is super cool and a very good alternative to C/C++ compared Languages like Go or Swift. Rust is awesome and Rust really rocks.

Happy Coding! smiley

This Rust I was about to learn it 3years ago but that day I didn't have much data so I couldn't download it.
Anyway how does it compare to Golang , I know it is possible to turn on and off its Gc one of the reasons I looked into it 3years back also what about it's support for networking (Golang is awesome here, you will need to give me a pretty good reason apart from networking to leave it) and also GUI.
As for c++ / c is it now faster than them in single and multi threaded computing , also it's memory usage when dealing with threads and coroutines(goroutines) ,is the memory usage low can I just launch hundreds of threads without having memory drawbacks.
I need an answer quickly thanks
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by Baabu320: 9:49am On Jul 16, 2019
where can i learn Rust or Golang and Is any of these programming language used in mobile app or software development cuz i know swift is used for IOS app development.....Am a novice please enlight me
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by BlackHole47: 9:52am On Jul 16, 2019
Baabu320:
where can i learn Rust or Golang and Is any of these programming language used in mobile app or software development cuz i know swift is used for IOS app development.....Am a novice please enlight me
First question what do you want to learn it for
Re: Learn Rust - Build Fast, Safe And Concurrent Programs Without Tears by Baabu320: 2:20pm On Jul 17, 2019
BlackHole47:

First question what do you want to learn it for

In line with my career i have been finding a place around yaba and ikeja to learn mobile app but no tangible lead and seeing this be an opportunity for me yo kick start...i don't like online cuz i prefer offline where i will be able to ask questions and learn from the teacher real time experience....cuz i bliv experience is part of learning which is not available online....

the major purpose is to be able to create mobile or web applications or software....

(1) (Reply)

How Programming Section Can Really Be Of Help. / I Need Someone That A Create A Good E Commerce Website For Me / Mac Compiler For C/C++

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.