Speeding up Python code with Mojo🔥: Mandelbrot example

Опубликовано: 25 Август 2023
на канале: 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...


На этой странице сайта вы можете посмотреть видео онлайн Speeding up Python code with Mojo🔥: Mandelbrot example длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Modular 25 Август 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 6,109 раз и оно понравилось 198 зрителям. Приятного просмотра!