Slide 19
Slide 19 text
THE PROBLEM
Star ten threads. Inside each thread, count from one to five
million. After all then threads are finished, print out ‘done’.
• Rust has something called a ‘foreign function interface’,
often shortened to ‘FFI’
• Rust has support for FFI in both directions
• Let’s try it with examples in Ruby, Python and JavaScript