May 19, 2023

On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:

>

I think theres room for a build tool that mostly gathers up strings to concat a "dmd -i" command and downloads from code.dlang.org

My build script was 100 lines long but I dont understand getting things to compile for windows and wasnt about to set up a windows machine to fix it for windows.

Maybe someone offical-y should take a survey of people who hate dub?

May 19, 2023

On Friday, 19 May 2023 at 14:28:38 UTC, Adam D Ruppe wrote:

>

On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:

>

Eventually I hope to make just dmd -i dmd/mars.d work, I'll see how close I can get to that.

dmd -i is heaven. I, without a doubt, place it as the most significant addition to the D ecosystem of the last six years (probably more if I extended the audit)

I've deleted so many convoluted builds in favor of it and always seen wins.

I still remember the first time you told me to "just use -i", i first didn't understand

I gave it an other try when months later i was annoyed with "platform dependent modules", and you again told me to "just use -i", and yeah it's as simple as just using -i

The thing that confused me was [=pattern], you don't need any pattern, just -i

https://dlang.org/dmd-linux.html#switch-i[

But yeah, i now "just use -i" and it greatly simplified all my build scripts and modules, what's not imported is simply just not compiled

It should be the default behavior imo

May 19, 2023

On Friday, 19 May 2023 at 16:42:45 UTC, max haughton wrote:

>

The makefiles were a complete mess

The make files for posix weren't that bad, they could be improved

>

on windows due to the ambiguity between digital mars and msvc make

Yes these were awful, Digital Mars Make shouldn't be used at all...

>

Not against removing build.d in principle though, just keep in mind you have to replace 100% of the functionality.

build.d is cool but very complex to manage for those who don't know it, while the makefiles (at least the posix ones) are much clearer without needing to know anything

May 19, 2023

On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:

>

Eventually I hope to make just dmd -i dmd/mars.d work, I'll see how close I can get to that.

It's now down to this!

dmd -i dmd/mars.d -of=../../dmd dmd/eh.d -Jdmd/res -J../..
May 19, 2023

On Friday, 19 May 2023 at 20:30:12 UTC, Dennis wrote:

>

On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:

>

Eventually I hope to make just dmd -i dmd/mars.d work, I'll see how close I can get to that.

It's now down to this!

dmd -i dmd/mars.d -of=../../dmd dmd/eh.d -Jdmd/res -J../..

I think we should try to remove the import files which are definitely baggage, VERSION and SYSCONFDIR.imp could be converted to a auto-generated .D with a enum inside

May 19, 2023

On Friday, 19 May 2023 at 20:30:12 UTC, Dennis wrote:

>

On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:

>

Eventually I hope to make just dmd -i dmd/mars.d work, I'll see how close I can get to that.

It's now down to this!

dmd -i dmd/mars.d -of=../../dmd dmd/eh.d -Jdmd/res -J../..
>

eh.d

Ah yes, dmd's stupid tree structure comes back to haunt...

Practically its probably going to be built from a higher directory than src/ so -I may have to be present.

May 19, 2023
On Friday, 19 May 2023 at 14:28:38 UTC, Adam D Ruppe wrote:
> On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:
>> Eventually I hope to make just `dmd -i dmd/mars.d` work, I'll see how close I can get to that.
>
>
> dmd -i is heaven. I, without a doubt, place it as the most significant addition to the D ecosystem of the last six years (probably more if I extended the audit)
>
> I've deleted so many convoluted builds in favor of it and always seen wins.

That means alot coming from you Adam, Thanks!

I went back and looked at the forum discussion where I initially proposed this feature, then the following PR to implement it: https://github.com/dlang/dmd/pull/7099

That PR has around 400 comments, some deleted as there were some high emotions in there :) It's interesting to go back and see what you did 6 years ago. I'm glad to say I've learned a little more "tact" since then.

May 20, 2023
On Friday, 19 May 2023 at 22:53:20 UTC, Jonathan Marler wrote:
> That means alot coming from you Adam, Thanks!

Oh, I like a lot of the stuff you did. I kinda wish your interpolation thing got in too, it is still the base of my current preferred scheme.

> That PR has around 400 comments, some deleted as there were some high emotions in there :) It's interesting to go back and see what you did 6 years ago. I'm glad to say I've learned a little more "tact" since then.

I remember it as it happened, it is a pity how things ended up between you and D, an unforced error from them.
1 2
Next ›   Last »