Printing floating points

Steven Schveighoffer schveiguy at gmail.com
Thu Jan 28 03:18:58 UTC 2021


On 1/26/21 9:17 PM, H. S. Teoh wrote:
> 
> If there was a way to make these tables pay-as-you-go, I'd vote for it.
> Adding 104KB or 52KB even if the code never once formats a float, is not
> ideal, though granted, in this day and age of cheap, high-capacity RAM
> not really a big issue.

There is a way -- dynamic libraries. It's how C does it.

But seriously, I can't imagine why we are concerned about 100KB of code 
space. My vibe.d server is 80MB compiled (which I admit is a lot more 
than I would like, but still). My phone has as much code space as 100 
computers from 10 years ago. Are you still using floppies to share D code?

-Steve


More information about the Digitalmars-d mailing list