Why is D unpopular?

forkit forkit at gmail.com
Sun May 15 06:18:58 UTC 2022


On Sunday, 15 May 2022 at 03:52:28 UTC, Mike Parker wrote:
> On Sunday, 15 May 2022 at 03:02:24 UTC, forkit wrote:
>
>>
>> Integrating a library whose code you're not well versed in, 
>> seems like a recipe for disaster.
>>
>
> Then how do you ever use any libraries?

Getting it wrong in software has always had consequences, 
sometimes really bad consequences. But since software now 
operates in entirely new spheres that affect all aspects of our 
life and economy, developers have a wider obligation that just 
stitching together software so that it works.

Structured higher-level languages is where we need to be moving 
towards, not moving backwards to low-level languages like C.

Also, operating systems of the (near) future will require safety 
guarantees from the software that is intended to run on that 
operating system. C is not a language that facilitates this.

I understand the appeal of making it easier to use C libraries in 
a otherwise D solution. But that does not progress or advance the 
nature of software development, and the responsibility 
programmers have to their clients.

I was (initially) attracted to D because of how it advanced the 
problem of writing safe code (particulary @safe). This is what 
would make D 'popular'.

But ImportC is short-sighted in my opinion, and is a step in the 
opposite direction.

The focus should instead be on @safe, not C.




More information about the Digitalmars-d mailing list