How to convert Python to Cython (and Speed Up 100X)

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 17

  • @machinelearningplus
    @machinelearningplus  Год назад

    Want to become fundamentally strong in Data Science and ML?
    Checkout - edu.machinelearningplus.com/s/pages/ds-career-path
    The ultimate resource to prepare for a successful data science career.

  • @jamesminhtran5964
    @jamesminhtran5964 6 месяцев назад +2

    I have watched about 15 beginner videos on Cython and yours is the best so far. It starts by showing the 2x improvements with no code change. This was excellent. No other video event mentioned this. Then the step by step instructions to add cdef and cpdef was a great explanation for a beginner.
    And the table to show the list of C data types is very useful.
    This is also the firstt video that shows how to update setup.py with multiple pyx file. All other videos only have 1 pyx file.
    Teaching is really an art. Thank you!

  • @pietraderdetective8953
    @pietraderdetective8953 Год назад +2

    Great content Sir!
    I would be super happy if you continue and make this Cython videos into a series.
    Not a lot of new Cython videos in RUclips. Most I see were from 3-5 years ago.
    Liked & subscribed!

    • @machinelearningplus
      @machinelearningplus  Год назад +2

      Noted, more to come!
      And here is the next one: ruclips.net/video/4kxH7-5N-y0/видео.html

  • @Michallote
    @Michallote Год назад

    Incredible job!!!! This is an amazing tutorial

  • @AB-cd5gd
    @AB-cd5gd 7 месяцев назад +3

    Wow best tuto ever, would it work and actually provide improvement on front end part like tkinter?

  • @abinaschopdar
    @abinaschopdar Год назад

    Nice tutorial 🤩

  • @kemalataturk1917
    @kemalataturk1917 5 дней назад +1

    Selva Prabhakaran...hm probably Sri Lankan but could be Tamil as well. Is that right? Great video btw

  • @alicenogueira5972
    @alicenogueira5972 Год назад

    I can't use distutils, I used from setuptools import setup but the pyd file wasn't made, how can I install distutils or what can I use instead?

  • @vishnumuralidhar5659
    @vishnumuralidhar5659 Год назад

    then what's the use mojo when cython is present before🤔🤔🤔

    • @vncstudio
      @vncstudio 3 месяца назад

      Like most new languages, Mojo will take many years to be production ready and stable. Cython 3.1 is very good.