Re: DConf Online 2020 was a big success!

2020-11-24 Thread Mike Parker via Digitalmars-d-announce
On Monday, 23 November 2020 at 07:39:58 UTC, Walter Bright wrote: Thanks go out to all the people who helped out by asking questions that made the chats interesting and informative. Special thanks go out to our speakers who provided the technical presentations: Seconded. The presentations

Re: sumtype 1.0.0

2020-11-24 Thread Paul Backus via Digitalmars-d-announce
On Wednesday, 25 November 2020 at 00:56:39 UTC, sarn wrote: On Wednesday, 25 November 2020 at 00:20:54 UTC, Paul Backus wrote: The exact memory layout and ABI of SumType is deliberately left unspecified. It's an implementation detail that client code isn't supposed to rely on. If you want to pa

Re: sumtype 1.0.0

2020-11-24 Thread sarn via Digitalmars-d-announce
On Wednesday, 25 November 2020 at 00:20:54 UTC, Paul Backus wrote: The exact memory layout and ABI of SumType is deliberately left unspecified. It's an implementation detail that client code isn't supposed to rely on. If you want to pass a SumType's value to a C function, you will first have to

Re: sumtype 1.0.0

2020-11-24 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Wednesday, 25 November 2020 at 00:20:54 UTC, Paul Backus wrote: The exact memory layout and ABI of SumType is deliberately left unspecified. It's an implementation detail that client code isn't supposed to rely on. If you want to pass a SumType's value to a C function, you will first have

Re: sumtype 1.0.0

2020-11-24 Thread Paul Backus via Digitalmars-d-announce
On Tuesday, 24 November 2020 at 23:02:15 UTC, Dibyendu Majumdar wrote: Thanks - I was suggesting adding a description to the documentation, unless it is already there. Also an ABI specification would be helpful - what happens when a value is passed to a C program. Thanks for the suggestion

Re: sumtype 1.0.0

2020-11-24 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Tuesday, 24 November 2020 at 22:26:34 UTC, Paul Backus wrote: Nice. Is it possible to describe how these types are represented in memory? Anyone who uses unions and wants to use these would want to know whether these types are laid out like unions or not. What is the size of the type - is i

Re: sumtype 1.0.0

2020-11-24 Thread Paul Backus via Digitalmars-d-announce
On Tuesday, 24 November 2020 at 21:52:47 UTC, Dibyendu Majumdar wrote: On Sunday, 15 November 2020 at 20:05:16 UTC, Paul Backus wrote: SumType is a generic discriminated union type for modern D. It is designed to be an improved alternative to `std.variant.Algebraic`. Nice. Is it possible to

Re: sumtype 1.0.0

2020-11-24 Thread Dibyendu Majumdar via Digitalmars-d-announce
On Sunday, 15 November 2020 at 20:05:16 UTC, Paul Backus wrote: SumType is a generic discriminated union type for modern D. It is designed to be an improved alternative to `std.variant.Algebraic`. Nice. Is it possible to describe how these types are represented in memory? Anyone who uses uni

Re: sumtype 1.0.0

2020-11-24 Thread Imperatorn via Digitalmars-d-announce
On Sunday, 15 November 2020 at 20:05:16 UTC, Paul Backus wrote: SumType is a generic discriminated union type for modern D. It is designed to be an improved alternative to `std.variant.Algebraic`. [...] Oh, this is actually useful 🍀

Re: Preparing for Google Summer of Code 2021

2020-11-24 Thread Andre Pany via Digitalmars-d-announce
On Tuesday, 24 November 2020 at 08:12:18 UTC, Jacob Carlborg wrote: On Monday, 23 November 2020 at 13:34:14 UTC, Petar Kirov [ZombineDev] wrote: Thanks, I've just added the gsoc2020 label for these issues. I will ping someone to give you permissions for the repo ;) Shouldn't it be gsoc2021?

Re: DConf Online 2020 was a big success!

2020-11-24 Thread aberba via Digitalmars-d-announce
On Monday, 23 November 2020 at 07:39:58 UTC, Walter Bright wrote: I enjoyed #DConfOnline very much, though I miss seeing everyone in person. [...] D rox The community rox The Conf rox Thanks everyone for making it a success

Re: Preparing for Google Summer of Code 2021

2020-11-24 Thread Jacob Carlborg via Digitalmars-d-announce
On Monday, 23 November 2020 at 13:34:14 UTC, Petar Kirov [ZombineDev] wrote: Thanks, I've just added the gsoc2020 label for these issues. I will ping someone to give you permissions for the repo ;) Shouldn't it be gsoc2021? We're already past GSoC 2020 ;) -- /Jacob Carlborg