We are forking D

Walter Bright newshound2 at digitalmars.com
Mon Jan 8 23:37:22 UTC 2024


On 1/7/2024 8:00 PM, H. S. Teoh wrote:
> [...]

Over the years, again and again, I've seen published benchmarks (including ones 
posted in this forum) that purport to benchmark a section of code, yet never 
realizing that there was a printf and they were just benchmarking printf.

Borland made a very smart move back in the day with TurboC. The Borland C 
compiler generated rather poor code. So Borland hired a guy who coded their 
printf implementation in highly optimized assembler. With a fast printf, people 
tended to not notice the generated C code was slow.



More information about the Digitalmars-d mailing list