Satire:Rust: Difference between revisions
Jump to navigation
Jump to search
m (Elijah moved page Rust to Satire:Rust without leaving a redirect) |
No edit summary |
||
Line 1: | Line 1: | ||
{{SeriousChangeNeeded}} |
|||
Rust is a modern computer programing language that is very unique, because the code rusts over time. It is also usually shilled by retards who refuse to code in “memory unsafe” languages such as [[C++]] |
Rust is a modern computer programing language that is very unique, because the code rusts over time. It is also usually shilled by retards who refuse to code in “memory unsafe” languages such as [[C++]] |
||
== Example == |
== Example == |
Latest revision as of 03:05, 9 May 2023
Rust is a modern computer programing language that is very unique, because the code rusts over time. It is also usually shilled by retards who refuse to code in “memory unsafe” languages such as C++
Example
fn main() {
println!(" __,---.__");
println!(" ,-' `-.__");
println!(" &/ `._\\ _\\");
println!(" / ''._");
println!(" | , (\")");
println!(" |__,'`-..--|__|--''");
}
This code will print a pig onto stdout.
Why you should use it
- it’s memory safe
- guys it’s memory safe
- memory safety
- memory safety is priority
Fun facts about Rust
- It memleaks on purpose
- APPARENTLY PEOPLE ARE USING IT, EVEN MOZILLA AHHHHHHHHHHHHHHHH!!!!!!!
- the primary reason why it’s being shilled everywhere it’s because of “memory safety”
- Safe Rust code can memleak
- The only good part of Rust is the block, because there you can actually do anything at all.
unsafe {}
Conclusion
Should you use it? HELL NO. "Memory safety" ISN'T EVEN IMPORTANT. (granted you don't write dogshit code and free your pointers every now and then or just use std::unique_ptr if you are too lazy lol!.)