A talk I gave for London Perl Workshop 2017: http://act.yapc.eu/lpw2017/
An Introduction to RustMark Sta Ana@booyaagithub.com/booyaabooyaa.wtf
View Slide
Introduction
What’s Rust?
Systems Programming
Blazingly Fast
Time (secs)Benchmark / Language Rust C (gcc)reverse-complement 0.37 0.48pidigits 1.74 1.74k-nucleotide 5.21 6.67fasta 1.49 1.32spectral-norm 2.31 2.00Source: The Computer Language Benchmarks Game
PerformanceSource: Rust Perf Site (perf.rust-lang.org)
Safety
Memory Safety
Installing Rust
rustup.rs
Visual Studio Code
Rust Language Service
Learning
intorust.com
The Rust Book
rustup doc —book
community.rs
Who’s Using Rust?
rust-lang.org/friends.html
Are We X Yet?
Calling Rust from Perl
New crate
Cargo.toml
Testing
Functions
FFI 1
FFI 2
FFI 3
FFI 4
Perl 1
Perl 2
Perl 3
bit.ly/rustyperl
FIN
Referencesbit.ly/rust-lpw2017