Python vs. C++ Option Pricing Speed Test

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

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

  • @KurtGodel-po3zl
    @KurtGodel-po3zl 5 дней назад +3

    Interesting and not surprising. C/C++ is the speed demon. Python is a cool language with many useful aspects to it, but when you need fast and efficiency code, you gotta stick with the OG languages

    • @moquant
      @moquant  5 дней назад +2

      For sure, I mostly mix C with Python these days

  • @adventureswithaustin11
    @adventureswithaustin11 4 дня назад +1

    bro this is so awesome im learning python in school rn great video
    very cool to see c++ haha and python XD

  • @AbdMan28
    @AbdMan28 5 дней назад +3

    Good job Mohammed👌

    • @moquant
      @moquant  5 дней назад

      @@AbdMan28 Thank you!

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

    Milliseconds would be useful to print for things that take less than ~10seconds

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

    How would Rust compare to C++

    • @moquant
      @moquant  5 дней назад +2

      I have never programmed in Rust

    • @Ray88G
      @Ray88G 4 дня назад

      @@moquant What is the actual reason on why C++ is so fast when compared to Python ?

    • @moquant
      @moquant  4 дня назад

      @@Ray88GC++ is lower level meaning it is closer to machine code than Python. Python is slower because there is a lot of tasks going on even if there are only a small amount of lines of code

  • @comproprasad6438
    @comproprasad6438 4 дня назад

    where is the source code link?

    • @moquant
      @moquant  4 дня назад

      github.com/MoQuant/IV