Rust:

derrière

lA Hype

http://slides.com/thomaswickham/rust-derriere-la-hype/fullscreen

Qui utilise ?

https://www.rust-lang.org/en-US/friends.html

Qui utilise ?

https://www.rust-lang.org/en-US/friends.html

Comment ?

FFI: Foreign Function INterface

  • Rust c'est comme du C
  • Pas de Runtime
  • Utilise LLVM (clang)
  • Facile de convertir des pointeurs ou des structures

https://usehelix.com/getting_started

Mais aussi dans les autres langages

Pourquoi ?

AS FAST AS CEE

http://wiki.c2.com/?AsFastAsCee

Plein de libs \o/

Cargo \o/

  • Build standard, marche tout seul
  • Test suite standard, marche tout seul
    • tests unitaires
    • intégration
    • exemples
    • documentation
  • Documentation
  • Build Scripts
  • Peut être étendu: fmt, outdated, etc...

It compiles

IT works

Pour suivre

https://this-week-in-rust.org/

Pour APPrendre

  • Installer avec http://rustup.rs
  • lire le Rust Book (v2 !)
    • https://doc.rust-lang.org/book/second-edition/
  • ​Rust By Example: comment faire X ?
    • ​https://rustbyexample.com/
  • ​Too Many Linked Lists: manipuler la mémoire
    • ​http://cglab.ca/~abeinges/blah/too-many-lists/book/​
  • https://www.rust-lang.org/en-US/faq.html
  • Et irc.mozilla.org #rust-beginners

Rust: derrière la Hype

By Thomas Wickham

Rust: derrière la Hype

  • 948