[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-20 Thread Richard O'Keefe
The energy comparison web site is a useful reference. However, it measures a combination of - hardware platform - operating system (for example, FASTA does oodles of output) - compiler - runtime system (for example, garbage collector) - algorithm. Where there are multiple algorithms for a sing

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-20 Thread Mariano Martinez Peck
Here is an interesting article that could help as a start: https://thenewstack.io/which-programming-languages-use-the-least-electricity/ Cheers, On Thu, Oct 15, 2020 at 8:41 PM Richard O'Keefe wrote: > It doesn't make a whole lot of sense to talk about the energy efficiency > of a programming

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-15 Thread Richard O'Keefe
It doesn't make a whole lot of sense to talk about the energy efficiency of a programming language. For example, I've seen the run time of a C benchmark go from 50 seconds to 1 microsecond when the optimisation level was changed. It doesn't even make much sense to talk about the energy efficiency

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-13 Thread Stéphane Ducasse
> On 13 Oct 2020, at 21:33, Jonathan van Alteren > wrote: > > Hi Stéphane, > > I dug around a little bit regarding this subject and found that people are > working to create software that is aware of its energy consumption. There is > a Dutch university research group actively involved with

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-13 Thread Jonathan van Alteren
Hi Stéphane, I dug around a little bit regarding this subject and found that people are working to create software that is aware of its energy consumption. There is a Dutch university research group actively involved with this and related topics here: http://s2group.cs.vu.nl/mission/. This art

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-13 Thread Stéphane Ducasse
> Hi Stéphane, > > Thanks for your feedback. I agree that the usefulness of these results is > limited. However, if we (Object Guild) want to make a case for energy > efficiency, it can help if the language itself can be shown to be efficient > as well. I do not know what is energy efficien

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-13 Thread Jonathan van Alteren
Hi Stéphane, Thanks for your feedback. I agree that the usefulness of these results is limited. However, if we (Object Guild) want to make a case for energy efficiency, it can help if the language itself can be shown to be efficient as well. For now, I think the efficiency will need to come fr

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-11 Thread Stéphane Ducasse
The problem is that what do you measure. When you move computation from the CPU to a GPU for example does it consume less or more. I think that such analyses are totally stupid. Is a fast execution consume less? I have serious doubts about it. Now if we measure how fast we drain a battery becau

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-06 Thread Jonathan van Alteren
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. Kin

[Pharo-users] Re: Energy efficiency of Pharo/Smalltalk

2020-10-01 Thread Mariano Martinez Peck
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 hard