News for hackers. Stuff that matters.
Re:How I Came to Write D (2014) by keldaris on Sunday June 03, 2018 @06:48PM (#17222847)
How is this dynamic loading implented? Is it effectively a cross-platform wrapper over LoadLibrary/GetProcAddress/etc. (and their POSIX equivalents) or is there more to it? Is it possible to make link time optimization work with dynamic loading?
Re:How I Came to Write D (2014) by CyberShadow on Sunday June 03, 2018 @07:45PM (#17223217)
> Is it possible to make link time optimization work with dynamic loading?

No, but nor can you with regular ol' linking against shared libraries. Or against static libraries (except for some mundane stuff like function reordering). LTO requires toolchain support and occurs before code generation.

Re:How I Came to Write D (2014) by p0nce on Sunday June 03, 2018 @07:05PM (#17222961)
> Is it effectively a cross-platform wrapper over LoadLibrary/GetProcAddress/etc.

Yes it's just that.

> Is it possible to make link time optimization work with dynamic loading?

Not that I know of (not sure).