October 25, 2021

On Monday, 25 October 2021 at 08:14:36 UTC, Kagamin wrote:

>

On Saturday, 23 October 2021 at 11:24:42 UTC, SealabJaster wrote:

>

I just don't see the point of using it for anything above systems programming, since a GC gives similar memory guarantees while being much easier to work with.

I do system programming with D. Ironically, system programming has trivial memory management, so rust doesn't really have much to show there, in fact it's bloated business applications like a browser where you might need a complex memory management system.

mmh what about the big headlines everywhere when there was that thing made in rust for the linux kernel.

October 25, 2021

On Monday, 25 October 2021 at 09:26:16 UTC, user1234 wrote:

> >

I do system programming with D. Ironically, system programming has trivial memory management, so rust doesn't really have much to show there, in fact it's bloated business applications like a browser where you might need a complex memory management system.

mmh what about the big headlines everywhere when there was that thing made in rust for the linux kernel.

AFAIK rust has bound checking, which is nice to have in system programming. It can be done in C too, but for some reason they chose to introduce a new language than change the C tradition. Granted, when bound checking is built into the language, it becomes more useful.

October 25, 2021

On Monday, 25 October 2021 at 09:35:52 UTC, Kagamin wrote:

>

On Monday, 25 October 2021 at 09:26:16 UTC, user1234 wrote:

> >

I do system programming with D. Ironically, system programming has trivial memory management, so rust doesn't really have much to show there, in fact it's bloated business applications like a browser where you might need a complex memory management system.

mmh what about the big headlines everywhere when there was that thing made in rust for the linux kernel.

AFAIK rust has bound checking, which is nice to have in system programming. It can be done in C too, but for some reason they chose to introduce a new language than change the C tradition. Granted, when bound checking is built into the language, it becomes more useful.

it was only about that ? so "space safety" ?

October 25, 2021

On Monday, 25 October 2021 at 09:51:56 UTC, user1234 wrote:

>

it was only about that ? so "space safety" ?

I suppose it gets lifetimes correctly too.

October 26, 2021

On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code wrote:

>

Just would like to know you all opinions

Rust wasn't really that popular or stable when I first discovered D and started using it.

By the time I discovered Rust, my D journey had already begun and I've yet to find a reason to discard D, even tho it's like a decade since I first began using it now.

I have used Rust however and I'm not against using it but I'm not going to replace D.

Rust is a tool, just like D is and each serves a different purpose.

I like D because I can quickly prototype an application, can't say the same for Rust.

October 26, 2021
On Saturday, 23 October 2021 at 11:17:10 UTC, Adam D Ruppe wrote:
> On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code wrote:
>> Just would like to know you all opinions
>
> D has GC which is a proven success in the real world in getting stuff done.

I wouldn't use D if it didn't have a GC. It all depends on what you're doing, and for me, Rust brings nothing useful to the table.
October 29, 2021

On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code wrote:

>

Just would like to know you all opinions

In 2006, I set out to learn as many programming languages as I could so I would always be able to pick the best one. I had a notebook and kept notes about each one. I think I got through 56 languages before I realized D checked all my boxes and I just gave up.

I have been using D off and on since then. I am not an expert because I don't use it at work and I don't program as a hobby as much as I used to, but even still, I have never run into a problem I could not solve elegantly with the D language. That's a pretty good endorsement. When it comes to technology, I complain a lot! When I'm looking for a language for a side project, I always start with D.

I can't imagine Rust solves a problem that I have and if it did, it wouldn't solve any of my other problems better than D. The syntax reminds me of everything I don't like about C++, while the rules remind me of everything I didn't like about Scala.

As someone who has worked in multiple languages professionally and explored many languages personally, I believe D to be the all-around best programming language available. With a little help in the library and stability departments, it could rival C# and Java for productivity. With more specific tutorials and documentation, it could start making inroads professionally as well.

October 29, 2021

On Friday, 29 October 2021 at 07:19:18 UTC, harakim wrote:

>

On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code

Hopes D can get better and better.

October 29, 2021

On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code wrote:

>

Just would like to know you all opinions

By far the most important reason is foreign syntax. This create a giant barrier for no good reason.

On the other hand, you can present D code to a decent dev who never used D and they'll be able to make sense of it.

October 29, 2021

On Friday, 29 October 2021 at 07:19:18 UTC, harakim wrote:

>

On Saturday, 23 October 2021 at 04:25:21 UTC, Dr Machine Code wrote:

>

[...]

In 2006, I set out to learn as many programming languages as I could so I would always be able to pick the best one. I had a notebook and kept notes about each one. I think I got through 56 languages before I realized D checked all my boxes and I just gave up.

[...]

That's exactly my journey. If D could just get a bit more tidy (reduce attributes etc) and improve the ecosystem, it would be perfect.