News for hackers. Stuff that matters.
Re:Visual Studio 2013 by outside1234 on Monday June 03, 2013 @04:22PM (#5815693)
honest question, is the Windows kernel written in C++? If not, what does that team use to build it if "C is deprecated"?
Re:Visual Studio 2013 by pointyhats on Monday June 03, 2013 @04:35PM (#5815801)
The Windows kernel is C++. From what I've seen (shared source), it's mainly C-style C++ though. I didn't see a single template or a class in my travels.
Re:Visual Studio 2013 by munin on Monday June 03, 2013 @05:32PM (#5816161)
If you read the WRK, ntoskrnl is all C...
Re:Visual Studio 2013 by pjmlp on Monday June 03, 2013 @06:09PM (#5816392)
Or a C++ subset in the near future, if the BUILD 2012 remark is true.
Re:Visual Studio 2013 by malkia on Tuesday June 04, 2013 @01:35AM (#5817903)
and most of all extern "C", possibly no exceptions, no RTTI, no global new/delete, etc. - e.g. "embedded"-C++ like (only guessing).
Re:Visual Studio 2013 by pjmlp on Tuesday June 04, 2013 @02:52AM (#5818046)
Most likely yes.
Re:Visual Studio 2013 by munin on Monday June 03, 2013 @05:33PM (#5816173)
it's in C. as it was explained to me once, the compiler team asked the kernel team if they would be fine fixing C support at C89 and the kernel team said "sure". being the largest and most important consumer of the compiler (at the time, possibly still today) that was that.

the kernel team is also pretty slow to adapt new C compilers and you can see this by watching the lag in compiler versions released in the driver development kit vs those released with visual studio.

Re:Visual Studio 2013 by pjmlp on Monday June 03, 2013 @04:47PM (#5815891)
At Build 2012 it was mentioned that the C code that still exists was being made C++ compatible.

Similar to what GCC did before changing to C++ as implementation language.