digitalmars.D.announce - LDC 1.27.0-beta3
- kinke (10/10) Jul 14 2021 Glad to announce the third beta for LDC 1.27. Some noteworthy
- Walter Bright (2/3) Jul 14 2021 Nice work!
- rikki cattermole (4/4) Jul 14 2021 Will -fvisibility=public support be upstreamed into dmd?
- Adam D Ruppe (2/5) Jul 15 2021 No, that's a bad idea.
- kinke (6/12) Jul 15 2021 I fully agree; it's still very useful with `-fvisibility=hidden`
- Guillaume Piolat (3/5) Jul 15 2021 Please, no. -fvisibility=public doesn't work in all cases in our
Glad to announce the third beta for LDC 1.27. Some noteworthy changes since beta2: * Frontend and druntime/Phobos upgraded to todays's DMD stable. * LLVM for prebuilt packages bumped to v12.0.1. * New LDC-specific language addition: `__traits(initSymbol, <aggregate type>)` * Fix missed RVO opportunity. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.27.0-beta3 Please help test, and thanks to all contributors & sponsors!
Jul 14 2021
On 7/14/2021 12:38 PM, kinke wrote:Glad to announce the third beta for LDC 1.27. Some noteworthy changes since beta2:Nice work!
Jul 14 2021
Will -fvisibility=public support be upstreamed into dmd? If yes, it might be worth it to get rid of export as a keyword out right in a DIP (as it introduces the possibility of linker errors that would otherwise not need to exist).
Jul 14 2021
On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole wrote:If yes, it might be worth it to get rid of export as a keyword out right in a DIP (as it introduces the possibility of linker errors that would otherwise not need to exist).No, that's a bad idea.
Jul 15 2021
On Thursday, 15 July 2021 at 11:38:10 UTC, Adam D Ruppe wrote:On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole wrote:I fully agree; it's still very useful with `-fvisibility=hidden` to only export what you really want (e.g., in order to quite likely shrink the final size of executables and plugin libs considerably) without the blunt export-everything method (which is nice for libraries like druntime and Phobos).If yes, it might be worth it to get rid of export as a keyword out right in a DIP (as it introduces the possibility of linker errors that would otherwise not need to exist).No, that's a bad idea.
Jul 15 2021
On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole wrote:Will -fvisibility=public support be upstreamed into dmd? If yes, it might be worth it to get rid of export as a keywordPlease, no. -fvisibility=public doesn't work in all cases in our experience.
Jul 15 2021
On Thursday, 15 July 2021 at 11:58:28 UTC, Guillaume Piolat wrote:On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole wrote:And there is also DLL export limit on Windows which 65k symbols, yay.Will -fvisibility=public support be upstreamed into dmd? If yes, it might be worth it to get rid of export as a keywordPlease, no. -fvisibility=public doesn't work in all cases in our experience.
Jul 15 2021
On Thursday, 15 July 2021 at 13:45:32 UTC, evilrat wrote:And there is also DLL export limit on Windows which 65k symbols, yay.Yep, I've already run into it during testing. ;) - For reference: https://developercommunity.visualstudio.com/t/fix-msvc-65535-symbol-limit-in-lib-files-lnk1189/220174
Jul 15 2021