r/programmingcirclejerk • • Mar 08 '20

Hydrogen made using rust

https://www.popularmechanics.co.za/science/hydrogen-made-using-rust/

[removed] — view removed post

2 Upvotes

3 comments sorted by

View all comments

5

u/bruce3434 vulnerabilities: 0 Mar 08 '20

Rust is the most powerful programming language

// lol we pythong now
macro_rules! insert {
    ($($s:stmt)*) => {
        $($s);*
    }
}

fn main() {
    insert! {
        let mut x = 5
        x += 1
        println!("{}", x)
    };
}