Main π‘β

Python ππ€π¦Rustβ
This is not a challenge or benchmark comparison, this a simple documentation, that might be helpful for Python Software Engineers that want to learn Rust.
Description πβ
This documentation is designed for developers who know Python π (like me) to gradually understand Rust π¦ by analyzing code examples and differences and similarities in these programming languages.
Links πβ
Definitions in docs ποΈβ
Code inside examples will be written in 2, 3 or 4 blocks, where:
- "Python π" - full Python example (usually declared with
if __name__ = "__main__:), possible to run withpython -m <path.to.module>; - "π" - short Python example;
- "Rust π¦" - full Rust example (usually declared with
fn main() {}), possible to run withcargo run --bin <bin_name>; - "π¦" - short Rust example (example, probably not possible to compile);
Example with 4 blocks
Example with 2 blocks
Switch tabs
It's a possible to move tabs (when you click on one tab and it's already active).
To move it, use Left or Right.