Add ImportC compiler to dmd

Igor Shirkalin isemsoft at gmail.com
Wed May 12 11:39:33 UTC 2021


On Wednesday, 12 May 2021 at 09:24:05 UTC, xBuzz wrote:
> On Sunday, 9 May 2021 at 20:57:06 UTC, Walter Bright wrote:
>> https://github.com/dlang/dmd/pull/12507
>>
>> If you could add a C compiler to dmd with 3000 lines of code, 
>> so C code could be imported directly? I would!
>
> I'm gonna say something you don't like. I know everyone 
> (including myself) hates such kind of posts. I'm sorry in 
> advance, I simply don't have an idea how to make you realize 
> that the current way of the language evolution leads to 
> nowhere. Of course, it's your project and not my business. No 
> one owes anyone anything, but if you continue to spread 
> resources on something other than fixing what you already have, 
> I doubt dlang will get more popularity. Nobody wants to invest
New things are always not optimal if we talk about human 
rssources. At least it is the problem of thouse humans, who spend 
their resources.

> time/money to build their project based on a broken foundation. 
> Look at the language. It's not consistent. It's just a bunch of 
> features coupled together, part of them don't even work as 
> designed. "shared", "scope", properties, even the 
> initialization of associative arrays aren't finished (and this 
> is just the tip of the iceberg). I've been following these
Are you really exaggerating.There are deep problems, but you 
should never panic.

> forums for years, trying dlang again and again. Many question 
> threads end with advent of Jonathan M Davis (I really 
> appreciate it) stating a fact that "sadly, it's not 
> implemented/fixed yet". Look at changelogs of dmd. Bugfixes,
I do really appreciate it too.

> deprecations and virtually no language improvements/fixes. 
> There are many issues in existing functionality and nobody 
> cares to do something with it. Of course it's much more
Are you ready to care about it?

> entertaining to play with integration of a C compiler, rather 
> than do a hard work of trying to eliminate broken/unfinished 
> things. Is there a roadmap with planned 
> features/fixes/improvements for each milestone? You don't plan
To my mind, the support of C is what should be done 10 or more 
years ago. I'd not stop on the latest C ISO, I'd add more featurs 
from C++.

> features/improvements for upcoming releases? It's been many 
> years of stagnation, maybe it's time to finally start working 
> on getting a solid core language?
> I know, I know... Who am I to criticize you, right? I've done 
> nothing and you've created a valuable project. I just hope you
You're talking about what most people think.

> won't bury the fruit of your many years of hard work and I 
> sincerely wish you a good luck!

Everyone should do the best of him.




More information about the Digitalmars-d mailing list