OT: for (;;) {} vs while (true) {}

Dennis Ritchie via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 24 13:57:15 PST 2016


Hi all,

In the source code, written in D, is often used in the design of 
the `for (;;) { ... }`

Maybe someone has specific examples of translation of code in 
asm, where `while (true) { ... }` or `for (;;) { ... }` affect 
the performance or cross-platform programs.
It would be interesting to see samples.


More information about the Digitalmars-d mailing list