Speeding up Python code with Mojo🔥: Mandelbrot example

Pubblicato il: 25 agosto 2023
sul canale di: 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...


In questa pagina del sito puoi guardare il video online Speeding up Python code with Mojo🔥: Mandelbrot example della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Modular 25 agosto 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,109 volte e gli è piaciuto 198 spettatori. Buona visione!