Trust about D programming.
Paulo Pinto
pjmlp at progtools.org
Tue Jan 22 04:20:08 PST 2013
On Tuesday, 22 January 2013 at 11:41:14 UTC, Sergei Nosov wrote:
> On Tuesday, 22 January 2013 at 11:17:32 UTC, MMj wrote:
>> On Tuesday, 22 January 2013 at 10:45:27 UTC, deadalnix wrote:
>>> On Tuesday, 22 January 2013 at 09:27:22 UTC, MMj wrote:
>>>> Hello Folks.
>>>> How are you?
>>>> Excuse me, I need a trust about D programming and C, In your
>>>> opinion D can be a replace for C?
>>>> Why a user should use D?
>>>> Please let me know your opinion.
>>>>
>>>> Thank you.
>>>> Cheers.
>>>
>>> It really depend on what you try to achieve. But in many case
>>> it is a viable alternative. In other, things need to be
>>> ironed out.
>>
>> I saw D wiki and understand some goals about but Can you tell
>> me why you choose D and not C?
>
> From my perspective, D cannot replace C in sense "you can throw
> C away". Well, maybe it could theoretically, but not
> practically.
>
> But the trend is C is becoming more and more a high-level
> assembler. Things like mapping to a register, no hidden costs,
> "you can basically see the assembler when programming in C".
>
This is only true in very simple processor architectures.
In modern optimizing C compilers targeting modern CPUs, C no
longer maps to the hardware as much as many C coders still think
it does.
--
Paulo
More information about the Digitalmars-d
mailing list