3 ms·
Random Fact: I can't help but smile when I read that D's "STL" is called Phobos because of my Doom 2 nostalgia :) Have a nice day, everyone o/
by fb03 8y ago
Random Fact: I can't help but smile when I read that D's "STL" is called Phobos because of my Doom 2 nostalgia :)
Have a nice day, everyone o/
- jordigh 8y agoWell, Walter's company is Digital Mars so that's where he gets his naming scheme from. Nothing to do with Doom except they both are using the same Greco-Roman deity astronomical naming scheme.
- skocznymroczny 8y agoOriginally D was supposed to be named Mars. The stdlib is named Phobos and there is a project called Deimos which is about providing bindings to C libraries.
- vram22 8y agoApropos of D and Phobos, two posts from my blog: Simple parallel processing in D with std.parallelism (it really did speed things up, ~3x (CPU, not I/O), by my unscientific and small test at least): https://jugad2.blogspot.com/2016/12/simple-parallel-processing-in-d-with.html https://jugad2.blogspot.com/2016/12/simple-parallel-processi... D language front-end merged with GCC 9; some sample D programs: https://jugad2.blogspot.com/2018/10/d-language-front-end-merged-with-gcc-9.html https://jugad2.blogspot.com/2018/10/d-language-front-end-mer... Excerpt from the link above, that says what the post is about: "Here are a handful of D programs that use various features of the language and some of its libraries, on my blog. Most of them are simple command-line utilities to do various things. Readers may find them of use to get a flavor of the language and to know some of the kinds of things it can be used for."
- WalterBright 8y agoD's runtime is called Phobos because the language was originally named Mars.
- eco 8y agoI like how main() can still be found in mars.d[1]. 1. https://github.com/dlang/dmd/blob/master/src/dmd/mars.d#L909 https://github.com/dlang/dmd/blob/master/src/dmd/mars.d#L909