Python VS C# Speed Comparison. Programming Language Speed Comparison

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มี.ค. 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

  • @stasuchuvadov
    @stasuchuvadov 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +2

      c better

  • @CaliburPANDAs
    @CaliburPANDAs 3 หลายเดือนก่อน +11

    pls do C# vs golang

    • @k1lluachan
      @k1lluachan 3 หลายเดือนก่อน

      vs kotlin :)

  • @gokulrj1107
    @gokulrj1107 3 หลายเดือนก่อน +1

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

    • @neonspotlight8034
      @neonspotlight8034  3 หลายเดือนก่อน

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

  • @nalstudio_official
    @nalstudio_official 3 หลายเดือนก่อน

    That thumbnail infuriates me....

    • @midnightgamer217
      @midnightgamer217 3 หลายเดือนก่อน

      They stole all the for loops 😢