Thursday, April 18, 2019

Digest for comp.programming.threads@googlegroups.com - 4 updates in 4 topics

Horizon68 <horizon@horizon.com>: Apr 17 11:51AM -0700

Hello...
 
 
More about Energy efficiency..
 
You have to be aware that parallelization of the software
can lower power consumption, and here is the formula
that permits you to calculate the power consumption of
"parallel" software programs:
 
Power consumption of the total cores = (The number of cores) * (
1/(Parallel speedup))^3) * (Power consumption of the single core).
 
 
Also read the following about energy efficiency:
 
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,
and Java and FreePascal are also good at Energy efficiency.
 
Read more here:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
RAM is still expensive and slow, relative to CPUs
 
And "memory" usage efficiency is important for mobile devices.
 
So Delphi and FreePascal compilers are also still "useful" for mobile
devices, because Delphi and FreePascal are good if you are considering
time and memory or energy and memory, and the following 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.
Horizon68 <horizon@horizon.com>: Apr 17 11:41AM -0700

Hello...
 
 
I have implemented a C++ MemPool for real-time systems
 
You can read about it and download from my website here:
 
https://sites.google.com/site/scalable68/c-mempool-for-real-time-systems
 
 
Thank you,
Amine Moulay Ramdane.
Horizon68 <horizon@horizon.com>: Apr 17 11:22AM -0700

Hello...
 
 
I have just implemented a Getmem_aligned and Freemem_aligned for Delphi
and FreePascal, here it is:
 
https://sites.google.com/site/scalable68/getmem_aligned-for-delphi-and-freepascal
 
 
Thank you,
Amine Moulay Ramdane.
Horizon68 <horizon@horizon.com>: Apr 17 10:22AM -0700

Hello...
 
 
What tool can decompile a DLL into C++ source code?
 
This might be impossible or at least very hard. The DLL's contents don't
depend (a lot) on it being written in C++; it's all machine code. That
code might have been optimized so a lot of information that was present
in the original source code is simply gone.
 
About obfuscation for FreePascal / Lazarus and Delphi compiled files
 
Just compiling with optimizations (-O2 and up) and stripping all debug
and profile information, and apply smartlinking, will make it almost
un-decompilable. Not only FPC, but also Delphi. I remember using
Delphi decompilers for Delphi 6 and they were unable to decompile any
actual code except resources.
 
 
Thank you,
Amine Moulay Ramdane.
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.programming.threads+unsubscribe@googlegroups.com.

No comments: