Python VS C# Speed Comparison. Programming Language Speed Comparison

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • Which programming language is faster? Let's do programming language speed comparison and benchmarks test for Python and C# speed comparison with processing of large and complex operations.
    #python #csharp

КОМЕНТАРІ • 12

  • @CaliburPANDAs
    @CaliburPANDAs 6 місяців тому +11

    pls do C# vs golang

  • @stasuchuvadov
    @stasuchuvadov 6 місяців тому +18

    Video title is incorrect. U do comparsion of .NET runtime and CPython. PL as a concept have no performance or "Speed".
    For example: I can write my own runtime for CLR (Thing that C# usually compiles into) in Python, then compare my own runtime with CPython. CPython will be faster.
    Do correct things. Compare runtimes, compilers, not programming languages.
    Also, for python there are IronPython - .NET runtime of Python, Jython - JVM runtime, Cython - compiler(?) with C-features, PyPy - JIT runtime written in Python, nuitka - Python compiler, RustPython - runtime written in Rust.
    For C# there are .NET Framework - old CLR windows-only runtime, .NET - new CLR crossplatform runtime (that u used), mono - crossplatform version of .NET Framework (also used in webassembly)

    • @mohamaddelkhah
      @mohamaddelkhah 6 місяців тому +4

      Also I think implementation of logging to terminal/console can be very different and not proportional to the speed of language, which might dominate the execution time, and skew the results even more.

    • @FilipCordas
      @FilipCordas 6 місяців тому

      I am a bit sceptic about how valid the test is, but honestly, it's also an ok competition. Because if this is how most people would right this in python without optimizations it makes sense to compeer that. But it's also missing important details like what environment is he using and other stuff.

    • @codecaine
      @codecaine 6 місяців тому +1

      You not even suppose to write nested loops in python like that. That is one of the most slowest ways to do things in python.

    • @auto396
      @auto396 6 місяців тому +2

      c better

  • @gokulrj1107
    @gokulrj1107 6 місяців тому +1

    which color theme are you using for vs code? it looks really nice

    • @neonspotlight8034
      @neonspotlight8034  6 місяців тому

      Actually, it's Notepad++ with dark mode and Microsoft Visual Studio with color theme Dark

  • @nalstudio_official
    @nalstudio_official 6 місяців тому

    That thumbnail infuriates me....