cse-icons 0 Report post Posted July 1, 2005 hi friends,surprised... was that a type????It is not a type... I know this is a C/C++ programming language forum.. Just wanted to share something I came across today...A new programming language based on C and C++ is being developed.. It would have all the power of C/C++, in other words as the spec says "retains the ability to write high performance code and interface directly with the operating system API's and with hardware."The specification of the language and alpha phase compilers are available at http://www.digitalmars.com/I just browsed throught the spec and felt that it would be informative. I have not read it completely yet nor have I downloaded the compiler. But would love to do that soon...If anyone has time and interest, please do so and share ur views.Also, someone from the Xisto forum could link this thread there.. just for info in case it has not been discussed there...Cheers. Share this post Link to post Share on other sites
philltopia 0 Report post Posted July 3, 2005 Interesting. Will there be a D++?I wonder how it vs Java. Share this post Link to post Share on other sites
dexter 0 Report post Posted July 4, 2005 The name C++ was just a joke because of the '++' operator. D is simply an extension of C++. It handles certain things internally that were added as libraries to C++. For instance, the addition of actual string primitives to the language instead of the <string> class.Doesn't really seem that exciting, nor that useful to code in unless everyone started using it. A language that everyone uses is usually much better than an obscure one with a few extra benefits (and probably it's share of downfalls). Share this post Link to post Share on other sites
cse-icons 0 Report post Posted July 4, 2005 Doesn't really seem that exciting, nor that useful to code in unless everyone started using it. A language that everyone uses is usually much better than an obscure one with a few extra benefits (and probably it's share of downfalls). yeah, It wud be useful only if there is a large community coding and using it. As for extra features... I am not sure it is just adding libraries. For example it does not support multiple inheritance... and may be a few others..moreover.. not all language specifications become popular but such starts do give better idea as to the direction in which they would evolve, what features are desired and so on and so forth...Java. as u know is developed thru the Java Community Process.. actually even u can contribute to Java development. They have laid down process which takes in contributions from developers, fits that in and releases it if it is real good.. So the whole process is not done by an individual but as a group...These discussions are good even for the sake of understanding and sharing ideas...Cheers. Share this post Link to post Share on other sites
dexter 0 Report post Posted July 5, 2005 Not so much making new libraries, but taking libraries from C++ and making them inherent parts of the language. With multiple inheritence, it is generally unused, and was most likely removed for boosting speed a little (I could be wrong about the speed part, though)My problem with the language is that it only tests it's strengths. I want to know what it's weaknesses are.Don't get me wrong though, I love digitalmars' compilers and such. I actually used their C++ one while back because it is impossible to get a 16-bit compiler anywhere else (I was playing with BIOS level programming). Share this post Link to post Share on other sites
Someone 0 Report post Posted July 5, 2005 So it's not from big company? I don't understand how this can be!? D language, funny, but I don't think that people will use it. It's a big unknown to world so we don't need to expect something. I think that c++ is latest and the best language for now, until theyeate one better(borland of microsoft) everyone will use "our" c++ for applications. D language...You can hear everything here....I'm going to create an E language.... Pascal c++ did you hear about it? Share this post Link to post Share on other sites
dexter 0 Report post Posted July 5, 2005 I was looking some more through the specifications and noticed a mention on the one big problem I had with the language. Garbage collection. They themselves admit that it does have it's disadvantages. These problems can make the language unuseable in certain circumstances. But then, every language has that problem.  Garbage collection is not a panacea. There are some downsides:    * It is not predictable when a collection gets run, so the program can arbitrarily pause.   * The time it takes for a collection to run is not bounded. While in practice it is very quick, this cannot be guaranteed.   * All threads other than the collector thread must be halted while the collection is in progress.   * Garbage collectors can keep around some memory that an explicit deallocator would not. In practice, this is not much of an issue since explicit deallocators usually have memory leaks causing them to eventually use far more memory, and because explicit deallocators do not normally return deallocated memory to the operating system anyway, instead just returning it to its own internal pool.   * Garbage collection should be implemented as a basic operating system kernel service. But since they are not, garbage collecting programs must carry around with them the garbage collection implementation. While this can be a shared DLL, it is still there.  Just in response to what you said, Someone...  So it's not from big company?                    I don't understand how this can be!?             D language, funny, but I don't think that people will use it. It's a big unknown to world so we don't need to expect something.                                                                                                              I think that c++ is latest and the best language for now, until theyeate one better(borland of microsoft) everyone will use "our" c++ for applications.                                            D language...You can hear everything here....I'm going to create an E language....                                                                                    Pascal c++ did you hear about it? 157842[/snapback] Borland only creates development tools to my knowledge, and Microsoft only came up with C# (VB and BASIC, I suppose in the old days)... C# essentially being a direct imitation of Java. C++ is definately not the latest language nor the best. While being used by a large portion of the development community, as with C, it definately does not constitute as the best.  For instance, I've discovered that FORTRAN is used widely in universities for simulations and such on the supercomputers because of the languages high speed. Of all languages, FORTRAN is the best for high performance numerical computing. This makes it excellent for use on a system where multiple people are jostling to book time to run their progams.  Out of interest about who came up with C and C++ From the Wikipedia:  The C programming language is a standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX operating system.  Bell Labs' Bjarne Stroustrup developed C++ (originally named "C with Classes") during the 1980s as an enhancement to the C programming language.  I'm done... Feel free to abuse me for any inconsistencies. Share this post Link to post Share on other sites
Someone 0 Report post Posted July 7, 2005 Yes I know.. But now is different...I don't say that C++ is the best. I like pascal, it was my first language but It's stupid that someone create a new language and then say (like in that table or wtf it is ) that is better than c++ and c ... They said that C++ i so much better than c and we know that this is not true. I've seen (in that table) that D lanugage is much better than c++ and c (in fact that has more "things"). If that is true oh great we have the best language so far............. I don't accept it..When people will start using it.... I will....So Until then.... We don't have tutorial for that(Do we?) and there is no Visual D(?) so wait for some time (Yes this was just announcement but...) Share this post Link to post Share on other sites
jibnet 0 Report post Posted June 4, 2006 Hey, I dont know what this company is trying to do. But there is just one thing i know.. and that is C is the best.. its fun..I dont find anything difficult in it. Share this post Link to post Share on other sites
Dark_Prisoner 0 Report post Posted February 26, 2008 It is not so interesting , it is just an extension of the C++ languageAnd i guess that a language that every one understands is better than this one.So i'll keep using c/c++ until the D language become officially the most used language . Share this post Link to post Share on other sites