May 17, 2022
Thing is, we have had multiple versions being maintained up till now.

Iain has been doing an absolutely wonderful job essentially creating an LTS frontend and we didn't bother ship a LTS version of dmd.

We discussed this last night on Discord, and I made this very point. If he says we can do it, then we can do it. He has the experience for it.
May 17, 2022
On Tuesday, 17 May 2022 at 05:37:20 UTC, StarCanopy wrote:
>
> Then fund it, or if you have insufficient monetary resources to effect anything substantial, assist in organizing a group to sponsor libraries written in D. That is, if you truly want to achieve your goals.
>
> P.S. While I often apply @safe at module-level, the GC and bounds-checking already accomplish a lot by themselves in my experience.

I think advancing my goals towards safer programming practices, can best be achieved by encouraging programmers to 'opt out' of safe, rather than 'opt in' to safe.

Until @safe is default in D (if ever), this can be accomplished right now, by everyone making the first line in every module they create, to be -> @safe:

Now. They have to make a conscious decision to 'opt out' of @safe. And now, they become responsible for the consequences.

At the moment, since @safe is not default, D is responsible for the consequences ;-)

May 17, 2022

On Tuesday, 17 May 2022 at 07:06:47 UTC, rikki cattermole wrote:

>

Iain has been doing an absolutely wonderful job essentially creating an LTS frontend and we didn't bother ship a LTS version of dmd.

Do you mean that the 2.076 frontend from GDC 9/10/11 can be essentially treated as a D language "edition 2017"? I actually like the idea, even though I can see a few challenges that can make everything a bit complicated.

May 18, 2022
On 18/05/2022 12:41 AM, Siarhei Siamashka wrote:
> On Tuesday, 17 May 2022 at 07:06:47 UTC, rikki cattermole wrote:
>> Iain has been doing an absolutely wonderful job essentially creating an LTS frontend and we didn't bother ship a LTS version of dmd.
> 
> Do you mean that the 2.076 frontend from GDC 9/10/11 can be essentially treated as a D language "edition 2017"? I actually like the idea, even though I can see a few challenges that can make everything a bit complicated.

Could have been yes. I wouldn't suggest that we do it now though.
May 17, 2022

On Tuesday, 17 May 2022 at 12:42:42 UTC, rikki cattermole wrote:

>

Could have been yes. I wouldn't suggest that we do it now though.

Why not?

But first it would be very interesting to check what percentage of packages from https://code.dlang.org/ can be still successfully compiled using the old 2.076 frontend versus the percentage of packages that can be compiled using the most recent 2.100 frontend. And maybe some frontend versions in between. This kind of statistics is necessary before making any commitments.

May 17, 2022
On Thursday, 5 May 2022 at 23:06:26 UTC, Walter Bright wrote:
>
> Surely you can see that there must have been SOME difference there, even if it was just perception.

I grant you that D packaged the concept neatly, so there is a practical difference.

>
> It was D that changed that perception. Suddenly, native languages started implementing CTFE.

Looks like I'm not getting my well-deserved beer. ((

May 17, 2022

On Tuesday, 17 May 2022 at 05:22:57 UTC, Paulo Pinto wrote:

>

On Tuesday, 17 May 2022 at 04:34:16 UTC, max haughton wrote:

>

On Tuesday, 17 May 2022 at 02:43:31 UTC, Ola Fosheim Grøstad wrote:

>

[...]

Other than memory safety rust doesn't have all that many virtues beyond any other language for guaranteeing correctness.

Ada remains the top dog for properly critical software. SPARK still does not have many proper challengers in the space.

Those who care for Ada, or correctness, are also interested into bringing Rust into the game,

https://blog.adacore.com/adacore-and-ferrous-systems-joining-forces-to-support-rust

https://www.autosar.org/news-events/details/autosar-investigates-how-the-programming-language-rust-could-be-applied-in-adaptive-platform-context/

I'm not surprised, but I also think Rust has a long way to go to really compete on technical grounds with at least some aspects of Ada

Whether rust is useful or not depends on whether the program has to actually allocate memory or not.

May 17, 2022

On Tuesday, 17 May 2022 at 14:46:41 UTC, max haughton wrote:

>

On Tuesday, 17 May 2022 at 05:22:57 UTC, Paulo Pinto wrote:

>

On Tuesday, 17 May 2022 at 04:34:16 UTC, max haughton wrote:

>

On Tuesday, 17 May 2022 at 02:43:31 UTC, Ola Fosheim Grøstad wrote:

>

[...]

Other than memory safety rust doesn't have all that many virtues beyond any other language for guaranteeing correctness.

Ada remains the top dog for properly critical software. SPARK still does not have many proper challengers in the space.

Those who care for Ada, or correctness, are also interested into bringing Rust into the game,

https://blog.adacore.com/adacore-and-ferrous-systems-joining-forces-to-support-rust

https://www.autosar.org/news-events/details/autosar-investigates-how-the-programming-language-rust-could-be-applied-in-adaptive-platform-context/

I'm not surprised, but I also think Rust has a long way to go to really compete on technical grounds with at least some aspects of Ada

Whether rust is useful or not depends on whether the program has to actually allocate memory or not.

It certainly does have to a lot to catch up with SPARK, and NVidia has chosen Ada instead of Rust exactly because of that, yet there is money being thrown out at the problem, and standard organizations interested into making it happen.

It won't be there today, but it will eventually, because they have one specific answer to "what you use X for".

May 17, 2022
On 5/16/2022 11:26 PM, Siarhei Siamashka wrote:
> Walter is very much hyped about ImportC. But his solution needs to be objectively compared to the other existing solutions, rather than pretending that it's a unique groundbreaking innovation which will finally make D language popular.

It's conceptually equivalent to C++ being able to #include C files. I was in the business when C++ came out, and am pretty certain this was crucial to C++'s early adoption success. ImportC cannot be as as good as that (preprocessor issues), but it's closer than any of the other solutions I've seen.

For another language doing the same thing, see Kotlin, which can seamlessly interact with Java, and this has been crucial to Kotlin's adoption.

How is ImportC unique? No other solution I've seen is as simple as:

    import mycfile;

These things matter.


Feel free to compare ImportC with other existing solutions, and post your results!

Note that ImportC can inline C functions, and ImportC code can import D code and access D constructs. Who else does that? (Not even C++! Maybe Kotlin can.)
May 17, 2022
On 5/17/2022 6:41 AM, Max Samukha wrote:
> Looks like I'm not getting my well-deserved beer. ((


If you come to DConf, you'll get a beer from me regardless!