ඔයාට පස් දෙනෙක් ඉන්න පුළුවන් නම් මොකටද එක ෆොටෝ එකක් තියෙනවද? Rust අද රජු - සහ AI ඔබට එය ඉගෙන ගැනීමට උදව් කළ හැකිය Rust යනු නවීන පද්ධති මෘදුකාංගයේ රජු ලෙස හඳුන්වනු ලැබේ. Rust is acclaimed as the king of modern systems programming. It is not just challenging but also overpowering the long-standing dominance of C and C++. එය ලබා ගැනීමෙන් එය සාර්ථක වේ: The raw performance of C++ Guaranteeing comprehensive memory safety Providing compile-time concurrency safety Avoiding the majority of hackers’ loopholes, especially memory issues Providing the best package and configuration manager today in cargo . C++ වල Raw Performance සම්පූර්ණ මතකය ආරක්ෂාව Compile-Time Competition ආරක්ෂාව සැපයීම බොහෝ හැකර් දෝෂ, විශේෂයෙන් මතකය ගැටළු වළක්වා ගැනීම අද වන විට හොඳම පැකේජ සහ සැකසුම් කළමනාකරණය ලබා දීම. Stack Overflow විසින් සකස් කරන ලද පරිගණක අධ්යයන පර්යේෂණ වසර අටක් තිස්සේ Rust එක "බොහෝම ආදරය කරන" පරිගණක භාෂාව බවට පත් කර ඇත. Stack Overflow විසින් සකස් කරන ලද පරිගණක අධ්යයන පර්යේෂණ වසර අටක් තිස්සේ Rust එක "බොහෝම ආදරය කරන" පරිගණක භාෂාව බවට පත් කර ඇත. මෙම අනාවැකි නැති ජනප්රියත්වය එහි ආරම්භක ඉගෙනුම් කෙරැල්ල ගැලපෙන සංවර්ධකයින් බව නිසයි. මෙම වාසනාවන්ත කීප දෙනෙක් Rust හි විශේෂාංග සහ සහතිකයන් වාසිදායක හා නිෂ්පාදන බව සොයා ගනී. Killer Features of Rust for Systems Programming පද්ධති වැඩසටහන් සඳහා Rust for Systems Programming Rust මුළු පද්ධති වැඩසටහන් කර්මාන්තය පාලනය කර ඇත. ඒකයි ඒකට හේතුව. Memory Safety without a Garbage Collector: Rust's Compiler ස්ථාවරව මතකය ආරක්ෂාව සහතික කරයි This eliminates entire categories of common bugs like: null pointer dereferences buffer overflows dangling pointers. // This code, which would cause a dangling pointer in C++, won't even compile in Rust. fn get_dangling_reference() -> &String { let s = String::from("hello"); &s // Error: `s` does not live long enough } Zero-Cost Abstractions: Rust ඔබට ඉහළ මට්ටමේ, ප්රදර්ශනීය කේතයක් ලිවීමට ඉඩ සලසයි: Abstractions like: Iterators Closures async/await map/reduce patterns first-class functions: ප් රතිඵලදායික දඬුවමකින් තොරව. // This high-level iterator... let numbers = vec![1, 2, 3, 4, 5]; let sum_of_squares: i32 = numbers.iter().map(|&x| x * x).sum(); // ...compiles down to machine code as efficient as a manual C-style loop. Fearless Concurrency: The same ownership and type system that guarantees memory safety: Prevents data races at compile time! This makes it significantly easier and safer to write concurrent, multi-threaded programs. use std::thread; fn main() { let mut data = vec![1, 2, 3]; // This attempt to use the same mutable data from two threads is a compile-time error. // Rust forces you to use safe concurrency primitives like Arc and Mutex. // thread::spawn(|| { data.push(4); }); // Error: closure may outlive current function // thread::spawn(|| { data.push(5); }); // Error } Modern Tooling with Cargo: Cargo is Rust's integrated build system and package manager It is praised for its simplicity and power Cargo handles: project creation dependency management building testing And much more with simple commands. # Create a new project cargo new my_awesome_project # Add a dependency by adding one line to Cargo.toml # [dependencies] # serde = "1.0" # Build and run cargo run Ep Learning Curve ඉගෙනීම අහිංසක නුඹ අහිංසක නුඹ නුඹ ආරම්භකයින් සඳහා ප්රධාන බාධාවක් වන්නේ Rust පරිවර්තනය කිරීමයි. The compiler is famously strict because: It must statically prove the correctness of your program's memory management It must prevent any errors in concurrency at compile time. It uses advanced algebraic structures to guarantee error-free concurrency. පරිගණකයා ප්රසිද්ධව දැඩි නිසා: එය ඔබගේ වැඩසටහන මතකය කළමනාකරණය නිවැරදි බව ස්ථීරව ඔප්පු කළ යුතුය එය compile වේලාව තුළ concurrent වේලාව තුළ කිසිදු වරදක් වළක්වා ගත යුතුය. එය වැරදි තොරව අනුකූලතාවය සහතික කිරීම සඳහා උසස් අංගික ව්යුහයන් භාවිතා කරයි. මෙම දැඩිත්වය අදහස් කරන්නේ වෙනත් භාෂා වල ක්රියාත්මක කළ හැකි කේතය (ඔහු පසුව කඩා වැටෙනු ඇත) ආරක්ෂක නීති සපුරාලන තුරු Rust හි පරිවර්තනය නොකරනු ඇත. The Borrow Checker and Ownership Rules Rust හි මතකය කළමනාකරණය පරිවර්තකය විසින් පරිවර්තනය කිරීමේ කාලය තුළ පරීක්ෂා කරන ලද නීති සංකේතය විසින් පාලනය කරනු ලැබේ. මේ ක් රමය අයිතිවාසිකම් කියන්නේ. Rule 1: Each value in Rust has a single owner. නීතිය 1: Rust හි සෑම අගයකටම එකම අයිතිකරුවෙක් ඇත. fn main() { // s is the owner of the String data "hello" allocated on the heap. let s = String::from("hello"); } Rule 2: There can only be one owner at a time. නීතිය 2: එක් වරක් එක් අයිතිකරුවෙක් පමණක් විය හැක. When a value is assigned to another variable, ownership is . moved fn main() { let s1 = String::from("hello"); let s2 = s1; // Ownership of the String data is moved from s1 to s2. // The line below will cause a compile-time error because s1 is no longer a valid owner. // println!("s1 is: {}", s1); // Error: value borrowed here after move } Rule 3: When the owner goes out of scope, the value is dropped. නීතිය 3: අයිතිකාරයා ප්රමාණයෙන් පිටතට ගිය විට, වටිනාකම අඩු වේ. Rust automatically calls a special drop function to free the memory. fn main() { { let s = String::from("I live only within these curly braces"); } // `s` goes out of scope here, and the memory is automatically freed. } අයිතිවාසිකම් ලබා නොගෙන දත්ත ප්රවේශ කිරීම සඳහා, ඔබ ඒක ණය එය සබැඳියක් නිර්මාණය කිරීමෙන් සිදු වේ. Immutable Borrows: අසාමාන් ය ණය: ඔබට එකම වටිනාකම සඳහා Multiple Immutable References (&T) භාවිතා කළ හැකිය. මේක Read Only Access එකක්. fn main() { let s1 = String::from("hello"); let r1 = &s1; // Immutable borrow let r2 = &s1; // Another immutable borrow is fine println!("r1 = {}, r2 = {}", r1, r2); // This works perfectly. } Mutable Borrows: ඔබ යම් යම් ප්රමාණයේ වටිනාකම සඳහා එක් ප්රවර්ගයක් (&mut T) පමණක් ලබා ගත හැකිය. මෙය නවත්වන්නේ (Google එය වැඩිදුර දැන ගැනීමට) data races fn main() { let mut s1 = String::from("hello"); let r1 = &mut s1; // One mutable borrow // let r2 = &mut s1; // Error: cannot borrow `s1` as mutable more than once at a time r1.push_str(", world!"); println!("{}", r1); } You cannot have a mutable borrow while immutable borrows exist. fn main() { let mut s = String::from("hello"); let r1 = &s; // immutable borrow let r2 = &mut s; // Error: cannot borrow `s` as mutable because it is also borrowed as immutable // println!("{}, {}", r1, r2); } ඒ මෙම සියලුම අයිතිවාසිකම් සහ ණයට පත් කිරීමේ නීති ක්රියාත්මක කරන Rust පරිවර්තනයක කොටසක් වේ. borrow checker ආරම්භක Rust වැඩසටහන්කරුවන් බොහෝ විට විශාල කාලයක් ගත කරන්නේ "නිර්මානුකූල පරීක්ෂකයා සමඟ සටන් කිරීමයි". Beginner Rust programmers often spend a significant amount of time "fighting the borrow checker." සෑම ගුරුවරයෙකුගේම පඩිපෙළකි. නමුත් Gemini සමඟ, සරල ඉංග්රීසි Q&A හරහා පැහැදිලි කිරීම් ලබා ගත හැකිය. But with Gemini, explanations are available via simple English Q&A. මෙම ක්රියාවලිය Rust හි ආරක්ෂක සහතිකවලට ගැලපෙන ආකාරයෙන් කේතය ව්යුහය කිරීමට ඉගෙන ගැනීම ඇතුළත් වේ. මෙම ආරම්භක සටන, දුෂ්කර වන අතර, ආරක්ෂිත හා ඵලදායී Rust කේතය ලිවීමට අවශ්ය මූලික අවබෝධය ගොඩනැගීමයි. එය ඔබට පළමු දවසේ සිට හොඳ පුරුද්දක් ගොඩනඟා ගැනීමට බලපාන දැඩි ගුරුවරයෙකු සිටින ආකාරයයි. Other Arcane Rules That Make Rust Difficult Lifetimes: ජීවිත කාලය : Lifetimes are the syntax Rust uses to tell the borrow checker how long references are valid. In many cases, the compiler can infer lifetimes, but sometimes, you must annotate them explicitly using an apostrophe syntax, like 'a. Lifetimes prevent dangling references, where a reference points to memory that has been deallocated. // We must explicitly tell the compiler that the returned reference (`&'a str`) // lives at least as long as the shortest-lived input reference (`'a`). fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { if x.len() > y.len() { x } else { y } } Traits: චරිත : A trait tells the Rust compiler about functionality a type must provide. It's similar to an interface in languages like Java or C#. It enables incredibly powerful polymorphism capabilities. // Define a trait `Summary` pub trait Summary { fn summarize(&self) -> String; } // Implement the trait for the `Tweet` struct pub struct Tweet { pub username: String, pub content: String, } impl Summary for Tweet { fn summarize(&self) -> String { format!("{}: {}", self.username, self.content) } } Generics: ජෙනරල් : Generics are abstract stand-ins for concrete types. They allow you to write flexible code that avoids duplication by operating on many different data types. // This function can take any type `T` that implements the `PartialOrd` and `Copy` traits. fn largest<T: PartialOrd + Copy>(list: &[T]) -> T { let mut largest = list[0]; for &item in list.iter() { if item > largest { largest = item; } } largest } Now, we can see how AI comes into the picture. මුලින්ම kontext හදන්න ඕනෙ! Now, we can see how AI comes into the picture. Needed to set the context first! How AI Can Act as a Highly Reliable Free Tutor (විශේෂයෙන් විශ්වාසදායක නිදහස් ගුරුවරයෙක් ලෙස ක් රියා කළ හැකි ආකාරය) මුලින්ම උසස් ඉංජිනේරු දැනුම අවශ් ය නැත. කෙසේ වෙතත්, වහාම ඉංජිනේරු ඉගැන්වීම අද ලෝකයේ වැදගත් වේ. But we digress. Advanced prompt engineering is not initially required. Advanced prompt engineering is not initially required. However, mastering prompt engineering is vital in today’s world. But we digress. To learn Rust, you can speak in English-like language to the AI. උදාහරණයක් ලෙස: “මං උගන්වන්නේ රස්නගේ මූලික අර්ථයයි.” “Help me create a project in Rust.” “Help me install Rust in my Windows/Linux/Mac system.” “Write a program in Rust for ...” “Please debug this Rust program (paste the program below).” le.” “Help me understand this <Rust concept> with an examp “Explain this concept to me as if I were 10 years old.” "මගේ ණය පරීක්ෂකයා සහ අයිතිවාසිකම් ආකෘතිය මට තරුණයෙක් ලෙස පැහැදිලි කරන්න." "මෙම වැරදි පණිවුඩය මට සරල වචන වලින් පැහැදිලි කරන්න සහ කේතය නිවැරදි කිරීමට ආකාරය මට පෙන්වන්න." 1. “Teach me the basic concepts of Rust.” “Help me create a project in Rust.” “Help me install Rust in my Windows/Linux/Mac system.” “Write a program in Rust for ...” “Please debug this Rust program (paste the program below).” le.” “Help me understand this <Rust concept> with an examp “Explain this concept to me as if I were 10 years old.” "මගේ ණය පරීක්ෂකයා සහ අයිතිවාසිකම් ආකෘතිය මට තරුණයෙක් ලෙස පැහැදිලි කරන්න." "මෙම වැරදි පණිවුඩය මට සරල වචන වලින් පැහැදිලි කරන්න සහ කේතය නිවැරදි කිරීමට ආකාරය මට පෙන්වන්න." It is so simple that children can do it and are doing it! An AI assistant like Google Gemini in Google AI Studio can act as a: අහිංසක අන්තර්ගතය පෞද්ගලික අනුකූල Custmizable බලවත් Gentle Patient දරුවා Rust හි සංකීර්ණ සංකීර්ණ සංකීර්ණයන් ඉගෙන ගැනීම සඳහා සීමිතව ශක්තිමත් ගුරුවරයෙක්. ලේඛන පමණක් කියවීම වෙනුවට: ඔබට AI සමඟ කතාබහ කළ හැකිය. You can ask it to rephrase explanations or provide different examples. Until a concept clicks. මෙම ක්රීඩාව පරිවර්තනය කිරීම සඳහා පරිගණකයින් සඳහා, 900 පිටුවක අධ්යයන පොත් හරහා ප්රවේශ විය. An AI can take an intimidating compiler error and translate it into plain English. It can explain why the error occurred and suggest multiple ways to fix it. මෙය විවිධ මට්ටම්වල Rust ඉගෙන ගන්න ඕනෑම කෙනෙකුට සුපිරි බලයක්! ලේඛන පමණක් කියවීම වෙනුවට: ලේඛන පමණක් කියවීම වෙනුවට: You can have a conversation with the AI. You can ask it to rephrase explanations or provide different examples. Until a concept clicks. ඔබට AI සමඟ කතාබහ කළ හැකිය. You can ask it to rephrase explanations or provide different examples. Until a concept clicks. මෙම ක්රීඩාව පරිවර්තනය කිරීම සඳහා පරිගණකයින් සඳහා, 900 පිටුවක අධ්යයන පොත් හරහා ප්රවේශ විය. මෙම ක්රීඩාව පරිවර්තනය කිරීම සඳහා පරිගණකයින් සඳහා, 900 පිටුවක අධ්යයන පොත් හරහා ප්රවේශ විය. An AI can take an intimidating compiler error and translate it into plain English. AI යනු බයදායක පරිවර්තන වරදක් ගෙන එය සරල ඉංග් රීසි භාෂාවට පරිවර්තනය කළ හැකිය. It can explain why the error occurred and suggest multiple ways to fix it. It can explain why the error occurred and suggest multiple ways to fix it. This is a superpower for anyone learning Rust on multiple levels! මෙය විවිධ මට්ටම්වල Rust ඉගෙන ගන්න ඕනෑම කෙනෙකුට සුපිරි බලයක්! ඔබ Rust ඉගෙන ගැනීමට පහත මාර්ගය භාවිතා කළ හැකිය: https://roadmap.sh/rust?embedable=true You can use AI (LLMs) to understand every concept you do not understand. ඕනෑම සැකයක්, අදහස සහ අභියෝගකාරී ක්රියාවලිය Google AI Studio සමඟ පැහැදිලි කළ හැකිය. ආකෘති මාරු කිරීම සඳහා ප්රමාණය සීමාවන් (Gemini Flash හෝ Flash-Lite, Gemini Pro වෙනුවට). ඔබ Google AI Studio හි සියලුම නොමිලේ භාවිතය සීමා ඉවත් කිරීමෙන් පසු වෙනත් AI LLM ආකෘති භාවිතා කළ හැකිය: හොඳම සමහර ඒවා: ක්ලෝඩ් : https://claude.ai/ චැට් : https://chatgpt.com/ අවබෝධයක් : https://www.perplexity.ai/ ගැඹුරු සොයන්න : https://chat.deepseek.com/ ගූගල් : https://grok.com/ ඕනෑම සැකයක්, අදහස සහ අභියෝගකාරී ක්රියාවලිය Google AI Studio සමඟ පැහැදිලි කළ හැකිය. Every doubt, concept, and challenging process can be explained with Google Studio එකෙන්. Google Studio එකෙන්. ආකෘති මාරු කිරීම සඳහා ප්රමාණය සීමාවන් (Gemini Flash හෝ Flash-Lite, Gemini Pro වෙනුවට). Switch models to avoid exceeding rate limits (Gemini Flash or Flash-Lite instead of Gemini Pro). You can use other AI LLM models if you run out of all free usage limits in Google AI Studio: ඔබ Google AI Studio හි සියලුම නොමිලේ භාවිතය සීමා ඉවත් කිරීමෙන් පසු වෙනත් AI LLM ආකෘති භාවිතා කළ හැකිය: Some of the best are: හොඳම සමහර ඒවා: Claude: Claude: https://claude.ai/ https://claude.ai/ https://claude.ai/ චැට් : චැට් : https://chatgpt.com/ https://chatgpt.com/ https://chatgpt.com/ Perplexity: Perplexity: https://www.perplexity.ai/ https://www.perplexity.ai/ https://www.perplexity.ai/ ගැඹුරු සොයන්න : ගැඹුරු සොයන්න : https://chat.deepseek.com/ https://chat.deepseek.com/ https://chat.deepseek.com/ Grok: ගූගල් : https://grok.com/ https://grok.com/ https://grok.com/ මම ඒවා මගේ භාවිතය අනුව ස්ථාපනය කර ඇති අතර, නොමිලේ ලබා ගත හැකි වෙනත් බොහෝ (Mistral, Qwen, Kimi) Generative AI ආකෘති සමඟ: I placed them in order of my use, and with so many other (Mistral, Qwen, Kimi) generative AI models available for free: You do not need to pay for a subscription to learn Rust with AI. You do not need to pay for a subscription to learn Rust with AI. අරුම පුදුමාකාරයි.එහෙනම් How. Awesome. Is. That! උදාහරණයක් ලෙස // User pastes this code and the resulting error: fn main() { let mut v = vec![1, 2, 3]; let first = &v[0]; v.push(4); // Error: cannot borrow `v` as mutable... println!("The first element is: {}", first); } ඒ පැහැදිලි කිරීම: මෙම වැරැද්ද සිදුවන්නේ ඔබ 'v' ප්රතිශතයේ ඇතුළත ඇති අංගයට 'first' යන අනන්ය ප්රවේශයක් ඇති නිසාය. ඉන්පසු, ඔබ 'v.push(4)' ඇමතුමක් උත්සාහ කරන්න, එය වෙනස් කළ ක්රියාවලියකි. අමුද් රව් යයක් තල්ලු කිරීමෙන් වික්ටරයට ඔහුගේ මතකය නැවත බෙදාහැරීමට අවශ් ය විය හැක, එය "පළමු" ප්රවේශය අසාර්ථක කරනු ඇත. මෙය නිවැරදි කර ගැනීම සඳහා, ඔබ විචල්යය විචල්ය කිරීමට පෙර "පළමුව" නොසැලකිලිමත් ප්රවේශය තවදුරටත් භාවිතා නොකළ යුතුය. උදාහරණයක් ලෙස, ඔබ 'push' පෙර 'println! ' යන්න පුළුවන්. " "The error happens because you have an immutable reference `first` to an element inside the vector `v`. ඉන්පසු, ඔබ 'v.push(4)' ඇමතුමක් උත්සාහ කරන්න, එය වෙනස් කළ ක්රියාවලියකි. අමුද් රව් යයක් තල්ලු කිරීමෙන් වික්ටරයට ඔහුගේ මතකය නැවත බෙදාහැරීමට අවශ් ය විය හැක, එය "පළමු" ප්රවේශය අසාර්ථක කරනු ඇත. මෙය නිවැරදි කර ගැනීම සඳහා, ඔබ විචල්යය විචල්ය කිරීමට පෙර "පළමුව" නොසැලකිලිමත් ප්රවේශය තවදුරටත් භාවිතා නොකළ යුතුය. උදාහරණයක් ලෙස, ඔබ 'push' පෙර 'println! ' යන්න පුළුවන්. " Screen බෙදාගැනීම මේ නිසා මම Google AI Studio අනෙකුත් මෙවලම් වලට වඩා අවධානය යොමු කළා. This is why I highlighted Google AI Studio over other tools. Practically none of the other AI tools I mentioned have this feature as well-developed as Google Gemini as of the date of writing this article. Gemini's potential screen-sharing capability could be a lifesaver for Rust debugging, especially in production. A learner could share their VS Code window: Highlight a block of code rejected by the borrow checker, And get a live, contextual explanation Along with refactoring suggestions A learner could share their VS Code window: Highlight a block of code rejected by the borrow checker, And get a live, contextual explanation Along with refactoring suggestions It could be your lifesaver in critical situations, such as debugging a server outage. Screen Sharing යනු ගෙවන විශේෂාංගයක් නොවේ. ඔබට එය නොමිලේ ලබා ගත හැක Google AI Studio. නිදහස් අනුවාදය සඳහා ගාස්තු සීමාවන් ඇත, එබැවින් විනිශ්චය සහිතව භාවිතා කරන්න. AI-Generated Code සහ ඇත්ත වශයෙන්ම, ඔබ Rust ගැන වැඩි විස්තර දැනගත් පසු, ඔබ ඔබ වෙනුවෙන් කේතය නිර්මාණය කිරීමට Gemini ඉල්ලා ආරම්භ කළ හැකිය. ඔබ නිර්මාණය කරන කේතය සම්පූර්ණයෙන්ම තේරුම් ගන්න, විශේෂයෙන් නිෂ්පාදන පරිසරවල. Ensure you thoroughly understand the code you generate, especially in production environments. Especially then! උදාහරණයක් ලෙස පරිශීලක වහාම: "Rust හි මූලික වෙබ් සේවාදායකයක් නිර්මාණය කිරීම Axum framework භාවිතා කිරීමෙන්, මූලික URL හි 'Hello, World!' use axum::{routing::get, Router}; use std::net::SocketAddr; async fn root() -> &'static str { "Hello, World!" } #[tokio::main] async fn main() { let app = Router::new().route("/", get(root)); let addr = SocketAddr::from(([127, 0, 0, 1], 3000)); println!("listening on {}", addr); axum::Server::bind(&addr) .serve(app.into_make_service()) .await .unwrap(); } Advantages of Google Gemini AI as a Teacher Experiences from other educational AI tools, like Khan Academy's tutor, show that AI can: Provide guided practice Answer silly repeated doubts Be tailored to your level Provide hints Be available at any time of the day Correct itself when fact-checked with the compiler. Add encouragement Provide multi-domain knowledge such as AWS, GCP, Azure, and others Screen sharing can anticipate the required correction Provide company-saving advice during site outages Applying this to Rust: An AI can create a personalized learning path. If you struggle with Lifetimes: It can generate a series of targeted exercises and code-reading challenges to strengthen that specific skill. Ditto for Ownership Rules And for Traits And for Third Party Libraries Documentation And any concept you do not understand AI යනු සංකීර්ණ, සැබෑ ලෝකයේ කේතය පැහැදිලි කිරීම සඳහා විශිෂ්ට වන අතර එය ආකර්ෂණීය රොස්ටැසියන් සඳහා භයානක විය හැකිය. උදාහරණයක් ලෙස, ඔබට පහත සඳහන් පැහැදිලි කිරීම් පරීක්ෂා කළ හැකිය: An AI excels at explaining complex, real-world code that would be intimidating to aspiring Rustaceans. For example, you can examine the explanation below: Example: Foreign Function Interface (FFI) Foreign Function Interface (FFI) - විදේශීය ක්රියාකාරී පරිගණකය // Opaque C struct struct CComplexObject; // Functions imported from a C library extern "C" { fn c_complex_new() -> *mut CComplexObject; fn c_complex_process(obj: *mut CComplexObject, value: i32); fn c_complex_destroy(obj: *mut CComplexObject); } // Idiomatic and safe Rust wrapper struct SafeWrapper { obj: *mut CComplexObject, } impl SafeWrapper { fn new() -> Self { Self { obj: unsafe { c_complex_new() } } } fn process(&mut self, value: i32) { unsafe { c_complex_process(self.obj, value) }; } } impl Drop for SafeWrapper { fn drop(&mut self) { unsafe { c_complex_destroy(self.obj) }; } } AI Explanation: ඒ පැහැදිලි කිරීම: extern "C" tells Rust you are defining functions that follow the C Application Binary Interface (ABI), allowing Rust to link with C libraries. *mut CComplexObject is a raw pointer. It's unsafe because the Rust compiler cannot guarantee that what it points to is valid. The unsafe keyword is required to call these C functions or dereference raw pointers, as you are telling the compiler, "I have read the rules and I guarantee this operation is safe." The SafeWrapper struct is an idiomatic way to manage the raw pointer. It holds the pointer internally. By implementing the Drop trait, you ensure that the C object's memory is always cleaned up (c_complex_destroy) when the SafeWrapper goes out of scope, preventing memory leaks. This is a core Rust pattern called RAII (Resource Acquisition Is Initialization). extern "C" tells Rust you are defining functions that follow the C Application Binary Interface (ABI), allowing Rust to link with C libraries. *mut CComplexObject is a raw pointer. It's unsafe because the Rust compiler cannot guarantee that what it points to is valid. The unsafe keyword is required to call these C functions or dereference raw pointers, as you are telling the compiler, "I have read the rules and I guarantee this operation is safe." The SafeWrapper struct is an idiomatic way to manage the raw pointer. It holds the pointer internally. By implementing the Drop trait, you ensure that the C object's memory is always cleaned up (c_complex_destroy) when the SafeWrapper goes out of scope, preventing memory leaks. This is a core Rust pattern called RAII (Resource Acquisition Is Initialization). හුවමාරු කිරීමේ අවදානම අඩු කිරීම Gemini ඇතුළත් සියලුම LLMs, සමහර වෙලාවට හුවමාරු විය හැක. Gemini ඇතුළත් සියලුම LLMs, සමහර වෙලාවට හුවමාරු විය හැක. Gemini ඇතුළත් සියලුම LLMs, සමහර වෙලාවට හුවමාරු විය හැක. But we have an advantage: the Rust compiler! The most powerful advantage of using AI to learn Rust is the feedback loop with the compiler. ඔබ සංකේතකය අවසාන සත් යය මූලාශ්රය ලෙස හැඳින්විය හැක. ඔබට compiler ලෙස හැඳින්විය හැකිය the ultimate source of truth. How to Check for AI Hallucinations: ආලෝකය පරීක්ෂා කරන්නේ කෙසේද: Ask Gemini to write Rust code for a specific task. The AI generates the code. Paste this code directly into your local main.rs file or . the online Rust Playground Run cargo check. This command checks your code for errors without producing an executable. If the AI's code was incorrect (a "hallucination"): The Rust compiler (rustc) will almost certainly catch it. It will produce a high-quality, specific error message. You can then take this error message, feed it back to the AI, and ask: "The compiler gave me this error. Can you fix the code?" Ask Gemini to write Rust code for a specific task. The AI generates the code. Paste this code directly into your local main.rs file or . the online Rust Playground Run cargo check. This command checks your code for errors without producing an executable. If the AI's code was incorrect (a "hallucination"): The Rust compiler (rustc) will almost certainly catch it. It will produce a high-quality, specific error message. You can then take this error message, feed it back to the AI, and ask: "The compiler gave me this error. Can you fix the code?" Rust Playground සමඟ අමුත්තන් පරිවර්තකය සමඟ AI ප්රතිඵල තහවුරු කිරීමේ මෙම ක්රියාවලිය අතිශයින්ම ඵලදායී ඉගෙනුම් මෙවලමක් වේ. පරිවර්තකය සමඟ AI ප්රතිඵල තහවුරු කිරීමේ මෙම ක්රියාවලිය අතිශයින්ම ඵලදායී ඉගෙනුම් මෙවලමක් වේ. පරිවර්තකය සමඟ AI ප්රතිඵල තහවුරු කිරීමේ මෙම ක්රියාවලිය අතිශයින්ම ඵලදායී ඉගෙනුම් මෙවලමක් වේ. වෙනත් AI සහ සමහර සම්ප්රදායික මෙවලම් Rust උපාධිය සඳහා Several AI and non-AI tools help to assist your Rust learning journey. RustCoder RustCoder යන නොමිලේ හා විවෘත මූලාශ්රය මෙවලමක් Cursor වැනි නවීන Vibe කේතය මෙවලම් සඳහා Backend ලෙස සාර්ථකව භාවිතා කර ඇත. එය Rust කේතය පිළිබඳ පුහුණු කර ඇති අතර අද පවතින Rust අභියෝග බොහෝමයට මුහුණ දෙන්න පුළුවන්. එය පවා ‘රස්ටික්’ කේතය නිෂ්පාදනය කරයි (මම නව තාක්ෂණික වචනයක් නිර්මාණය කළාද?). It even produces ‘Rustic’ code (did I just create a new technical term?). එය හැමෝටම විවෘතයි සහ නොමිලේ. වැඩි විස්තර පහත දැක්වෙන්නේ: https://www.cncf.io/blog/2025/01/10/rustcoder-ai-assisted-rust-learning/?embedable=true The Rust Programming Language Online Documentation Rust ගැන සෑම දෙයක්ම පිළිබඳ අවසාන මාර්ගෝපදේශය. මෙය අමතක නොකළ යුතු සංකීර්ණ සම්පත්යකි. AI විසින් නිෂ්පාදනය කරන කේතය තේරුම් ගැනීම මෙම නොමිලේ අන්තර්ජාල සම්පත් සමඟ ඉතා සරල වනු ඇත. Understanding the code that AI produces will be much simpler with this free online resource. https://doc.rust-lang.org/stable/book/?embedable=true The Companion පුහුණුව - Rustlings මෙම ක්රියාකාරකම් ඔබට ක්රියාත්මකව Rust අන්තර්ජාල පොත හරහා වැඩ කිරීමට උපකාරී වනු ඇත. ඔබ අල්ලගන්නේ නම්, ඔබ උත්තරය සඳහා AI ඉල්ලා සිටිය හැකිය! https://rustlings.rust-lang.org/?embedable=true ඉගැන්වීමේ විශාල වටිනාකම Rust අද Rust අද පද්ධති වැඩසටහන් සඳහා විශාල ඉල්ලුමක් ඇත. Rust is in huge demand today for systems programming. අනුකූලතාව සඳහා compile-time ආරක්ෂාව දහස් ගණනක් පරිශීලකයන් දක්වා ප්රමාණවත් වන බොහෝ සමාගම්වල ඇස් අල්ලා ඇත. සමහර විට වඩාත් අවශ්ය එකම භාෂාව වන්නේ ස්වයංක්රීයත්වය සහ නියෝජිතයන් සඳහා Python ය. Rust එකත් එස්ටේජිටික ස්පාඤ්ඤයට අල්ලනවා! Companies Pivoting to Rust Microsoft: Actively rewriting core Windows components, like parts of the kernel and the Win32 API, in Rust to reduce memory safety vulnerabilities. Amazon Web Services (AWS): Built Firecracker, the virtualization technology powering AWS Lambda and Fargate, entirely in Rust for security and speed. They also use it in parts of S3 and CloudFront. Google: Supports Rust for Android OS development and is funding efforts to write new Linux kernel modules in Rust, particularly for drivers, to improve kernel safety. Meta (Facebook): Rewrote their Mononoke source control server from C++ to Rust, citing performance and reliability improvements. They also use it heavily in their blockchain development. Apple: Apple is investing heavily in Rust for Robotics, AR/VR code, and Neural Engine processing. Hiring for Rust is at an all-time high. Cloudflare: Rust is used extensively across its product stack for performance-critical services, including its firewall, CDN, and Workers platform. Discord: Replaced a Go service with Rust to solve latency spikes in a real-time service, demonstrating Rust's superior performance for low-latency applications. Even today, many more companies are joining the bandwagon. වෘත්තීය Rust සංවර්ධකයින් විශාල ඉල්ලුමක් ඇත. Skilled Rust developers are in high demand. ප්රධාන මූලික පියවර: සැබෑ ව්යාපෘති ඔබ භාෂාව ඉගෙන ගත නොහැකි වන්නේ එහි විශේෂාංග අධ්යයනය කිරීමෙන් පමණි. You need to get your hands dirty with real projects. ඔබ සැබෑ ව්යාපෘති සමඟ ඔබගේ අත වංචා කිරීමට අවශ්ය. ඔබ සැබෑ ව්යාපාර ප්රශ්න විසඳීමට උසස් තත්ත්වයේ ව්යාපෘති ගොඩනැගීමට අවශ්ය. හැකි නම්, ඔවුන් විවෘත මූලාශ්රය ලබා සහ මහජන ප්රවේශය ලබා ගන්න. ඔබ එසේ කරන්නේ නම්, සමාගම් ඔබ වෙත පැමිණෙන අතර, ඔබ ඔවුන් වෙත යා යුතුය! You need to build high-quality projects that solve real business problems. And if possible, open-source them and gain public traction. If you do that, companies will come to you instead of you having to go to them! පහත දැක්වෙන මෙම GitHub ව්යාපෘතිය පද්ධති වැඩසටහන් විස්තර සඳහා විශිෂ්ට මාර්ගෝපදේශයකි: https://github.com/codecrafters-io/build-your-own-x?embedable=true Rust ගැන අවධානය යොමු කරන ඉගැන්වීම් පවා මෙම විශිෂ්ට ගබඩාව තුළ ඇත. There are even tutorials focused on Rust in this fantastic repository. මෙම ආකාරයේ ඇතුළත් රැකියාව ඔබ අද දින මිනීමැරුම් වෙළෙඳපොළ තුළ වර්ධනය වීමට හැකි හොඳම අවස්ථාවක් වේ. දහස් ගණනක් AI-generated resumes ප්රවේශ recruiters. This type of inbound recruitment is the best possible chance you have of standing out in today’s killer market. Thousands of AI-generated resumes are hitting recruiters. සමාගම් විසින් අනුමත කරන ලද විවෘත මූලාශ්ර ව්යාපෘතිය MAANG හි ඔබේ පිටුපස දොර විය හැකිය! An open-source project that companies have adopted could be your back door into MAANG! තෝරා ගත හැකි බොහෝ විකල්ප ඇත! තෝරා ගත හැකි බොහෝ විකල්ප ඇත! අවසාන වශයෙන්, ඔබ බලාපොරොත්තු වූ ප්රධාන මොහොත! පදනම නිශ්චිතව ස්ථාපිත කර ඇත! Finally, the key moment you’ve been waiting for! The foundation has been firmly set! ඔබ MAANG වෙත ගෙන යා හැකි ව්යාපෘති අදහස් 15 Artificial Intelligence සහ Machine Learning A "Zero-Trust" Federated Learning Framework: Implement a secure multi-party computation (MPC) framework in Rust for training machine learning models on decentralized data. Provide a production-ready, performant, and memory-safe alternative to current Python-based frameworks, which often struggle with security and efficiency in real-world federated learning scenarios. High-Performance Inference Engine for Edge AI: Develop a lightweight, high-performance inference engine in Rust, optimized for resource-constrained edge devices. Create a runtime that is significantly faster and more memory-efficient than existing solutions like TensorFlow Lite, enabling complex AI models to run on a wider range of IoT devices and sensors. A Verifiable and Reproducible ML Pipeline Tool: Build a tool that ensures the entire machine learning pipeline, from data preprocessing to model training, is cryptographically verifiable and reproducible. Leverage Rust's performance to create a tool that can handle large-scale datasets and complex models, addressing the critical need for trust and auditability in AI systems. Blockchain and Web3 A Scalable and Interoperable Blockchain Sharding Implementation: Design and implement a novel sharding mechanism for a blockchain that addresses the trilemma of scalability, security, and decentralization. Create a Rust-based solution that is more performant and secure than existing sharding approaches, a major hurdle for mainstream blockchain adoption. A Privacy-Preserving Smart Contract Platform with Zero-Knowledge Proofs: Build a blockchain platform that allows for confidential smart contracts using zero-knowledge proofs. Create a developer-friendly platform in Rust that simplifies the creation of privacy-preserving decentralized applications (dApps), a significant gap in the current Web3 ecosystem. A High-Throughput, Cross-Chain Communication Protocol: Develop a secure and efficient protocol for interoperability between different blockchain networks. Build a Rust-based solution that is significantly faster and more reliable than existing bridge protocols, which are often bottlenecks and security risks in the Web3 space. Generative AI සහ Transformers An Optimized Inference Server for Large Language Models (LLMs): Create a highly optimized serving framework for LLMs that minimizes latency and maximizes throughput. Leverage Rust's concurrency and low-level control to build a server that can handle massive-scale inference for generative AI applications, a major operational challenge for companies deploying these models. A Memory-Efficient Transformer Architecture: Implement a novel Transformer architecture in Rust that significantly reduces the memory footprint during training and inference. Address the quadratic complexity of the self-attention mechanism, a major bottleneck for working with long sequences, making large models more accessible and cost-effective to train and deploy A Framework for Fine-Tuning and Deploying Generative AI Models with Strong Security Guarantees: Develop a framework that focuses on the secure fine-tuning and deployment of generative AI models, addressing concerns like data privacy and model inversion attacks. Provide a Rust-based solution that integrates privacy-enhancing technologies directly into the MLOps lifecycle for generative AI. පරිගණක ගණන A High-Performance Quantum Circuit Simulator: Build a quantum circuit simulator in Rust that can handle a larger number of qubits and more complex quantum algorithms than existing simulators. Leverage Rust's performance and memory management to push the boundaries of classical simulation of quantum computers, a critical tool for quantum algorithm development. A Post-Quantum Cryptography Library for Secure Communication: Develop a comprehensive and easy-to-use library for post-quantum cryptography algorithms. Provide a production-ready Rust library that is highly performant and resistant to attacks from both classical and quantum computers, a critical need as the threat of quantum computing to current encryption standards grows. A Compiler for a High-Level Quantum Programming Language: Create a compiler that translates a high-level, expressive quantum programming language into low-level quantum assembly code. Build this compiler in Rust to ensure its correctness and performance, enabling developers to write complex quantum algorithms more easily and with greater confidence. DevOps සහ MLOps A Blazing-Fast, Cross-Platform Build and Deployment Tool: Develop a next-generation build and deployment tool in Rust that is significantly faster and more efficient than current solutions like Jenkins or Travis CI. Create a tool with a minimal footprint and first-class support for containerization and modern cloud-native environments, addressing the need for faster and more reliable CI/CD pipelines. A Secure and Observable Microservices Framework: Build a microservices framework in Rust that prioritizes security and observability from the ground up. Provide a framework with built-in features for service-to-service authentication, authorization, and detailed telemetry, addressing the growing complexity and security challenges of microservices architectures. An MLOps Platform for Rust-Based Models: Create an MLOps platform specifically designed for the lifecycle management of machine learning models written in Rust. Provide a seamless workflow for training, deploying, monitoring, and retraining Rust-based models, filling a gap in the current MLOps tooling which is heavily focused on Python. මේක හරිම අමාරුයි!මම පටන් ගත්ත කෙනෙක්. මතක තබා ගන්න, මෙය MAANG සමාගම වෙත ඔබේ මාර්ගයයි. AI ඔබට උදව් කිරීමට මෙහි ඇත! Remember, this is your pathway to a MAANG company. And AI is here to help you! ආරම්භක සඳහා, විශාල, සංකීර්ණ ව්යාපෘතියකට මුහුණ දීම marathon, ස්ප්රින්ට් නොවේ. Google AI Studio වැනි AI සහකාරයන් ඔබේ පෞද්ගලික අධ්යාපන සහ කේතය සහකරු ලෙස ක්රියා කළ හැකිය. විවෘත මූලාශ්ර සන්නිවේදනය සමාජය සහ එය හරහා දකින සහාය සපයයි. Open-source collaboration provides the community and support to see it through. ඔබේ සංකීර්ණ සිතුවිලි ක්රියාවලිය (Baby Steps) : Understand the Core Problem Before writing a single line of code, use AI to explain the project's domain. Ask it, "Explain federated learning in simple terms". Or, "What is the blockchain scalability trilemma?" : Break It Down Ask your AI assistant, "I want to build a quantum circuit simulator in Rust. What are the main components I need to build Break this down into smaller, manageable tasks." : Generate the Skeleton For a small task like "create a struct for a blockchain block," ask the AI to generate the initial Rust code. This gives you a starting point to build upon. : Code, Test, Refine, Repeat Write your code for one small part. If you hit an error, paste the code and the error message into the AI assistant and ask for help debugging. : Go Public Immediately Create a project on a platform like GitHub from day one. This signals your intent to collaborate and makes it easier for others to join. : Document Your Journey Use the AI to help you write a clear README.md file explaining your project's goal and how others can help. A good project description is critical for attracting collaborators. උදව්කරුවන් උදව් කරන්නේ කෙසේද : Ask for simple explanations of complex topics like "What is a zero-knowledge proof?" Concept Explanation : Generate boilerplate code, functions, and data structures to get you started. Code Generation : Paste your broken code and the error message to get suggestions for a fix. Debugging : Ask the AI to generate comments for your functions or to write a project README.md file. Writing Documentation : Use it as an interactive tutor that can answer your specific questions as they arise. Learning විවෘත මූලාශ් රයේ බලය ඔබ නිර්මාණය කරන සෑම ව්යාපෘතියක්ම විවෘත මූලාශ්රය විය යුතුය. ඔබට විශිෂ්ට විශේෂඥයෙකු විය යුතු නැත; ඔබට අවශ්ය වන්නේ අදහස් සහ සහයෝගයට සූදානම් වීම පමණි. Every project you build should be open-source. You don't need to be a fantastic expert; you just need an idea and the willingness to collaborate. Shared Workload: ඔබ එය සියලූම නිර්මාණය කිරීමට අවශ්ය නොවේ. වෙනත් අයගෙන් ඉගෙන ගන්න: සහයෝගකරුවන්ගෙන් කේතය නිරීක්ෂණය කිරීම ඉගෙන ගැනීම සඳහා බලවත් ක්රමයකි. ප්රතිචාර ලබා ගන්න: ඔබේ කේතය ගැන වැඩි අවධානය යොමු කිරීම වඩා හොඳ ගුණාත්මකභාවය සහ වේගවත් බැගින් සොයා ගැනීමකි. ජාලයක් ගොඩනගා ගැනීම: Mentors හෝ අනාගත සගයන් බවට පත් විය හැකි වෙනත් සංවර්ධකයින් සමඟ සම්බන්ධ වන්න. ආරම්භකයින් සඳහා ප්රධාන පළමු පියවර : Learn Rust Fundamentals Before starting a big project, complete a basic course. You can't use an AI assistant effectively without understanding the basics of the language. Make sure you understand Git: Git is fundamental. You should be familiar with the basics of Git and GitHub. : Choose a Single Project Pick the idea that excites you the most and stick with it. Focus is an underrated superpower. : Create a Public Repository Use GitHub to host your project. Blog about your product on Medium or HackerNoon. : Define a Clear Goal Write a one-paragraph description of what your project aims to achieve. Use AI if necessary, but make sure you understand everything you are talking about. AI can help you in that, too! : Find "Good First Issues" Look for beginner-friendly tasks in other open-source projects to get a feel for the contribution process. This gives you credibility and experience. Also, actual open source contributions are a dopamine hit! : Actively Seek Collaborators Share your project on platforms like the /r/rust subreddit or Discord communities. Create awareness about your project online with HashNode and LinkedIn as well. ඉගෙනුම් සම්පත් පහත දැක්වෙන සියලුම සම්පත් ඔබට වෘත්තීය Rustacean බවට පත් වීමට ඔබේ මාර්ගය මත උදව් කළ හැකිය: All of the resources below can help you on your path to becoming a skilled Rustacean: Comprehensive Rust (Google විසින්) https://google.github.io/comprehensive-rust/?embedable=true Linfa (ML Library) පරිශීලක උපදෙස් https://rust-ml.github.io/linfa/?embedable=true Rust Tutorial හි Blockchain ගොඩනැගීම https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/?embedable=true Rust හි Command-Line යෙදුම් https://rust-cli.github.io/book/?embedable=true ඕනෑම දෙයක් ගැන ඉගෙන ගැනීමට Perplexity.ai සපයන්න! Google භාවිතා නොකරන්න; කේතය ඇතුළත් සියල්ල සඳහා ප්රබන්ධතාවය වඩා හොඳයි! Blockchain, AI Agents, සහ Generative AI දැනට Rust සඳහා මිනීමැරුම් යෙදුම් වේ! විශේෂයෙන්ම Blockchain ඉතා ලාභදායී වේ! ඕනෑම දෙයක් ගැන ඉගෙන ගැනීමට Perplexity.ai සපයන්න! භාවිතය ඕනෑම දෙයක් ගැන ඉගෙන ගැනීමට උපදෙස්! ප් රසිද්ධිය.ඒ ප් රසිද්ධිය.ඒ Google භාවිතා නොකරන්න; කේතය ඇතුළත් සියල්ල සඳහා ප්රබන්ධතාවය වඩා හොඳයි! Google භාවිතා නොකරන්න; කේතය ඇතුළත් සියල්ල සඳහා ප්රබන්ධතාවය වඩා හොඳයි! Blockchain, AI Agents, and Generative AI are currently killer applications for Rust! Blockchain in particular is highly lucrative! ප් රතිඵල Rust අද ඉගෙන ගත හැකි වඩාත් බලවත් නමුත් අභියෝගකාරී භාෂා වලින් එකකි. එය වෙනත් ඕනෑම ප්රධාන භාෂාවකට වඩා සංකේතයක් සහ නීති සංකේතයක් ඇත. Google AI Studio වැනි AI මෙවලම් භාවිතා කිරීමෙන් මෙම උගන්වන කෙළවර වැදගත් ලෙස මට්ටමකට පත් කළ හැකිය. ස්කෑන් බෙදාහැරීම වැනි සම්බන්ධතා සංකීර්ණ අයිතිවාසිකම් ප්රශ්න debugging කිරීමට මග පෙන්වන, සාකච්ඡා ක්රියාවලිය බවට පත් කරනු ඇත. Rust ආරක්ෂිත සහ ප්රතිඵලදායී පද්ධති වැඩසටහන් සඳහා අනාගතය වන අතර, සෑම ප්රධාන තාක්ෂණ සමාගමක් විසින් එය අනුමත කිරීම එහි වටිනාකම ඔප්පු කරයි. වර්තමානයේ උසස් තත්ත්වයේ Rust සංවර්ධකයින්ගෙන් අඩුපාඩු, වර්ධනය වන ඉල්ලුම සමඟ එක්ව, Rust ඉගෙනීම වටිනා වෘත්තීය ආයෝජන බවට පත් කරයි. එබැවින්, Rust සමඟ ඔබේ ගමන ආරම්භ කිරීමට වඩා සුදුසු මොහොතක් නැත. ඔබේ නාම යෝජනා (අදාල ලින්ක් ද සහිතව) කොමෙන්ටු තීරයේ සඳහන් කරන්න. Rust stands as one of the most powerful but challenging languages to learn today. It has a syntax and a set of rules unlike any other mainstream language. This steep learning curve can be flattened significantly by leveraging AI tools like Google AI Studio as a tutor. Integrations like screen sharing will make debugging complex ownership issues a guided, conversational process. Rust is the definitive future of secure and performant systems programming, and its adoption by every major tech company proves its value. The current shortage of high-quality Rust developers, combined with the growing demand, makes learning Rust an invaluable career investment. Therefore, there has never been a more opportune moment to begin your journey with Rust. ඔබේ නාම යෝජනා (අදාල ලින්ක් ද සහිතව) කොමෙන්ටු තීරයේ සඳහන් කරන්න. ඔබේ නාම යෝජනා (අදාල ලින්ක් ද සහිතව) කොමෙන්ටු තීරයේ සඳහන් කරන්න. I found the article below remarkably helpful for effectively preparing for a successful Rust career: https://medium.com/@CodeOps/i-spent-2-years-learning-rust-and-still-got-rejected-856b3f914520?embedable=true කරුණාකර එය කියවීමට මොහොතක් ගත කරන්න; ඔබ නරක ලෙස අවසන් වන සූදානමින් වසර දෙකක් ඉතිරි කළ හැකිය. කරුණාකර එය කියවීමට මොහොතක් ගත කරන්න; ඔබ නරක ලෙස අවසන් වන සූදානමින් වසර දෙකක් ඉතිරි කළ හැකිය. සුබ පැතුම්, ඔබ Rust සංවර්ධන වෘත්තිය සඳහා සූදානම් නම් ඉහත ලිපියේ උපදෙස් අනුගමනය කරන්න! සුබ පැතුම්, ඔබ Rust සංවර්ධන වෘත්තිය සඳහා සූදානම් නම් ඉහත ලිපියේ උපදෙස් අනුගමනය කරන්න! සුබ පැතුම්, ඔබ Rust සංවර්ධන වෘත්තිය සඳහා සූදානම් නම් ඉහත ලිපියේ උපදෙස් අනුගමනය කරන්න! සබැඳි Stack Overflow. (2023). 2023 Developer Survey. https://survey.stackoverflow.co/2023/#most-loved-dreaded-and-wanted-language-love-dread Khan Academy. (2023). Harnessing AI for education. https://www.khanmigo.ai/ The Rust Language Revolution: Why Are Companies Migrating? https://stefanini.com/en/insights/news/the-rust-language-technology-revolution-why-are-companies-migrating 2022 Review | The adoption of Rust in Business https://rustmagazine.org/issue-1/2022-review-the-adoption-of-rust-in-business Rust in 2025: Why Meta, Google, and Apple Are All In | Rustaceans https://medium.com/rustaceans/why-meta-google-and-apple-are-secretly-betting-on-rust-in-2025 Microsoft joins Rust Foundation - Microsoft Open Source Blog https://opensource.microsoft.com/blog/2021/02/08/microsoft-joins-rust-foundation Google Adopts Rust for Android: A Game-Changer for Mobile OS Security & Performance https://coinsbench.com/googles-rust-adoption-in-android-a-game-changer-for-mobile-os-development Amazon Web Services. (2020). Why AWS loves Rust. https://aws.amazon.com/blogs/opensource/why-aws-loves-rust-and-how-wed-like-to-help/ Discord Blog. (2020). Why Discord is switching from Go to Rust. https://discord.com/blog/why-discord-is-switching-from-go-to-rust General Rust Learning The Rust Programming Language ("The Book") https://doc.rust-lang.org/book Rustlings Exercises https://github.com/rust-lang/rustlings Comprehensive Rust (by Google) https://google.github.io/comprehensive-rust/ 11. AI/ML in Rust Linfa (A scikit-learn-like ML Framework) https://github.com/rust-ml/linfa https://rust-ml.github.io/linfa/ Tutorial: Build a Machine Learning Model in Rust https://www.freecodecamp.org/news/how-to-build-a-machine-learning-model-in-rust/ 12. Blockchain & Web3 in Rust Tutorial: Building a Blockchain in Rust https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/ https://dev.to/iamzubin/how-to-build-a-blockchain-from-scratch-in-rust-38d6 13. Generative AI in Rust Hugging Face Candle (A minimalist ML framework) https://github.com/huggingface/candle 14. Quantum Computing in Rust Qiskit Rust (IBM's Quantum Framework Bindings) https://github.com/Qiskit/qiskit-rust 15. DevOps in Rust Book: Command-Line Applications in Rust https://rust-cli.github.io/book/ https://survey.stackoverflow.co/2023/#most-loved-dreaded-and-wanted-language-love-dread https://www.khanmigo.ai/ https://stefanini.com/en/insights/news/the-rust-language-technology-revolution-why-are-companies-migrating https://rustmagazine.org/issue-1/2022-review-the-adoption-of-rust-in-business https://medium.com/rustaceans/why-meta-google-and-apple-are-secretly-betting-on-rust-in-2025 https://opensource.microsoft.com/blog/2021/02/08/microsoft-joins-rust-foundation https://coinsbench.com/googles-rust-adoption-in-android-a-game-changer-for-mobile-os-development https://aws.amazon.com/blogs/opensource/why-aws-loves-rust-and-how-wed-like-to-help/ https://discord.com/blog/why-discord-is-switching-from-go-to-rust https://doc.rust-lang.org/book https://github.com/rust-lang/rustlings https://google.github.io/comprehensive-rust/ https://github.com/rust-ml/linfa https://rust-ml.github.io/linfa/ https://www.freecodecamp.org/news/how-to-build-a-machine-learning-model-in-rust/ https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/ https://dev.to/iamzubin/how-to-build-a-blockchain-from-scratch-in-rust-38d6 https://github.com/huggingface/candle https://github.com/Qiskit/qiskit-rust https://rust-cli.github.io/book/ මෙම ලිපියේදී Google AI Studio භාවිතා කර තිබුණේ අදහස්, විස්තර, කේතය සහ පර්යේෂණ සඳහා. https://aistudio.google.com/ Google AI Studio was used in this article for ideation, outlining, code, and research. You can access it here: https://aistudio.google.com/ https://aistudio.google.com/ සියලුම පින්තූර විසින් නිර්මාණය කරන ලදී NightCafe Studio, මෙහි ලබා ගත හැකි:https://creator.nightcafe.studio/explore All images were generated by the author using NightCafe Studio, available here: https://creator.nightcafe.studio/explore https://creator.nightcafe.studio/explore