शैडोइंग अभ्यास: Rust in 100 Seconds - वीडियो के साथ अंग्रेजी बोलना सीखें

पाठ बनाया जा रहा है...
1
Rust, a memory-safe compiled programming language that delivers high-level simplicity with low-level performance.
2
It's a popular choice for building systems where performance is absolutely critical, like game engines, databases, or operating systems,
3
and is an excellent choice when targeting WebAssembly.
4
It started as a side project of Gradon Whore in 2007, who named it after the Rust fungus.
5
It was sponsored by Mozilla in 2009, and has been ranked the most loved programming language every year since 2016, with its fans being known as Rustations.
6
Traditionally, high-level languages provide a garbage collector to nerf your control over memory management,
7
while lower-level languages provide functions like Free and Allocate to shoot yourself in the foot.
8
Rust takes a different approach.
9
It has no garbage collector, but achieves memory safety with a concept known as ownership and borrowing.
10
By default, every variable in Rust is immutable.
11
This allows values to be used in the stack memory, which has minimal performance overhead.
12
However, mutable values or objects with an unknown size at compile time are stored in the heap memory.
13
Every value in a Rust program is assigned to a single variable known as its owner.
14
When that variable goes out of scope, the memory allocated to it is dropped automatically.
15
In some cases though, you may want to pass a reference to a different part of the program.
16
Borrowing allows you to access a reference in memory without taking ownership of it.
17
There are a ton of rules to go along with this system that the Rust BorrowChecker will validate at compile time.
18
These rules keep your code safe while providing absolute control over performance.
19
Rust also has a package manager called Cargo, where each individual package is a crate.
20
To get started, install Rust, then run Cargo New from the command line.
21
In the main.rs file, you'll find a main function, which is where the program will start executing.
22
Declare a variable with let, followed by its name and type.
23
The value can't be changed or reassigned by default, so add mutt to make it mutable.
24
The name of the variable is the owner.
25
A reference to its location in memory can be borrowed by other parts of the program by prefixing it with an ampersand.
26
Then use a macro like println to log the value to the standard output.
27
Rust also comes with a standard library that contains modules to handle I.O., the file system, concurrency, among many other things.
28
Now compile your code to an executable with the Rust compiler.
29
You just built a memory-safe executable that can handle the most performance-intensive system requirements.
30
This has been Rust in 100 seconds.
31
Hit the like button and subscribe if you want to see more short videos like this, and leave a comment if you want to see a full Rust tutorial.
32
Thanks for watching, and I will see you in the next one.

इस पाठ के बारे में

आप "Rust in 100 Seconds" के साथ Shadowing तकनीक का उपयोग करके अपनी अंग्रेजी का अभ्यास कर रहे हैं।

शैडोइंग तकनीक क्या है?

शैडोइंग (Shadowing) एक विज्ञान-समर्थित भाषा सीखने की तकनीक है जो मूल रूप से पेशेवर दुभाषिया प्रशिक्षण के लिए विकसित की गई थी। विधि सरल लेकिन शक्तिशाली है: आप मूल अंग्रेज़ी ऑडियो सुनते हैं और तुरंत इसे ज़ोर से दोहराते हैं — जैसे वक्ता की छाया 1-2 सेकंड की देरी से। शोध से पता चलता है कि यह उच्चारण सटीकता, स्वर, लय, जुड़ी हुई ध्वनियाँ, सुनने की समझ और बोलने की प्रवाहशीलता में काफ़ी सुधार करता है।

शैडोइंग तकनीक: पूरी चरण-दर-चरण गाइड पढ़ें →