Is it time for D 3.0?

Steven Schveighoffer schveiguy at gmail.com
Mon Mar 30 22:50:42 UTC 2020


On 3/30/20 6:46 PM, Adam D. Ruppe wrote:
> On Monday, 30 March 2020 at 22:34:32 UTC, H. S. Teoh wrote:
>> Hmm.  Wouldn't this be a problem if changing .receive to @nogc break 
>> existing code that inherits from Socket?
> 
> It technically breaks but it is a trivial fix, I'd be generally OK 
> telling people to deal with it. But if someone has a case where it isn't 
> trivial, well, we'd have to see why.

I could see an example of a SSL socket that allocates a buffer for 
processing the SSL on the first call to receive. Or it needs to extend 
an existing buffer to read more data.

-Steve


More information about the Digitalmars-d mailing list