Energy-Languages
rust
Energy-Languages | rust | |
---|---|---|
37 | 7 | |
668 | 709 | |
0.4% | 0.8% | |
0.0 | 0.0 | |
7 months ago | about 1 month ago | |
C | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Energy-Languages
-
C Is the Greenest Programming Language
Looking at the benchmark where C++ is worst compared to other languages, it's depending on the library used. I would guess if they used Google's re2 Regex library instead of Boost's, the result would be different.
https://github.com/google/re2
https://github.com/greensoftwarelab/Energy-Languages/blob/ma...
-
General Availability of the AWS SDK for Rust
Trawling through the wayback machine, I did find that the older pages link to https://github.com/greensoftwarelab/Energy-Languages, which does seem to provide the contents of the specific programs used and the benchmarking software. Excellent.
-
Java consumes 38x less energy than Python
> … not … primarily an issue with means vs medians
We're comparing averages, why would we bother so much about the cause of an outlier.
> you linked directly to the C++ code for spectral-norm
You had linked to the wrong C and C++ code for spectral-norm, I linked to the code that was actually used.
> The time ratio of the Benchmarks Game fastest C version to the slowest C++ version is over 16x.
Again, you seem to be looking at the wrong repo.
The authors of "Energy Efficiency across Programming Languages, SLE’17" provided this repo —
https://sites.google.com/view/energy-efficiency-languages
https://github.com/greensoftwarelab/Energy-Languages
-
Racket: The Lisp for the Modern Day
https://github.com/greensoftwarelab/Energy-Languages/issues/...
-
Is your language eco friendly?
The paper authors provided a repo for the source code they used: https://github.com/greensoftwarelab/Energy-Languages
- Reasons you prefer Golang over Java?
-
I don't hate it. But I can't deny it.
The study made their own measurements. They did not re-use measurements made by the benchmarks game.
-
Energy Efficiency across Programming Languages [pdf]
One of the JavaScript programs at least was concurrent, whereas the TypeScript equivalent was synchronous. No wonder there's a difference...
Haven't looked closely at the other problems, but it's apparent to me that the solutions are not even trying to be similar, so comparing their efficiency is near useless.
the problem in question was the k-nucleotide one, IIRC:
https://github.com/greensoftwarelab/Energy-Languages/blob/13...
-
How to install libraries into a common directory so that they can be targeted by an -L flag to rustc?
I've been trying to replicate a study on energy usage (alright, it's that study on energy usage) and I've hit a bit of a snag while trying to compile the Rust components of the project. Instead of using a Cargo.toml and building with cargo, the authors have decided to use a Makefile and manually pass flags into rustc.
-
Greenest programming languages: a reason to support JavaScript over TypeScript
Here is an issue from the repo with the code they used: https://github.com/greensoftwarelab/Energy-Languages/issues/34
rust
-
ESP32 example project
The esp-template issue might be this one: https://github.com/esp-rs/rust/issues/158. Try with --release or updating to 1.68.0 with espup update. I'll take a look at the log as soon as I can, atm Im on the phone and is not that easy to scroll through :(
-
Are there any Rust forks out there?
Sure. Espressif maintains a fork which adds support for their microcontrollers.
-
Would it be possible to compile openssl-sys for esp32
I am trying to make a vaccine passport validation for my country using the ESP32 for my micro controller. I have gotten the std rust library to compile using (esp-rs)[https://github.com/esp-rs/rust], but the actual validation library that I use needs openssl which refuses to compile.
-
Are there situations where it's better to use C++?
Xtensa. They've got a fork of LLVM that supports it that they're working toward getting upstreamed. The community has a fork of rustc that uses it (and a quickstart crate) while we wait for it to get upstreamed.
- Rust-Xtensa: Rust for Xtensa Processors. Built in Targets for the ESP32/ESP8266
-
Multi-use kernel written in Rust
It only works if you have an Xtensa compiler which takes hours to compile, here: Rust Xtensa (if you don't have it). The network driver is just a function that sets the name of the driver so the Esp32 does something other that blinking.
- Could IOTA transaction be started solely from the IoT capable device (like esp32)?
What are some alternatives?
SGDK - SGDK - A free and open development kit for the Sega Mega Drive
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
gdnative - Rust bindings for Godot 3
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
racket-binfmt - A binary format parser generator DSL with support for limited context-sensitivity.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Programming - This repo contains my Projects and practice code of various languages which I have learned during my Graduation in Computer engineering.
scala - Scala 2 compiler and standard library. Bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3
OTA_update_STM32_using_ESP32 - Program STM32Fxx MCUs Over-the-Air using ESP32
odbc-api - ODBC (Open Database Connectivity) bindings for Rust.
rust - Empowering everyone to build reliable and efficient software.
tonic - A native gRPC client & server implementation with async/await support.