Overview

Tools

As we've just seen, Rust includes some great tooling. Things like cargo and rustup make it a real pleasure to use. And we'll see more as we go.

RustPerl
rustcperl
cargocpanm, dzil, and more
rustupplenv, perlbrew
rustfmtperltidy
clippyperlcritic
rustdocperldoc
modulemodule
cratedistribution
crates.iometacpan.org
Rust FoundationThe Perl Foundation

We've spent decades coming up with some of this stuff in Perl. In Rust, it's all here already!

Differences

As we'll see, there are a lot of huge differences between Perl and Rust.

RustPerl
static typesdynamic types
strong typesweak types
move, borrowcopy, reference
immutable by default (mut)mutable
private by default (pub)public
expressionsstatements, expressions

Similarities

But some things will be familiar. Scope works pretty much the same. Both languages use the use keyword and :: in similar ways. And both have lots of "C-like" syntax in common.