Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Rust LPW 2017

Introduction to Rust LPW 2017

A talk I gave for London Perl Workshop 2017: http://act.yapc.eu/lpw2017/

76eb5847f0ecf87aba817ee37547c537?s=128

Mark Sta Ana

November 25, 2017
Tweet

Transcript

  1. An Introduction to Rust Mark Sta Ana @booyaa github.com/booyaa booyaa.wtf

  2. Introduction

  3. What’s Rust?

  4. Systems Programming

  5. Blazingly Fast

  6. Time (secs) Benchmark / Language Rust C (gcc) reverse-complement 0.37

    0.48 pidigits 1.74 1.74 k-nucleotide 5.21 6.67 fasta 1.49 1.32 spectral-norm 2.31 2.00 Source: The Computer Language Benchmarks Game
  7. Performance Source: Rust Perf Site (perf.rust-lang.org)

  8. Safety

  9. Memory Safety

  10. Memory Safety

  11. Memory Safety

  12. Installing Rust

  13. rustup.rs

  14. Visual Studio Code

  15. Rust Language Service

  16. Learning

  17. intorust.com

  18. The Rust Book

  19. rustup doc —book

  20. community.rs

  21. Who’s Using Rust?

  22. rust-lang.org/friends.html

  23. Are We X Yet?

  24. Calling Rust from Perl

  25. New crate

  26. New crate

  27. Cargo.toml

  28. Testing

  29. Functions

  30. Functions

  31. FFI 1

  32. FFI 2

  33. FFI 3

  34. FFI 4

  35. None
  36. Perl 1

  37. Perl 2

  38. Perl 3

  39. bit.ly/rustyperl

  40. FIN

  41. References bit.ly/rust-lpw2017

  42. None