Saturday, June 2, 2018

Digest for comp.lang.c++@googlegroups.com - 4 updates in 3 topics

Sky89 <Sky89@sky68.com>: Jun 02 05:55PM -0400

Hello..
 
 
Delphi and FreePascal compilers that i work with are still "useful",
because the pascal benchmark was done with FreePascal, and the benchmark
shows that C, Go and Pascal do rather better if you're considering
languages based on time and memory or energy and memory.
 
Read again here to notice it:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
 
Thank you,
Amine Moulay Ramdane.
Sky89 <Sky89@sky68.com>: Jun 02 05:31PM -0400

Hello..
 
 
Energy efficiency isn't just a hardware problem. Your programming
language choices can have serious effects on the efficiency of your
energy consumption. We dive deep into what makes a programming language
energy efficient.
 
As the researchers discovered, the CPU-based energy consumption always
represents the majority of the energy consumed.
 
What Pereira et. al. found wasn't entirely surprising: speed does not
always equate energy efficiency. Compiled languages like C, C++, Rust,
and Ada ranked as some of the most energy efficient languages out there.
 
Read more here:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
 
Thank you,
Amine Moulay Ramdane.
Ian Collins <ian-news@hotmail.com>: Jun 03 08:32AM +1200

On 03/06/18 08:26, Bart wrote:
> forget to name it and it happens to shadow a more global variable with
> the same name?
 
> Let me guess: unit tests will pick that up.
 
So why ask?
 
--
Ian.
Ian Collins <ian-news@hotmail.com>: Jun 03 08:45AM +1200

On 02/06/18 23:12, Bart wrote:
 
>> Nope.  My code is written incrementally, one passing test at a time.
>> There is no code that isn't introduced to make a test pass.
 
> Then I envy you your clear and simple specifications!
 
The clarity and completeness of the specification is orthogonal to the
process. Ours are generally along the lines of "as an operator, I need
to do blah...". Doing Blah will usually involve changes to multiple
modules withing both the controls and UI code bases.
 
<snip>
 
> Your strategy sounds very worthy but is the equivalent of calling in a
> team of management consultants and project managers to help me build a
> garden fence.
 
The strategy enables us to modify and extend existing code knowing we
haven't disrupted its original functionality and enables future
maintainers to modify the new code with the same assurances. Chaos can
quickly turn to catastrophe when there are over one hundred people
working on the same code base...
 
 
>> No, because I have to verify that it won't pass a new test before the
>> code to pass the test is written.
 
> I couldn't program like that.
 
You have the luxury of working solo and deadline free on your own code!
 
--
Ian.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: