▲ | api 19 hours ago | |||||||||||||
That’s a great point. Another advantage is that at least for Rust you can do whole program optimization. The entire program tree is run through the optimizer resulting in all kinds of optimizations that are otherwise impossible. The only other kinds of systems that can optimize this way are higher level JIT runtimes like the JVM and CLR. These can treat all code in the VM as a unit and optimize across everything. | ||||||||||||||
▲ | TinkersW 17 hours ago | parent | next [-] | |||||||||||||
| ||||||||||||||
▲ | aleph_minus_one 18 hours ago | parent | prev [-] | |||||||||||||
> Another advantage is that at least for Rust you can do whole program optimization. The entire program tree is run through the optimizer resulting in all kinds of optimizations that are otherwise impossible. I get why this might lead to big intermediate files, but why do the final binaries get so big? | ||||||||||||||
|