Re: C++
Sam Mason <[email protected]> Mon, 9 Nov 2009 16:32:46 +0000
| Newsgroups | gmane.os.hurd.l4 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 09, 2009 at 08:08:10AM -0800, Jonathan S. Shapiro wrote: > - front end validates the code, generates high-level IL, does > high-level optimization. > - linker accepts IL, does optimizing code generation. Fun! Link times would be even more of a problem then, Google's linker "gold" was about helping with this a bit (five times?) but if you move optimization into the linker this is going to get much slower again. > The interesting challenge in this approach is dealing with library > interface boundaries. And as you point out, it's not really clear at > this point that the compile system should treat those as a boundary at > all. Explicit control could be nice here; it would also provide a way to solve the above. User specified optimization boundaries would turn the above into a divide and conquer type solution and put things back in control of the user. -- Sam http://samason.me.uk/