Live data from Hacker News

How to write good code with C++11

channel9.msdn.com

1–10 of 34 posts

Re: How to write good code with C++11

#4
post #2

I would really like to see Bjarne and Linus debating C++ & C.

Me not really - Linus' critique of C++ had few points that could be rationally debated. A much better researched critique of C++ by Yossi Kreinin is here: http://yosefk.com/c++fqa/

And yeah, I'd much better like to see Kreinin than Linus in a C++ debate.

Re: How to write good code with C++11

#5
post #4
post #2

I would really like to see Bjarne and Linus debating C++ & C.

Me not really - Linus' critique of C++ had few points that could be rationally debated. A much better researched critique of C++ by Yossi Kreinin is here: http://yosefk.com/c++fqa/ And yeah, I'd much better like to see Kreinin than Linus in a C++ debate.

I personally enjoyed reading the FQA, and even learned about some C++ "subtleties" in the process. I note however that the FQA itself has its share of criticism. http://stackoverflow.com/questions/3171647/errors-in-c-fqa

Re: How to write good code with C++11

#6
Off topic - but I got to ask - what's up with Microsoft pushing C++ ? They were pushing .NET then all the sudden it's back to C++ (and JavaScript ?). Check out http://channel9.msdn.com/, 5 out of ~9 videos about C++ on the front page. Meanwhile .NET projects like RX seem to be loosing steam, Silverlight is officially dead.

I switched to JVM/Clojure so I haven't been following .NET/MS developments for the last year in detail, when did this push to native happen ? Even better question - why ? .NET finally got to a point where using C++/legacy was justified in niche areas, now they are pushing it to everything (desktop development with C++/WinRT ?)

They could have picked up Mono after Novell, fund it separately (to avoid legal risks) and establish .NET as a truly cross-platform solution.

Re: How to write good code with C++11

#7

Off topic - but I got to ask - what's up with Microsoft pushing C++ ? They were pushing .NET then all the sudden it's back to C++ (and JavaScript ?). Check out http://channel9.msdn.com/ , 5 out of ~9 videos about C++ on the front page. Meanwhile .NET projects like RX seem to be loosing steam, Silverlight is officially dead. I switched to JVM/Clojure so I haven't been following .NET/MS developments for the last year i…

Hasn't Microsoft been switching technology completely all the time? They do seem incredibly fickle. Does anyone remember Avalon/WPF?

Re: How to write good code with C++11

#8
post #4
post #2

I would really like to see Bjarne and Linus debating C++ & C.

Me not really - Linus' critique of C++ had few points that could be rationally debated. A much better researched critique of C++ by Yossi Kreinin is here: http://yosefk.com/c++fqa/ And yeah, I'd much better like to see Kreinin than Linus in a C++ debate.

Both would be interesting. The FQA is mostly criticizing C++ as compared to Java or C#, while Linus prefers C.

Re: How to write good code with C++11

#9

Off topic - but I got to ask - what's up with Microsoft pushing C++ ? They were pushing .NET then all the sudden it's back to C++ (and JavaScript ?). Check out http://channel9.msdn.com/ , 5 out of ~9 videos about C++ on the front page. Meanwhile .NET projects like RX seem to be loosing steam, Silverlight is officially dead. I switched to JVM/Clojure so I haven't been following .NET/MS developments for the last year i…

I'm not sure that them pushing C++ equates to a switch away from .NET and managed code. What I take from it is that they're keen to foster a rich development eco-system on their platforms and they think that programming language diversity is an important part of this.

As I write this, I realise there is a compelling counter-argument in Apple and Objective-C. So maybe not, I don't know.

Re: How to write good code with C++11

#10

Off topic - but I got to ask - what's up with Microsoft pushing C++ ? They were pushing .NET then all the sudden it's back to C++ (and JavaScript ?). Check out http://channel9.msdn.com/ , 5 out of ~9 videos about C++ on the front page. Meanwhile .NET projects like RX seem to be loosing steam, Silverlight is officially dead. I switched to JVM/Clojure so I haven't been following .NET/MS developments for the last year i…

Erm, Microsoft are massive. They have lots of customers who have vastly differing needs which generally don't compete with each other.

There are a LOT of Windows applications built on C++. Most games and most intensive applications are C++ based.

Their corporate business customers generally use either C# or VB.Net with a large number still supporting legacy applications in Visual Basic.

Their web customers naturally use javascript/css/html for client-side and one of the managed languages server-side.

So it's not surprising to see them pushing three big languages for their big (and very different) markets.

Microsoft have a pretty good record of supporting their own languages. Visual Basic is still in use today dispite it being terrible. C# is very well supported, and they have a pretty good C++ compiler and toolchain.

IronPython, IronRuby, J# etc were all Microsoft's attempts to "play with the cool kids", clones/forks of existing standards. All died the inevitable death when the next fad came along (see F#).

Post reply on HN