Re: Moving druntime into the DMD repository

2018-07-31 Thread Mike Franklin via Digitalmars-d
On Tuesday, 31 July 2018 at 19:54:20 UTC, Steven Schveighoffer wrote: If anything makes sense, it would be to remove the compiler-dependencies out of druntime into a smaller runtime library that is included in the dmd project. Most of druntime is dependencies for the platform, not the

Re: Moving druntime into the DMD repository

2018-07-31 Thread Walter Bright via Digitalmars-d
On 7/31/2018 11:24 AM, Walter Bright wrote: On 7/27/2018 4:03 AM, Seb wrote: This a thread to explore whether it would be feasible to do so. Since DMD and Druntime require each other, it is the right thing to do. Perhaps my judgement is premature. There are a lot of good points raised in

Re: Moving druntime into the DMD repository

2018-07-31 Thread rikki cattermole via Digitalmars-d
On 01/08/2018 12:07 PM, Seb wrote: On Tuesday, 31 July 2018 at 19:54:20 UTC, Steven Schveighoffer wrote: If anything makes sense, it would be to remove the compiler-dependencies out of druntime into a smaller runtime library that is included in the dmd project. Most of druntime is

Re: Moving druntime into the DMD repository

2018-07-31 Thread Seb via Digitalmars-d
On Tuesday, 31 July 2018 at 19:54:20 UTC, Steven Schveighoffer wrote: If anything makes sense, it would be to remove the compiler-dependencies out of druntime into a smaller runtime library that is included in the dmd project. Most of druntime is dependencies for the platform, not the

Re: Moving druntime into the DMD repository

2018-07-31 Thread Steven Schveighoffer via Digitalmars-d
On 7/31/18 4:48 PM, Seb wrote: On Tuesday, 31 July 2018 at 19:54:20 UTC, Steven Schveighoffer wrote: On 7/31/18 2:24 PM, Walter Bright wrote: Since DMD and Druntime require each other, it is the right thing to do. I think this is an incorrect relationship. DMD does NOT require Druntime,

Re: Moving druntime into the DMD repository

2018-07-31 Thread Seb via Digitalmars-d
On Tuesday, 31 July 2018 at 19:54:20 UTC, Steven Schveighoffer wrote: On 7/31/18 2:24 PM, Walter Bright wrote: Since DMD and Druntime require each other, it is the right thing to do. I think this is an incorrect relationship. DMD does NOT require Druntime, *testing* DMD requires Druntime.

Re: Moving druntime into the DMD repository

2018-07-31 Thread Steven Schveighoffer via Digitalmars-d
On 7/31/18 2:24 PM, Walter Bright wrote: On 7/27/2018 4:03 AM, Seb wrote: This a thread to explore whether it would be feasible to do so. Since DMD and Druntime require each other, it is the right thing to do. I think this is an incorrect relationship. DMD does NOT require Druntime,

Re: Moving druntime into the DMD repository

2018-07-31 Thread Radu via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: This a thread to explore whether it would be feasible to do so. Motivation -- [...] Druntime is not exclusively DMD. For example when porting to other platforms or cruntimes is already hard because of the sync and merge you need

Re: Moving druntime into the DMD repository

2018-07-31 Thread Walter Bright via Digitalmars-d
On 7/27/2018 4:03 AM, Seb wrote: This a thread to explore whether it would be feasible to do so. Since DMD and Druntime require each other, it is the right thing to do.

Re: Moving druntime into the DMD repository

2018-07-31 Thread Jacob Carlborg via Digitalmars-d
On 2018-07-27 13:03, Seb wrote: This a thread to explore whether it would be feasible to do so. Motivation -- DRuntime and DMD heavily depend on each other. It happens very often that a PR needs to touch both and then a complicated three-step (or sometimes four-step PR series) needs

Re: Moving druntime into the DMD repository

2018-07-30 Thread RazvanN via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: This a thread to explore whether it would be feasible to do so. From my experience, whenever a change in dmd required a change in druntime the protocol was pretty straightforward and not at all annoying: -> you make the dmd PR and it

Re: Moving druntime into the DMD repository

2018-07-29 Thread Anton Fediushin via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: This a thread to explore whether it would be feasible to do so. [...] What do you think? -- - Has the dmd/druntime split being annoying you too? I'm not familiar with contributing to the dmd/druntime, but having druntime

Re: Moving druntime into the DMD repository

2018-07-29 Thread Seb via Digitalmars-d
On Friday, 27 July 2018 at 11:25:37 UTC, Mike Franklin wrote: On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: - Do you have a better suggestion? Do we have a rich enough CI API to recognize dependencies between repositories? For example, if I create a local branch in my dmd repository

Re: Moving druntime into the DMD repository

