|
|
|
|
|
by ori_b
3803 days ago
|
|
Funny you should ask. The project I'm on at work is written in D, and actually had Andrei working on it at one point. The two languages are very different. D feels very much like an attempt to resolve the warts of C++ and extend its strengths, and it does a good job of that. If you like C++, you'll probably like D, although in many ways I feel that it has an immature implementation. (That's a rant for a different time, and it's not like Myrddin is more mature.) Myrddin is going in a different direction, I think. It's far simpler than D. The best example of this is probably generics, where in D, they're seen as an opportunity to do complex metaprogramming on types, and idiomatic D uses generics. In Myrddin, they mean that your function is not allowed to care at all about types. If you like both C and the ML family of languages, I think there's a good chance you'll like Myrddin. |
|