Learn the fundamentals of Rust, specially crafted for PHP developers.

This course is designed to take you from zero to intermediate Rust hero. Gain a fundamental understanding of the Rust language, and by the end of the course, you'll be ready to take things to the next level.

See the course outline

The Full Monty

Special pre-order discount **

$139

$249

(excl. VAT and additional charges)

You get:

  • Source code for all projects
  • Access to all future module & content updates
  • Membership to private Discord community
  • Stream and download all videos *
Pre-order now

* Download available with full launch.
** Pre-order availability limited.

The why

Why should you learn Rust? What makes it so special?

Rust isn't just another programming language. It actually brings a whole host of features and advantages to the table, compared to other languages.

Here's a list of a few things that make Rust special:

1. Memory Safety

Rust has a powerful ownership system that ensures memory safety at compile time. This means that you don't have to worry about potential memory leaks or using memory after it's been freed, as the compiler can catch these issues before you even run your code.

2. Zero-cost abstractions

In the PHP world, how you write your code can have an impact on how the code performs. For example, using a class for a single static method can be less performant than just using a regular function. Rust overcomes this problem by providing zero-cost abstractions. You won't pay a performance penalty for using a generic struct over a concrete one, for example.

3. Modern language, modern syntax, modern features

In the world of programming, Rust is still the new kid on the block. By looking at pitfalls of other languages, Rust has been able to learn from them and provide a modern language and avoid the same mistakes. Language features such as generics, pattern matching, tagged unions, just to name a few, are all incredibly powerful and available in Rust.

Beyond that?

Plenty of ecosystems, including PHP, have seen a rise in Rust's popularity.

Our cousins in the JavaScript world love building new tools in Rust. The performance and developer experience benefits that it brings to the table are a huge draw for developers.

Rust-based tools such as Tauri allow you to build desktop applications using web technologies. The NativePHP project is working on adding Tauri support — having solid Rust skills will most definitely increase your chance of success with these tools.

Want to write a PHP extension but don't want to faff around with boring ol' C? You can use Rust, thanks to some excellent packages and libraries from members of both communities!

The what

Have I piqued your interest? Let's take a closer look at what you'll learn in this course. *

Module 1

The Basics

Installation

Variables & Data Types

Control Structures

Functions

Arrays, Vectors & Slices

HashMap

Module 2

Custom Data Structures

Structs

Enums

Module 3

Null-safety & Error Handling

Option

Result

panic!()

Module 4

Pattern Matching

Match expressions

Ranges

Destructuring values

Bindings

Pattern matching in control structures

Module 5

References

Pass by-value vs Pass by-reference

Immutable and mutable references

Module 6

All About Strings

String

&str

char

Byte strings

Module 7

Memory Management & Ownership

How PHP handles memory

How Rust handles memory

Ownership 101

Lifetimes 101

Stack vs. Heap

Coming soon!

Module 8

Composition & Generic Programming

Traits

Generics

Module 9

Code Separation

Crates 101

Modules 101

Installing third-party crates

Module 10

Smart Pointers

References vs Smart Pointers

Box

Rc

RefCell

Module 11

Concurrency

Coming soon!

Multi-threading

Arc

Async/await and Futures

Module 12

Unsafe Rust

Coming soon!

Safe vs Unsafe Rust

Raw pointers

Unsafe blocks

Static variables

Unions

Project

Build a todo application

Coming soon!

Introduction

Parsing command-line arguments

Storing todos on disk

Reading todos from disk

Displaying todos in the terminal

Marking a todo as complete

Building & installing locally

Pricing

Special pre-order discount **

Three packages to choose from, depending on your budget and needs.

Standard

$79

$149

(excl. VAT and additional charges)

You get:

  • Access to all launch modules
  • Membership to private Discord community
  • Stream videos
Pre-order now

Premium

$99

$199

(excl. VAT and additional charges)

You get:

  • Access to all future module & content updates
  • Membership to private Discord community
  • Stream and download all videos *
Pre-order now

The Full Monty

$139

$249

(excl. VAT and additional charges)

You get:

  • Source code for all projects
  • Access to all future module & content updates
  • Membership to private Discord community
  • Stream and download all videos *
Pre-order now

* Download available with full launch.

** Pre-order availability limited.

FAQs

Answers to questions you might have, or might find useful.

Once you have purchased the course, you will be sent an email with a link to the course dashboard.

If at any point you lose this email, you can get a new link sent to you by visiting the login page and hitting Request access link. *

* The dashboard is not yet available and will be available once early access opens.

The length of each video depends on the content being covered.

Some videos are as short as 3 minutes, while others are longer and can be up to 20 minutes. It all depends on the topic and how in-depth it needs to be.

As this course is tailored towards PHP developers, the videos draw comparisons between the two languages to help you understand the concepts.

The videos are a mixture of slides and live coding, with the majority of the content being live coding.

Yes! If you purchase the Full Monty package, you can download the videos and watch them offline*.

If you purchase one of the other packages, you will still be able to download the videos but only after the cooling-off period of 30 days**.

* Downloading will be available after full launch.
** The cooling-off period starts from the date of purchase and is only applicable to the Basic and Standard packages.

The full course will be released in 2024.

Right now, the focus is on nailing the content and making sure it's as good as it can be.

Pre-order customers gain access to videos as they release, so you don't have to wait for everything to be done and published!

If you already have a bit of experience from Rust you still might find this course useful, especially if you want to see how to build real-world applications and programs.

Absolutely. If you request a refund within 30 days of purchase, I'll refund you in full.

All payments are processed securely through Lemon Squeezy.

Payment details are not stored on this website.