2018-07-27 Thread Jonathan M Davis via Digitalmars-d
On Friday, July 27, 2018 6:28:07 AM MDT Seb via Digitalmars-d wrote: > On Friday, 27 July 2018 at 12:04:18 UTC, Jonathan M Davis wrote: > > On Friday, July 27, 2018 5:03:50 AM MDT Seb via Digitalmars-d > > > > wrote: > >> What do you think? > >> -- > >> > >> - Has the dmd/druntime

Re: Moving druntime into the DMD repository

2018-07-27 Thread Steven Schveighoffer via Digitalmars-d
On 7/27/18 7:03 AM, Seb wrote: This a thread to explore whether it would be feasible to do so. Motivation -- DRuntime and DMD heavily depend on each other. It happens very often that a PR needs to touch both and then a complicated three-step (or sometimes four-step PR series) needs

Re: Moving druntime into the DMD repository

2018-07-27 Thread Joakim via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: This a thread to explore whether it would be feasible to do so. Motivation -- [...] Not much. - Do you have a better suggestion? No. - Would this break your workflow in a drastic way? No, don't really use the official repos

Re: Moving druntime into the DMD repository

2018-07-27 Thread Stefan Koch via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: This a thread to explore whether it would be feasible to do so. What do you think? -- One is a compiler the other is a (optional!) library. merging the two means forcing druntime onto people who want to use dmd. the

Re: Moving druntime into the DMD repository

2018-07-27 Thread John Colvin via Digitalmars-d
On Friday, 27 July 2018 at 12:04:18 UTC, Jonathan M Davis wrote: On Friday, July 27, 2018 5:03:50 AM MDT Seb via Digitalmars-d wrote: What do you think? -- - Has the dmd/druntime split being annoying you too? - Do you have a better suggestion? - Would this break your workflow

Re: Moving druntime into the DMD repository

2018-07-27 Thread Seb via Digitalmars-d
On Friday, 27 July 2018 at 12:02:50 UTC, Russel Winder wrote: On Fri, 2018-07-27 at 11:03 +, Seb via Digitalmars-d wrote: This a thread to explore whether it would be feasible to do so. Motivation -- DRuntime and DMD heavily depend on each other. But DMD is only one of the

Re: Moving druntime into the DMD repository

2018-07-27 Thread Seb via Digitalmars-d
On Friday, 27 July 2018 at 12:04:18 UTC, Jonathan M Davis wrote: On Friday, July 27, 2018 5:03:50 AM MDT Seb via Digitalmars-d wrote: What do you think? -- - Has the dmd/druntime split being annoying you too? - Do you have a better suggestion? - Would this break your workflow

Re: Moving druntime into the DMD repository

2018-07-27 Thread rikki cattermole via Digitalmars-d
+1 leave it

Re: Moving druntime into the DMD repository

2018-07-27 Thread Jonathan M Davis via Digitalmars-d
On Friday, July 27, 2018 5:03:50 AM MDT Seb via Digitalmars-d wrote: > What do you think? > -- > > - Has the dmd/druntime split being annoying you too? > - Do you have a better suggestion? > - Would this break your workflow in a drastic way? It would break all existing tools and

Re: Moving druntime into the DMD repository

2018-07-27 Thread Russel Winder via Digitalmars-d
On Fri, 2018-07-27 at 11:03 +, Seb via Digitalmars-d wrote: > This a thread to explore whether it would be feasible to do so. > > Motivation > -- > > DRuntime and DMD heavily depend on each other. > But DMD is only one of the compilers, there is LDC and GDC. Is Druntime unique to

Re: Moving druntime into the DMD repository

2018-07-27 Thread Iain Buclaw via Digitalmars-d
On 27 July 2018 at 13:32, Mike Franklin via Digitalmars-d wrote: > On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: > >> What do you think? >> -- > > > Also, is there any other compelling reasons besides the test dependency > problem to motivate merging the two repositories?

Re: Moving druntime into the DMD repository

2018-07-27 Thread Mike Franklin via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: What do you think? -- Also, is there any other compelling reasons besides the test dependency problem to motivate merging the two repositories? What other benefits would it provide, if any? Mike

Re: Moving druntime into the DMD repository

2018-07-27 Thread Mike Franklin via Digitalmars-d
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote: - Do you have a better suggestion? Do we have a rich enough CI API to recognize dependencies between repositories? For example, if I create a local branch in my dmd repository named `fix_bug` and a local branch in my druntime repository

Moving druntime into the DMD repository

2018-07-27 Thread Seb via Digitalmars-d
This a thread to explore whether it would be feasible to do so. Motivation -- DRuntime and DMD heavily depend on each other. It happens very often that a PR needs to touch both and then a complicated three-step (or sometimes four-step PR series) needs to be done to keep the CIs