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/

Mark Sta Ana

November 25, 2017
Tweet

More Decks by Mark Sta Ana

Other Decks in Technology

Transcript

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

    View full-size slide

  2. Introduction

    View full-size slide

  3. What’s Rust?

    View full-size slide

  4. Systems Programming

    View full-size slide

  5. Blazingly Fast

    View full-size slide

  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

    View full-size slide

  7. Performance
    Source: Rust Perf Site (perf.rust-lang.org)

    View full-size slide

  8. Memory Safety

    View full-size slide

  9. Memory Safety

    View full-size slide

  10. Memory Safety

    View full-size slide

  11. Installing Rust

    View full-size slide

  12. Visual Studio Code

    View full-size slide

  13. Rust Language Service

    View full-size slide

  14. intorust.com

    View full-size slide

  15. The Rust Book

    View full-size slide

  16. rustup doc —book

    View full-size slide

  17. community.rs

    View full-size slide

  18. Who’s Using Rust?

    View full-size slide

  19. rust-lang.org/friends.html

    View full-size slide

  20. Are We X Yet?

    View full-size slide

  21. Calling Rust from Perl

    View full-size slide

  22. bit.ly/rustyperl

    View full-size slide

  23. References
    bit.ly/rust-lpw2017

    View full-size slide