Rust 101 – 28: Dynamic dispatch

Explaining how to hold on to something even when we don’t know its exact type, just what trait it implements.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects

This section (Trait objects): 28: Dynamic dispatch

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.

Rust 101 – 23 Exercises for module B (q3)

Testing, benchmarking and optimising a small program that plays FizzBuzz.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects

This section (Building applications): 18: Dependencies, 19: API design, 20: Tests, 21: Exercise B1, 22: Exercise B2, 23: Exercise B3

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.

Rust 101 – 22 Exercises for module B (q2)

Building a command-line quiz application to bed in our knowledge about crates, modules and serialisation. All done using test-driven development.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects

This section (Building applications): 18: Dependencies, 19: API design, 20: Tests, 21: Exercise B1, 22: Exercise B2, 23: Exercise B3

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.

Rust 101 – 21 Exercises for module B (q1)

Going through an exercise on serialization with serde.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects

This section (Building applications): 18: Dependencies, 19: API design, 20: Tests, 21: Exercise B1, 22: Exercise B2, 23: Exercise B3

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.

Rust 101 – 20: Unit, integration and benchmark tests

How to write unit tests in your Rust code, and some quick pointers on writing integration and benchmark tests.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects

This section (Building applications): 18: Dependencies, 19: API design, 20: Tests, 21: Exercise B1, 22: Exercise B2, 23: Exercise B3

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.