Satire:Rust: Difference between revisions

From Computernewb Wiki
Jump to navigation Jump to search
(Created page with "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 == <syntaxhighlight lang="rust"> fn main() { println!(" __,---.__"); println!(" ,-' `-.__"); println!(" &/ `._\\ _\\"); println!(" / ''._"); println!(" | , (\"...")
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:

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 ==
Line 11: Line 12:
}
}
</syntaxhighlight>
</syntaxhighlight>

This code will print a pig onto stdout.
This code will print a pig onto stdout.
== Why you should use it ==
== Why you should use it ==
Line 17: Line 19:
*memory safety
*memory safety
*memory safety is priority
*memory safety is priority

== Fun facts about Rust ==
== Fun facts about Rust ==
* It memleaks on purpose
* It memleaks on purpose
* APPARENTLY PEOPLE ARE USING IT, EVEN MOZILLA AHHHHHHHHHHHHHHHH!!!!!!!
* APPARENTLY PEOPLE ARE USING IT, EVEN MOZILLA AHHHHHHHHHHHHHHHH!!!!!!!
* the primary reason why it’s being shilled everywhere it’s because of “memory safety”
* 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 <syntaxhighlight lang=rust>unsafe {}</syntaxhighlight> block, because there you can actually do anything at all.

== Conclusion ==
== 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!.)
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!.)

[[Category:Programming Languages]]
[[Category:Programming Languages]]

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
    unsafe {}
    
    block, because there you can actually do anything at all.

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!.)