|
|
|
|
|
by Ace17
3349 days ago
|
|
> D is just basically C++ with optional garbage collection and better syntax for meta programming, but without the vast Universe of existing C++ libraries to leverage. Phobos, the D standard library, makes C++ standard library look very small.
C++14 standard library still can't do "ls", "execvp", "socket" in a portable way (but we finally got std::thread and std::function!).
Phobos can do all of this, and also haves support for md5, gzip, diff, sort, getopt, json, xml, ... Thus the need for an external library is a lot less likely than it is in C or C++, and you almost never spend time rewrapping native stuff: it's already done by Phobos. And in the end, if you need to use some specialized library, D can call C and C++ functions with zero overhead (I have D projects that use CGAL and SDL). |
|