Deutsch English Français Italiano |
<v8jupm$338jp$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul <nospam@needed.invalid> Newsgroups: comp.lang.c Subject: Re: "Python is 71x Slower, Uses 75x More Energy, Than C" - YouTube Date: Fri, 2 Aug 2024 20:48:54 -0400 Organization: A noiseless patient Spider Lines: 68 Message-ID: <v8jupm$338jp$1@dont-email.me> References: <v8bv5k$18i9h$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 03 Aug 2024 02:48:55 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b6240e4c8c304750c7733f52abfd091e"; logging-data="3252857"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZP+goL6EhRoTH8yeM8MS+Sm7Jlu1mKnc=" User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802) Cancel-Lock: sha1:h3K+l2QL9GZighjfFmR9uY30G60= In-Reply-To: <v8bv5k$18i9h$2@dont-email.me> Content-Language: en-US Bytes: 3757 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