OO: Python to Rust

External: Coursera Courses ↗ · Coursera

Open Course on External: Coursera

Free to audit · Opens on External: Coursera

OO: Python to Rust

Coursera · Beginner ·📐 ML Fundamentals ·4d ago
OO: Python to Rust is a hands-on course on object-oriented design for engineers moving from Python (a class-based, dynamic OO language) to Rust (a struct-and-trait-based language with no inheritance and strict ownership). You will learn how Rust models the four classical OO pillars - encapsulation, abstraction, polymorphism, and code reuse - without classes or inheritance, using structs, methods (impl blocks), traits, trait objects, generics, enums, and the type state pattern. The course translates common Python OO patterns (dataclasses, dunder methods, ABCs, mixins, descriptors, protocols, the singleton, factory, observer, strategy, and decorator patterns) into idiomatic Rust, and explains why some of them simply don't apply once you have algebraic data types and ownership. You will refactor a non-trivial Python OO codebase into Rust, learn when composition beats inheritance, when an enum beats a class hierarchy, and how to design APIs that leverage Rust's compile-time guarantees. By the end of the course, you will be able to read OO Python code and produce a correct, idiomatic Rust translation, and justify your design decisions on a code review. Part of the Rust for Data Engineering specialization.
Watch on External: Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

House Robber III — DP Interview Series #17
Learn to solve the House Robber III problem using dynamic programming (DP) and understand how to identify DP problems disguised as tree traversals
Medium · Programming
The Engineering Side of AI Nobody Talks About
Discover the often-overlooked engineering side of AI and its importance in model development and deployment
Medium · AI
Laptop vs Desktop for Machine Learning: Which One Actually Makes More Sense in 2026?
Choose the right computer for machine learning based on workflow optimization, not just performance
Medium · AI
Laptop vs Desktop for Machine Learning: Which One Actually Makes More Sense in 2026?
Choose between laptops and desktops for machine learning based on your workflow needs, not just performance, to optimize productivity and efficiency
Medium · Machine Learning
Up next
Applied Data Science With Python Full Course 2026 [Free] | Python For Data Science | Simplilearn
Simplilearn
Watch →