The Visual C++ Weekly Vol. 1 Issue 20 (May 14, 2011)

The Visual C++ Weekly Vol. 1 Issue 20 (May 14, 2011)

  • Comments 4

Read in this issue:

  • Boris Jabes: Rock Hard: C++ Evolving
  • Raymond Chen: A function pointer cast is a bug waiting to happen
  • Viva64: How to make fewer errors at the stage of code writing. Part N2
  • ACCU 2011: Scott Meyers on Move Semantics, Perfect Forwarding, and Rvalue references
  • DirectCompute Lecture Series 120: Basics of DirectCompute Application Development
  • CodeProject: INI Reader / Writer Class for MFC and ANSI C++
  • Marius Bancila: Finding Installed Applications with VC++
  • Hi off topic but there is not compiler blog (i didnt find any)

    Will you add support for inline assembly in x64 in vs11 ?

    Both gcc and intel conpiler have that support as far as i know

    Being treated like an idiot who doesn't know what he's doing isnt fun either.

    Yes there are a lot of bad programmers out there (many work at microsoft) but that is not a reason to remove a feature (or a company apparently)

    Removing that feature because its "unsafe" is not a reason to remove it.

    Using Internet explorer is unsafe, using windows is unsafe do you remove them no!

    Driving a car is unsafe, drinking alcohol is unsafe, doing both is very unsafe have anyone removed them no!

    Reconsider, you only hear of the incompetent programmers mistakes because their code breaks and crashes.

    You do not hear of mine and others code because itworks, because it doesnt draw attention to itself, duh!

    Likewise because i hear microsoft and windows are so bad doesn't mean its all bad or should i reconsider that ?

    So come on give us back the power and stop treating us as children!

  • Dear Smith,

    Consider this blog as the official C++ compiler blog (as we don't have different blogs for the IDE and the compiler, just Visual C++ with all its contents). Let me contact people that could answer that question about inline assembly support for x64.

    Best Regards,

    Diego Dagum

    C++ Community PM

  • "So come on give us back the power and stop treating us as children!"

    Should rather be addressed to the Windows Phone and XNA teams ;)

  • I asked our people who had been involved at the time the decision to remove it was taken and the reason wasn’t based on assumptions that developers were going to use it unsafely. We decided not to support inline assembly for x64 because it caused problems with code optimizations, to the point where the resultant optimized + inline code was slower than non-optimized versions.

     While you can’t mix C++ and Assembler in a same source file intended for x64 compilation, your .EXEs and libraries can still include Assembler by using either MASM or  intrinsics, and these are fully supported (for a list of 64-bit intrinsics, please check this document).




Page 1 of 1 (4 items)