October 21st, 2007, 3:11 pm
QuoteOriginally posted by: Traden4AlphaQuoteOriginally posted by: Y0daHowever, I really like C# and use it at work with mycolleagues. Because it is so damn easy to use comparedto other languages. One can focus on ideas and thenjust code them; not having to worry about how to dothe coding, or worrying about shit like garbage collection.This is why I would fear for the future of C++. To the extent that a language increases programmer productivity by hiding administrative details (e.g. garbage collection) is the extent that that language will become favored for a broad class of development projects..I disagree. Memory management is not administration, it is an essential developer activity. For some applications, we cannot leave garbage collection to the compiler (because it is too unpredictable) and the developer _must_ have explicit control over memory.QuoteThe other unknown issue is how the rise of multicore computing will affect language choice. Will there be new or modified languages, IDEs, and compliers that naturally help the programmer create parallel code for multiple cores? I think it will push C++ even more to the forefront (OpenMP, MPI). Of course, C# and Java will probably remain popular.QuoteTo the extent that the development environment can guide/make smart choices about hosting or partitioning an application on variable numbers of cores is the extent that programmers will be able to do HPC without knowing much about HPC. It would be nice, but I do not see it happening soon. It's just too difficult at the moment.QuoteIsn't the whole point of garbage collection that you don't have to worry about it?Of course, but as long as the developer is in control!In C++, memory mgt. woes can be allievated a bit with1. Good design, Builder and Object Pool patterns2. Boost shared pointers
Last edited by
Cuchulainn on October 20th, 2007, 10:00 pm, edited 1 time in total.