Daily downloads in decline

Dennis Ritchie via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 11 06:06:47 PDT 2015


On Thursday, 11 June 2015 at 08:54:54 UTC, Marc Schütz wrote:
> On Wednesday, 10 June 2015 at 22:01:22 UTC, Dennis Ritchie 
> wrote:
>> No bounds checking of arrays.
>
> Huh? Whatever gave you that impression?

Oops. It turns out that bounds checking is really there. But I 
think that before this really was not in Rust. Or I'm wrong?

>> Well, if Rust created for huge projects, why these macros? I 
>> fear that macros are simply not needed in C-family languages.
>> The macros help in D? Write unbearable code? :D
>
> They're a lot cleaner than C's macros. AFAIK, Rust's writef() 
> equivalent is implemented with them.

And yet I'm not sure that they really need, for easily emulated 
by using mixins.
http://forum.dlang.org/thread/jvaizdvgzwqqpxqjiton@beta.forum.dlang.org

Can anybody give an example of macros Rust which cannot be 
emulated by using mixins?


More information about the Digitalmars-d mailing list