D as a C Replacement
rikki cattermole
rikki at cattermole.co.nz
Wed Feb 5 08:26:08 UTC 2020
On 05/02/2020 8:51 PM, JN wrote:
> On Wednesday, 5 February 2020 at 04:31:21 UTC, Walter Bright wrote:
>> https://www.reddit.com/r/programming/comments/eyzrm9/d_as_a_c_replacement_the_art_of_machinery/
>>
>> https://theartofmachinery.com/2019/04/05/d_as_c_replacement.html
>
> It's a pity associative arrays aren't part of betterC. I was considering
> starting a new project in betterC, because I was looking for something
> like C with some additional nice haves, but without assoc arrays for me
> betterC still occupies that weird spot where it's not enough over C and
> too much below D.
It makes sense. AA's are still a data structure that has been hand written.
It needs an implementation. It needs a runtime to make them work.
You can't get them for free.
But what you do get is safety features and operator overloading to make
your usage of an implementation very nice to use compared to C.
More information about the Digitalmars-d-announce
mailing list