Speeding up Python code with Mojo🔥: Mandelbrot example

Publié le: 25 août 2023
sur la chaîne: Modular
6,109
198

How fast is Mojo🔥 compared to Python? For high-performance computing (HPC) or compute-heavy workloads speedups can be massive. In this video we’ll discuss what the Mandelbrot set is, walkthrough it’s Python and NumPy implementation and show you how you can bring your Python code into Mojo🔥 and make minimal changes to see substantial speedups. In followup videos, we’ll discuss advanced concepts such as vectorization and parallelizations to get even better performance. Make sure you subscribe to the channel for weekly Mojo content.

Chapters:
0:00 Problem description - What is the Mandelbrot Set?
2:23 Pure Python implementation of the Mandelbrot Set
4:22 Python + NumPy implementation of the Mandelbrot Set
5:32 Speeding up Mandelbrot Set generation with Mojo🔥
9:03 Even more speedup with Mojo🔥 optimization!
11:58 Recap - Speedup from Python - NumPy - Mojo - optimized Mojo - What Next?

Blog post: https://www.modular.com/blog/how-mojo...


Sur cette page du site, vous pouvez voir la vidéo en ligne Speeding up Python code with Mojo🔥: Mandelbrot example durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Modular 25 août 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,109 fois et il a aimé 198 téléspectateurs. Bon visionnage!