Show me The code
From Python to Rust by examples
You can copy-paste and run the Rust examples in https://play.rust-lang.org/ and Python in https://repl.it/languages/python3
- Creating a new project
- Installing new libraries/crates
- Hello World
- Types and Declarations
- Define a function
- List/Slice
- Dict/Map
- Set/HashSet
- While and For loops
- Files
- Exceptions/Return Error
- Concurrency
- Communicating between threads
- Sorting
- Web app with Flask / Rocket
- HTTP Request with error handling
- Multithreaded HTTP Crawler
- Encode and Decode JSON
- Object Orientation
- Print Object for Debug/Log
- Operator Overloading
- Template for new examples