Concurrency
Python
thr = Thread(target=add, args=(1, 2), daemon=True)
thr.start()
Rust
#![allow(unused)] fn main() { use std::thread; thread::spawn(|| { add(5,5); }); }
Python
thr = Thread(target=add, args=(1, 2), daemon=True)
thr.start()
Rust
#![allow(unused)] fn main() { use std::thread; thread::spawn(|| { add(5,5); }); }