I've been working with Env. Studies prof @Medullosa and @haverfordedu students Kadan Lottick and Silvia Susai to make it easier to determine energy usage of functions.
Want to check your own code?
pip install energyusage
energyusage.evaluate(func, args)https://github.com/responsibleproblemsolving/energy-usage …
-
-
Prikaži ovu nit
-
Interested in incorporating the environmental impact of code into your data structures or algorithms curriculum? We've developed some course components related to complexity. https://responsibleproblemsolving.github.io/ (with thanks to
@mozilla responsible CS challenge!)Prikaži ovu nit -
If you find this useful or build on it in any way, do let me know! This is all work in progress, and we hope this will be an ongoing community conversation.
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
I love this! Just starting to understand this, but it seems to determine the cost based on the energy mix in a country. So while a country might only use 5% renewable energy, my laptop or data center might run with 100% renewable energy.
-
I don't have a solution to this issue since it would need more fine-grained information about energy supply.
- Još 5 drugih odgovora
Novi razgovor -
-
-
I'm putting this in my lecture for today!
-
Wow - very cool! Hope it goes well!
Kraj razgovora
Novi razgovor -
-
-
this is so cool, Sorelle. I feel like inadvertently including the wrong library could easily sum to something huge if done long enough. I always feel like in 100 years we'll look back at ourselves today and laugh at how wasteful we were.
-
Thanks! From a pedagogical point of view it's been interesting to think about how harmful ignoring constants in big-Oh notation is when caring about energy usage. We still have so much to learn as a field.
- Još 1 odgovor
Novi razgovor -
-
-
i remember having read an article about an energy-aware c-compiler for embedded prozessors. (that is, energy-aware on the generated code for the target)
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.