logoalt Hacker News

ceteiayesterday at 2:38 PM1 replyview on HN

But then, to use D for performance, would I then have to master both D, C and their interaction? That doesn't seem great. It's like having to learn 2 languages and also how they interact.


Replies

atilanevesyesterday at 5:32 PM

No, you can just write D. It'll have the same performance as C, if you write C-like code. It might have better performance than C if you use templates (just like in C++).

show 1 reply