Java type annotations, multi-precision

Walter Bright newshound2 at digitalmars.com
Sun Feb 9 12:14:41 PST 2014


On 2/9/2014 7:38 AM, bearophile wrote:
> This shows how a C-like language lacks some essential parts to use well the CPUs
> (both x86 and to ARM) to implement range integrals or multi-word integrals
> efficiently without using asm:
> http://accu.org/index.php/journals/1849

Much like how ROR and ROL is efficiently handled in compilers by having the 
compiler recognize the equivalent expression, I think the best way to handle 
these issues is by having the compiler recognize the multi-precision 
expressions, and rewrite it internally into the optimal asm.



More information about the Digitalmars-d mailing list