Re: "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube

Liste des GroupesRevenir à l c 
Sujet : Re: "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube
De : nospam (at) *nospam* needed.invalid (Paul)
Groupes : comp.lang.c
Date : 03. Aug 2024, 02:48:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8jupm$338jp$1@dont-email.me>
References : 1
User-Agent : Ratcatcher/2.0.0.25 (Windows/20130802)
On Tue, 7/30/2024 8:06 PM, Lynn McGuire wrote:
"Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube
   https://www.youtube.com/watch?v=U4c6nFGt1iM
 
I am not buying that C++ is slower than Rust.
 
The referenced paper is:
   https://www.sciencedirect.com/science/article/abs/pii/S0167642321000022
 
Lynn

https://www.reddit.com/r/rust/comments/lb2aeu/ranking_programming_languages_by_energy_efficiency/

   "Tests are garbage, they use an Intel i5-4460 with AVX2 but let focus on mandelbrot test

    -Rust is compiled with: -O3 and targeting a CPU compatibility of Core2

    -C is compiled with: -O3, cpu as native and vectorial support

    code and compile options can be checked at
       https://github.com/greensoftwarelab/Energy-Languages

   "

    *******

   "A better link imho:

       https://sites.google.com/view/energy-efficiency-languages

       https://sites.google.com/view/energy-efficiency-languages/setup

       Benchmark                                                  # images extracted with snippingtool and text-actions
          n-body                                                  # then spreadsheet, export pdf, pdftotext -layout some.pdf some.txt
          fannkuch-redux
          spectral-norm
          mandelbrot     <=== "focus on mandelbrot test"
          pidigits
          regex-redux

          fasta
          k-nucleotide
          reverse-complement
          binary-trees
          chameneos-redux
          meteor-contest
          thread-ring

                       Version                                  Version
          Ada          GNAT 6.2.0                  Jruby        jruby 9.1.7.0
          C            gcc 6.2.0                   Lisp         SBCL 1.3.3.debian
          C#           dotnet 1.0.1                Lua          Lua 5.3.3
          C++          g++ 6.2.0                   Ocaml        ocamlopt 4.05.0
          Chapel       chpl 1.15.0                 Pascal       fpc 3.0.2
          Dart         Dart VM 1.24.0-dev.0.0      Perl         perl 5.24.0
          Erlang       Erlang 7.3.1.2              PHP          php 7.1.4
          F#           dotnet 1.0.1                Python       python 3.5.2
          Fortran      ifort 17.0.3                Racket       raco 6.8
          Go           go go1.6.3                  Ruby         ruby 2.4.1
          Hack         HipHop VM 3.19.2            Rust         ruste 1.16.0
          Haskell      ghc 8.0.2                   Swift        swift 4.0-dev
          Java         jdk 1.8.0_121               TypeScript   node 7.9.0
          JavaScript   node 7.9.0
   "

  Paul



Date Sujet#  Auteur
31 Jul 24 * "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube4Lynn McGuire
31 Jul 24 +- Re: "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube1Bart
2 Aug 24 +- Re: Python Versus C1Lawrence D'Oliveiro
3 Aug 24 `- Re: "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube1Paul

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal