Skip to Content
Switching to Rust from Python (Live Rough Draft Series)
video

Switching to Rust from Python (Live Rough Draft Series)

by Alfredo Deza, Noah Gift
May 2023
Intermediate
4h 9m
English
Pragmatic AI Labs

Overview

Switch to Rust

Switching to Rust from Python (Live Rough Draft Series)

This video series covers how to switch to Rust from Python.
It is in rough draft format and will be updated as the series progresses. The aim is to get this content out to the community as soon as possible. You can follow along with the code on GitHub at * Rust Tutorial- https://nogibjj.github.io/rust-tutorial/ . * Rust MLOps Template- https://github.com/noahgift/rust-mlops-template

Course Outline

Lesson 1: Introduction

  1. Introduction to Switching to Rust from Python
  2. Rust Live Notes Overview
  3. Setup Rust and Explain the Difference from Python
  4. Copilot Enabled Rust Development
  5. Leveling Up Rust Packaging, Actix Microservice, and Crates
  6. Energy Efficiency of Python vs Rust
  7. Using VS Code, Copilot and Codespaces to Level Up to Rust from Python
  8. Continuous Integration and Continuous Delivery with Rust via GitHub Actions
  9. Using All of GitHub's New Features: Copilot, Codespaces, Copilot Chat, and Copilot CLI

Lesson 2: High Performance MLOps with Rust

  1. High Performance MLOps with Rust Hugging Face
  2. Systems Programming Rust vs Python
  3. Data Engineering with Rust - Deduplication
  4. Rust GPU Hugging Face Translator

Lesson 3: PyTorch, Stable Diffusion, and Rust GPU Demo

  1. PyTorch Stable Diffusion Rust GPU Demo
  2. High Performance PyTorch Rust Demo
  3. Building a CUDA-enabled Stress Test with Rust PyTorch

Lesson 4: Google Cloud Platform and Rust

  1. Onboard GCP with Rust and Python
  2. Google Cloud Run Rust Actix Microservice
  3. Demo: Build and Deploy Rust Microservice to Cloud Run
  4. Demo: Monitoring and Logging Rust App Engine
  5. Demo: Load Testing

Lesson 5: AWS and Rust

  1. Intro to Actix Rust Containerized Microservice
  2. Rust AWS Step Functions
  3. MLOPs Inference with ONNX via EFS + AWS Lambda
  4. Async Rust SDK with AWS Lambda counts all objects in S3
  5. Rust for MLOps with Amazon SageMaker
Learning Objectives
  • Learn program in Rust using Python as a reference and advanced tools like GitHub Copilot to assist
  • Learning to build solutions with Rust including CLI, Web, and MLOps
  • Learning to build Rust solutions for AWS, GCP, and Azure
  • Learning to build Rust solutions for Kubernetes, Docker, and Serverless
  • Learning to build Rust solutions for Data Engineering, Data Science, and Machine Learning Operations (MLOps)
  • Learning to build Rust solutions for GPU-accelerated Machine Learning
  • Learning the key syntax and features of the Rust Language
Additional Popular Resources
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Rust: Get Started with Rust 2021 Edition

Beginning Rust: Get Started with Rust 2021 Edition

Carlo Milanesi

Publisher Resources

ISBN: 01252023VIDEOPAIMLOtherOtherOther