new annotation or pragma to mark functions that are intended to be only used during compile time

Ilya ilya.yanok at gmail.com
Thu Feb 20 16:54:10 UTC 2025


On Thursday, 20 February 2025 at 15:30:59 UTC, Hipreme wrote:
> I have a plenty of functions that are called in compilation 
> time, and beyond reducing the object generation time, one would 
> of course get reduced binary size, which is also fairly

TBH, usually the linker does a pretty good job at collecting 
non-referenced symbols, so I don't really expect to see any 
benefits wrt binary sizes here.

> important to those which are targeting WASM.

Though I'm not sure how things work in WASM world... Do you have 
a linker?


More information about the dip.ideas mailing list