Tech/Languages/Rust
Jump to navigation
Jump to search
Rust is a general purpose language that is very popular in 2024
Example
Hello World example lets make helloworld.rs
fn main() { println!("Hello World"); }
Which needs compiled
rustc helloworld.rs
then run it
./helloworld Hello World
Risks
Rust is a pretty awesome language however it has risks. Like GoLang and some other languages there is a reliance on external libraries that may or may not exist during compile time on another machine. These third party libraries my become compromised over time or even just url hijacked. See https://www.theregister.com/2016/03/23/npm_left_pad_chaos/ for examples.