#Bruh how can I import stuff (instead of include)

1 messages · Page 1 of 1 (latest)

waxen arch
#

what's your concern with bigger binaries?

#

your binary incldues the code you use, doesn't matter if it comes from a header or a .cpp file, etc

distant trout
#

Idk people told me. I ran my stuff on stack overflow and the first thing that was commented is how trash I am at coding and how my binary would be just bloated

waxen arch
#

The only alternative is dynamic linking, where you load binaries that are on the side of your program when your program launches, but that doesn't reduce the total binaries size

waxen arch
#

or maybe show your code

distant trout
#

bruh its the code you roasted few weeks ago

waxen arch
#

that wouldn't really bloat the binaries

distant trout
#

Is it even true that complicated long header files make a difference in binary size?

waxen arch
#

not necessarily