Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread Elronnd via Digitalmars-d-announce
On Tuesday, 25 January 2022 at 00:08:54 UTC, H. S. Teoh wrote: This may work for x86, but does it work for other platforms? If not, it won't fly on LDC/GDC. I don't think there's anything wrong with d having its own ABI. But, I checked arm and riscv: both of their c calling conventions have

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 24, 2022 at 10:56:57PM +, Elronnd via Digitalmars-d-announce wrote: > On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote: > > I still believe it should be fairly simple: > > > > https://forum.dlang.org/post/ofc0lj$2u4h$1...@digitalmars.com > > There is a simpler solution:

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread Elronnd via Digitalmars-d-announce
On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote: I still believe it should be fairly simple: https://forum.dlang.org/post/ofc0lj$2u4h$1...@digitalmars.com There is a simpler solution: put the context pointer in rax. This is currently a caller-saved register, so there is no problem

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread ag0aep6g via Digitalmars-d-announce
On 21.01.22 13:55, ag0aep6g wrote: On 21.01.22 13:33, Mike Parker wrote: ### Mathias Mathias would very much like to see the unification of delegates and function pointers. There was general agreement that this is a good goal to aim for. Mathias subsequently informed me he will look into it o

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread ag0aep6g via Digitalmars-d-announce
On 24.01.22 03:11, Mathias LANG wrote: Actually, the idea I had in mind is a little different. Because a delegate is essentially: ```D T function (T, Args..)(void* ctx, Args args) ``` It should be possible for the compiler to generate a call to a trampoline function that just forwards to the ac

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Mathias LANG via Digitalmars-d-announce
On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote: On 21.01.22 13:33, Mike Parker wrote: ### Mathias Mathias would very much like to see the unification of delegates and function pointers. There was general agreement that this is a good goal to aim for. Mathias subsequently informed

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Adam Ruppe via Digitalmars-d-announce
On Sunday, 23 January 2022 at 15:35:17 UTC, Paul Backus wrote: The main benefit of having multiple versions available in separate namespaces is that it allows them to coexist in the same project, which means that users can migrate their code incrementally from one to the other. Yeah, I know t

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Paul Backus via Digitalmars-d-announce
On Sunday, 23 January 2022 at 14:53:21 UTC, Adam Ruppe wrote: On Sunday, 23 January 2022 at 14:33:26 UTC, Paul Backus wrote: Absolutely-no-breakage-ever is basically the C++ approach, and I have already explained why I think it's a bad idea, though I recognize that reasonable people can disagre

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Adam Ruppe via Digitalmars-d-announce
On Sunday, 23 January 2022 at 14:33:26 UTC, Paul Backus wrote: Absolutely-no-breakage-ever is basically the C++ approach, and I have already explained why I think it's a bad idea, though I recognize that reasonable people can disagree on this point. My view is it isn't worth shipping mixed ver

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Paul Backus via Digitalmars-d-announce
On Sunday, 23 January 2022 at 12:54:16 UTC, Adam D Ruppe wrote: I'm not so sure. Isn't the whole point of the versioning thing so you can use old things that haven't kept up with the latest? When it was written, sure, they used import std because that's easy and of course they want the lates

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread zjh via Digitalmars-d-announce
On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: `std.v1, std.v2` We can like this: `std->std2->std`,this is very convenient! or like C++'s `/std:c++latest`.

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread Adam D Ruppe via Digitalmars-d-announce
On Sunday, 23 January 2022 at 04:12:30 UTC, H. S. Teoh wrote: On Sun, Jan 23, 2022 at 03:24:04AM +, Paul Backus via Digitalmars-d-announce wrote: [...] The way I envision it, `std` would be the "rolling release" namespace that allows breaking changes, and if you wanted stability, you'd have

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-23 Thread forkit via Digitalmars-d-announce
On Sunday, 23 January 2022 at 03:24:04 UTC, Paul Backus wrote: The way I envision it, `std` would be the "rolling release" namespace that allows breaking changes, and if you wanted stability, you'd have to explicitly depend on `std.vN`. What we currently call `std` would be renamed to `std.v1

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Jan 23, 2022 at 03:24:04AM +, Paul Backus via Digitalmars-d-announce wrote: [...] > The way I envision it, `std` would be the "rolling release" namespace > that allows breaking changes, and if you wanted stability, you'd have > to explicitly depend on `std.vN`. What we currently call `

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread Paul Backus via Digitalmars-d-announce
On Sunday, 23 January 2022 at 00:07:17 UTC, forkit wrote: On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: (I think it would also be ideal if the namespace `std` were reserved for the latest stable release... wouldn't this prevent breaking changes from being allowed in a new

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread forkit via Digitalmars-d-announce
On Sunday, 23 January 2022 at 00:07:17 UTC, forkit wrote: I'd like to argue, that an introduction of 'phobos versioning' is a good idea, but should not be allowed in D2, but would warrant a D3 release. In D3, std phobos would always be the latest and greatest. By using D3, you agree to th

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread Alexandru Ermicioi via Digitalmars-d-announce
On Saturday, 22 January 2022 at 21:49:11 UTC, H. S. Teoh wrote: Is undead versioned? If Phobos starts innovating again, we may need to keep multiple old versions in undead for old codebases to continue working. T Why multiple old versions? Can't we just have previous implementation stored

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread forkit via Digitalmars-d-announce
On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: (I think it would also be ideal if the namespace `std` were reserved for the latest stable release... wouldn't this prevent breaking changes from being allowed in a newer version of phobos? by using phobos versioning, you're

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 22, 2022 at 05:09:51PM +, Alexandru Ermicioi via Digitalmars-d-announce wrote: > On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: > > On Friday, 21 January 2022 at 12:33:25 UTC, Mike Parker wrote: > > > ### Andrei > > > Andrei brought up std.v2, but this is where me

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread Alexandru Ermicioi via Digitalmars-d-announce
On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: On Friday, 21 January 2022 at 12:33:25 UTC, Mike Parker wrote: ### Andrei Andrei brought up std.v2, but this is where memory fails me. What I do recall is that there was a bit of talk about the std.v2 namespace and how it will li

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-21 Thread Paul Backus via Digitalmars-d-announce
On Friday, 21 January 2022 at 12:33:25 UTC, Mike Parker wrote: ### Andrei Andrei brought up std.v2, but this is where memory fails me. What I do recall is that there was a bit of talk about the std.v2 namespace and how it will live alongside std, and this came up because Robert isn't convinced

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-21 Thread IGotD- via Digitalmars-d-announce
On Friday, 21 January 2022 at 12:33:25 UTC, Mike Parker wrote: ### Adam Adam was unable to fully participate due to an issue with his microphone. He did leave comments in the text chat, and he noted that he was fine this time as an observer. We'll invite him to future meetings when his mic is

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-21 Thread ag0aep6g via Digitalmars-d-announce
On 21.01.22 13:33, Mike Parker wrote: ### Mathias Mathias would very much like to see the unification of delegates and function pointers. There was general agreement that this is a good goal to aim for. Mathias subsequently informed me he will look into it once some other things are off his TO

D Language Quarterly Meeting Summary for January 2021

2022-01-21 Thread Mike Parker via Digitalmars-d-announce
I had a severe case of user error going into our January meeting. I had previously disabled audio input in OBS Studio for a project I was working on. I then forgot to enable it when I recorded the meeting. The text chat in Jitsi Meet, which I always make a point to keep open when recording, pro