Login  Register

Re: Energy efficiency of Pharo/Smalltalk

Posted by jvalteren@objectguild.com on Oct 06, 2020; 12:04pm
URL: https://forum.world.st/Energy-efficiency-of-Pharo-Smalltalk-tp5122777p5123049.html

Hi Mariano,

Thanks for your response! I will take a look at the presentation.

I was hoping for some more concrete experience with the Green Software Lab benchmark. It's not a priority at the moment, but hopefully I'll get back to this in the near future. I'll report back with any findings.

Kind regards,

Jonathan van Alteren

Founding Member | Object Guild B.V.
Sustainable Software for Purpose-Driven Organizations

[hidden email]
On 1 Oct 2020, 22:34 +0200, Mariano Martinez Peck <[hidden email]>, wrote:

Hi there,

We did a related experiment with VA Smalltalk and other languages like Python, Java, etc... the context was how a JIT compiler can also help you reduce energy consumption...which could be very important for IoT. We did experiments on a Raspberry Pi, run some benchmarks and with some hardware tool we were measuring the wattage. 

You can see the whole presentation here: https://youtu.be/2xO0ohUNnug

Hopefully this can get you started with Pharo experiments.

Cheers,

On Thu, Oct 1, 2020 at 8:47 AM Jonathan van Alteren <[hidden email]> wrote:
Hi all,

I am interested in energy efficiency metrics for Pharo (version >=8). Just now, I came across this research and related GitHub project:

Unfortunately, the paper mentions that Smalltalk was excluded from the results because the (VW) compiler was proprietary :-S However, the GitHub repository does contain Smalltalk code and results, but I haven't been able to evaluate those.

[1] Does anyone here have more information on this topic?


The benchmarks seem to be low-level algorithms. Although that is useful, I think that a better argument for Pharo/Smalltalk efficiency is that a good OO design (e.g. created using responsibility-driven design with behaviorally complete objects) will be a better fit, can be much simpler and will thus be more efficient during development, as well as easier to maintain and evolve.

[2] Has anyone done any research in this area that can quantify this aspect?

Kind regards,

Jonathan van Alteren

Founding Member | Object Guild B.V.
Sustainable Software for Purpose-Driven Organizations

[hidden email]


--
Mariano Martinez Peck