https://d.puremagic.com/issues/show_bug.cgi?id=12440
--- Comment #6 from Marco Leise <[email protected]> 2014-03-23 02:48:39 PDT --- (In reply to comment #5) > With the current state of D shared libraries, how many of those do we have > anyway? Close to none I guess. > If a change improves performance for 99% of code and breaks 1%, I think that's > a worthwhile change. The argument being? The state of shared libraries will continue to improve steadily as it did in the past. -wholeprogram (as described above) will cause issues once D gets there and the 1% deliberate silent breakage increases. At the minimum there would have to be a runtime error on loading plugins into a program compiled with -wholeprogram. And to pick up a suggestion on the forum by Ola, there could be a mechanism in place to tell the compiler which classes you need excluded from devirtualization, so you can use -wholeprogram together with plugins. > We have a precedent (the -allinst switch and related > changes). I didn't follow the discussion around -allinst so I cannot comment on that. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
