digitalmars.D.announce - [OT?] small thumbs up for D in a C++ rant post.
- Leandro Lucarella (18/18) Jun 03 2008 Yossi Kreinin, an ol' time C++ ranter, creator of the site C++ FQA Lite
- Leandro Lucarella (32/32) Jul 20 2008 Here is another thumbs up from Yossi Kreinin to D:
- Walter Bright (2/5) Jul 20 2008 Reddit: http://www.reddit.com/info/6sogx/comments/
Yossi Kreinin, an ol' time C++ ranter, creator of the site C++ FQA Lite (Frequently Questioned Answers), made a post about C sucking less than C++ for OO programming. In the comments it says: "If I didn’t care about interoperability, I’d use D, and if I didn’t care about speed, I’d use a dynamic language." You can take this as a compliment (D is the best language for high performance OO) or as a critisism (D is not interoperable). Make you pick ;) http://www.yosefk.com/blog/oo-c-is-passable.html -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- A veces quisiera ser un avion, para volar como vuelo siendo humano, y no caerme como me caigo.
Jun 03 2008
Here is another thumbs up from Yossi Kreinin to D: http://www.yosefk.com/blog/i-love-globals-or-google-core-dump.html Here is the part when he mentions D: " The program is in D, because of the “instantaneous” bit, and because D is one of the best choices available today if you care about both speed and brevity. Look at this: lowerBound!("a.st_value <= b")(ssyms, addr) does a binary search for addr in the sorted ssyms array. As brief as it gets out of the box with any language and standard library, isn’t it? The string is compiled statically into the instantiation of the lowerBound template; a & b are the arguments of the anonymous function represented by the string. Readable. Short. Fast. Easy to use - garbage-collected array outputs in functions like filter(), error messages to the point - that’s why a decent grammar is a good thing even if you aren’t the compiler writer. Looks a lot like C++, braces, static typing, everything. Thus easy to pimp in a 3GL environment, in particular, a C++ environment. You can download the Digital Mars D compiler for Linux, or wait for C++0x to solve 15% of the problems with <algorithm> by introducing worse problems. By the way, the std.algorithm module, the one with the sort, filter, lowerBound and similar functions, is by Andrei Alexandrescu, of Modern C++ Design fame. How is it possible that his stuff in D is so yummy while his implementation of similar things in C++ is equally icky? Because C++ is to D what proper fixation is to anaesthesia. There, I bet you saw it coming. " -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- He andáu muchos caminos, muchos caminos he andáu, Chile tiene el buen vino y Suecia, el bacalao. Esta'o Unido tiene el hot do', Cuba tiene el mojito, Guatemala, el cornalito y Brasil la feishoada.
Jul 20 2008
Leandro Lucarella wrote:Here is another thumbs up from Yossi Kreinin to D: http://www.yosefk.com/blog/i-love-globals-or-google-core-dump.htmlReddit: http://www.reddit.com/info/6sogx/comments/
Jul 20 2008