Energy-Languages
racket-binfmt
Energy-Languages | racket-binfmt | |
---|---|---|
37 | 1 | |
668 | 11 | |
0.4% | - | |
0.0 | 4.9 | |
7 months ago | 4 months ago | |
C | Racket | |
MIT License | - |
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
racket-binfmt
-
Racket: The Lisp for the Modern Day
Racket internalizes Extra-linguistic mechanisms https://felleisen.org/matthias/manifesto/sec_intern.html
Also the fact that various DSLs can inter-op with each other directly, so that you can use something like a binary parser description, as if it was just another Racket library. For example this description of the format https://github.com/Bogdanp/racket-binfmt/blob/master/binfmt-..., is directly included in another file as a regular library https://github.com/Bogdanp/racket-binfmt/blob/master/binfmt-...
I agree that startup time is not a winning aspect of Racket. My naive understanding is because Racket is not a direct bytecode interpreter like CPython, but actually has to run a compile step to native code, and doing that for programs + their required libraries necessarily takes at least a couple of hundred milliseconds even before anything can start running, while CPython can pretty much start executing from the get go.
What are some alternatives?
SGDK - SGDK - A free and open development kit for the Sega Mega Drive
frog - Frog is a static blog generator implemented in Racket, targeting Bootstrap and able to use Pygments.
gdnative - Rust bindings for Godot 3
fructure - a structured interaction engine 🗜️ ⚗️
Programming - This repo contains my Projects and practice code of various languages which I have learned during my Graduation in Computer engineering.
7GUI - the 7 gui project
OTA_update_STM32_using_ESP32 - Program STM32Fxx MCUs Over-the-Air using ESP32
racket-gui-easy - Declarative GUIs in Racket.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
awesome-lisp-companies - Awesome Lisp Companies
rust - Empowering everyone to build reliable and efficient software.
pollen - book-publishing system [mirror of main repo at https://git.matthewbutterick.com/mbutterick/pollen]