this is how it should be. The whole point is to just port or provide what you need. If you have 4K of program space you don’t want your language to inject what is flab in this relevant environment.
Even `__STDC_HOSTED__` is a mistake: all it really tells you is that some of the capabilities a standard-complying implementation must have might not be available — but which ones? You‘ll have to use feature tokens anyway, so you might await well just use them. The opposite is true too: companies that have their own in house standard library on purpose don’t precisely hit the standard.
View all comments
Show parent comment
6
u/pdp10gumby Apr 10 '26
this is how it should be. The whole point is to just port or provide what you need. If you have 4K of program space you don’t want your language to inject what is flab in this relevant environment.
Even `__STDC_HOSTED__` is a mistake: all it really tells you is that some of the capabilities a standard-complying implementation must have might not be available — but which ones? You‘ll have to use feature tokens anyway, so you might await well just use them. The opposite is true too: companies that have their own in house standard library on purpose don’t precisely hit the standard.