www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Thank you to Rainer: shared library support

reply Richard (Rikki) Andrew Cattermole <richard cattermole.co.nz> writes:
A big shout-out to Rainer for improving dmd's shared library 
support and getting [0] merged!


While druntime support has yet to be implemented, this is a major 
stepping stone to improving shared library support in all D 
compilers so that common scenarios will not cause linker errors 
as they do now.


So thank you Rainer for helping to solve this long standing issue.


To Walter: any chance for an implementation of DIP-Export2? That 
way for next release we could have a preview of what D's shared 
library support will look like and be mostly hashed out!

[0] https://github.com/dlang/dmd/pull/14849
Dec 30 2023
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/30/2023 2:22 PM, Richard (Rikki) Andrew Cattermole wrote:
 A big shout-out to Rainer for improving dmd's shared library support and
getting 
 [0] merged!
Rainer, you da man!
Dec 30 2023
prev sibling next sibling parent Adam Wilson <flyboynw gmail.com> writes:
On Saturday, 30 December 2023 at 22:22:22 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
 A big shout-out to Rainer for improving dmd's shared library 
 support and getting [0] merged!

 [0] https://github.com/dlang/dmd/pull/14849
I would like to add my thanks to Rainer for getting the across the finish line. 2.106 was a fantastic release and with this merged in 2.107 is looking tremendous. This improvement to Shared Libraries is a significant improvement to D and will open up new possibilities for our users. I also wanted to give kudos to Nicholas Wilson for jumping on this and helping Rainer get this across the finish line. This merge is shining example of what this community can accomplish when it works together. And now, onward towards the completion of Shared Library support with [DIP Export2](https://gist.github.com/rikkimax/1d7cfdb8ed74e9e4efc9ba0208f42e7e#file-dip-export2-md)
Dec 31 2023
prev sibling parent reply Steven Schveighoffer <schveiguy gmail.com> writes:
On Saturday, 30 December 2023 at 22:22:22 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
 A big shout-out to Rainer for improving dmd's shared library 
 support and getting [it] merged
can someone explain what the problem was and what was fixed? I don't really know much about it, since I don't use Windows. I'm sure it's a big deal and I want to give congrats, but I feel completely ignorant on it... -Steve
Dec 31
parent reply "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
On 01/01/2024 4:46 PM, Steven Schveighoffer wrote:
 can someone explain what the problem was and what was fixed?
Basically a whole pile of stuff under the hood wasn't implemented. There has been some reimplementation of things that ldc has such as the visibility override switch. It now has a chance to work. I'm sure we'll do some documentation and write up some scenarios showing how it all works cross platform at a later date. But for now we need to move into DIP and testing phases to get it polished up and ready for others to use.
Dec 31
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 12/31/2023 7:53 PM, Richard (Rikki) Andrew Cattermole wrote:
 Basically a whole pile of stuff under the hood wasn't implemented.
 
 There has been some reimplementation of things that ldc has such as the 
 visibility override switch.
 
 It now has a chance to work.
 
 I'm sure we'll do some documentation and write up some scenarios showing how
it 
 all works cross platform at a later date. But for now we need to move into DIP 
 and testing phases to get it polished up and ready for others to use.
I'm really glad you, Rainer, and Nick are taking point on this! Well done!
Jan 01
parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
On 01/01/2024 9:00 PM, Walter Bright wrote:
 I'm really glad you, Rainer, and Nick are taking point on this! Well done!
My hope is that in two releases we will have all the big stuff solved. We gotta move fast, create some excitement, show the world we can be different! It has already influenced Adam Wilson's work on PhobosV3, so to me this is a major turning point for us. To think about distribution first. Not as an after thought. Moving forward I would like to see my DIP implemented first. To ensure any problems (regardless of nature) are solved quickly. Otherwise I'll need to somehow convince Mike to open the queue very soon, only thing left to do is put it into the right format. This is why I asked if you would do it in first message, so that we can help things move at their own pace while still getting to that deadline. I am very excited!
Jan 01