Speeding up Python code with Mojo🔥: Mandelbrot example

Veröffentlicht am: 25 August 2023
auf dem Kanal: 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...


Auf dieser Seite können Sie das Online-Video Speeding up Python code with Mojo🔥: Mandelbrot example mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Modular 25 August 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,109 Mal angesehen und es wurde von 198 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!