Speeding up Python code with Mojo🔥: Mandelbrot example

Publicado el: 25 agosto 2023
en el canal de: 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...


En esta página del sitio puede ver el video en línea Speeding up Python code with Mojo🔥: Mandelbrot example de Duración hora minuto segunda en buena calidad , que subió el usuario Modular 25 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 6,109 veces y le gustó 198 a los espectadores. Disfruta viendo!