| ▲ | Animats 2 hours ago | |
It's something of an issue if you have some crate that needs to set itself up at load time without a call from main. But those are very rare. Even "simplelog" needs a call at startup to do anything. | ||
| ▲ | ameliaquining 2 hours ago | parent [-] | |
Yeah, I think of avoiding the call from main as a devex consideration rather than a performance one, since either way the initialization code runs once at process startup. | ||