Home People Research Blog Courses Links Search Download
NCHC

Blog

Blog 最新文章

  1. Visual Studio 的遠端偵錯:Windows
    2021/03/24 14:45
  2. Visual Studio 2019 16.9 支援使用 OpenMP LLVM
    2021/03/03 13:52
  3. Valve 推出完全支援 OpenXR 的 SteamVR 1.16.8
    2021/02/25 09:43

Blog 最新回應

  1. 加入斜體文字...
    2021/02/07 21:06
  2. 加入斜體文字...
    2021/02/07 21:06
  3. 加入斜體文字...
    2021/02/07 21:06

Keyword 關鍵字

C++11 VR 3D立體 CUDA Python 開放資料 Oculus Rift S 資訊地圖 Vulkan ASUS Xtion OpenVR OpenXR Docker Windows MR OpenCL Java OpenCV Qt Valve Index MR HTC Vive javascript C++17 HTC Vive Focus WebGL Kinect VR 開放資料 GitLab OpenGL Oculus Quest 2 3d print Boost Pandas C++14 Docker OpenMP xml HTC Vive Pro C++ git NiTE2 iFlyover svn Oculus Python HoloLens 2 C++20 OpenNI2 PHP 資料視覺化 C++14 Pandas CubeX OpenNI

類別:技術相關 » 新奇玩意
文章發表|我要回應|RSS訂閱

VisualStudio 2010 SP1 推出∼

微軟推出 Visual Studio 2010 Service Pack 1 的正式版囉!如果有在使用 Visual Studio 2010 的人,可以考慮更新了∼他的下載連結是:下載連結(此為線上安裝版)。而詳細的更新內容,則可以參考《Description of Visual Studio 2010 Service Pack 1 》,由於內容過多,Heresy 在這邊就不詳列了。

而由於 Heresy 本身主要是在用 Visual C ,所以自然就比較關心這方面的變化;這部分可以參考 Visual C Team Blog 的《Visual Studio 2010 Service Pack 1 General Availability》一文。裡面列出了:

C 新的功能

MFC-based 的 GPU 加速圖形與動畫(MFC-based GPU-accelerated graphics and animations)

Visual Studio 2010 SP1 為 MFC 加入了兩項新技術,一個是透過 Direct2D(介紹頁面)來替 2D 的圖形做硬體加速,另一個則是透過 Windows Animation Manager(介紹頁面)來處理動畫的部分。詳細的細節,可以參考《MFC Additions for Visual Studio 2010 SP1》一文。

支援 AMD 和 Intel 新的指令集(New AMD and Intel instruction set support)
針對 Intel 和 AMD 今年新推出的處理器延伸指令集:Intel AVX、AMD Bulldozer instruction sets 做支援,以針對有支援這些指令集的處理器,產生出更有效率的程式。
 

錯誤修正

C 編輯器(Editor)
  • Visual Studio 2010 crashes in a C/C project when hiding or showing all files of solution.
  • Class member auto-completion forces wrong member (case-sensitive).
  • Go to Declaration is slow in some cases.
  • The C Editor may crash when you insert comments.
  • A crash occurs while declaring C enumuneration.
  • Issues occurred in native IntelliSense, such as with indexes and reporting.
  • The NavigateTo method in C occasionally becomes unresponsive.
  • Performance and stability improvements
  • More efficient memory management
  • Other IDE improvements to prevent user interface (UI) freezes and crashes
  • Performance improvement for the F12 (Goto Definition) function key on large projects.
C 編譯器(Compiler)
  • C compiler generates incorrect movups instructions instead of movss instructions.
  • There is a specific problem with the /Og option in the 64-bit version of Visual Studio 2010 Beta 2 compiler.
  • SSE2 instructions are generated when the /arch:SSE option is specified.
  • There are specific problems in the x64 version of the C compiler (optimizer).
  • Destructor calls are missing when optimization is enabled.
  • The compiler crashes with the "decltype(*this)" type specifier.
  • Optimizations and fixes in several code generation areas
  • Managed Incremental Build parity with Visual Studio 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 982721 The Enable Managed Incremental Build property does not exist when you open the Project Properties pages for a Visual C 2010 project.
標準 C 函式庫(Standard C Library)
  • The "vector::erase" constraint returns an incompatible iterator in the debug build.
  • The behavior of the "tr1:regex" constraint differs in Visual Studio 2008 and in Visual Studio 2010 when some regular expressions are used.
  • When you use the “std::vector<std::string>" statement, a memory leak occurs when you run your program.
C Runtime (CRT)
  • MSPDB100.dll is dynamically loaded, but the DLL does not specify a fully qualified path in the CRT.
  • When the the WEOF constant is passed to the "swprintf_s" function, the buffer does not receive a NULL termination.
Microsoft Foundation Classes (MFC) and Active Template Library (ATL)
  • In the CDatabase/Crecordset MFC, the "DoFieldExchange" variable does not work correctly in Visual Studio 2010.
  • Security, performance and other improvements in ATL/MFC.
C Debugging
  • Mixed call stacks are broken when you debug C code.
  • When you try to inspect local variables while you are debugging in Visual Studio 2010, you receive a "CXX0017 "Symbol not found" error message.
  • The Watch window displays incorrect values.

其中在 Heresy 來看,比較重要的一個部分,應該是在於 Visual Studio 本身介面上的效率改進;以前 Heresy 在使用 Visual Studio 2005 的時候,「Goto Definition」這類的功能,速度都相當地快,但是在換到 Visual Studio 2010 後,這類功能的效率,卻大幅地降低,常常一要編輯器找到某段程式、或宣告,就得等上一段時間…而看來微軟也發現有這問題了,所以這次的更新裡,有不少是針對這一個方向的。而在更新到 SP1 後,Heresy 是覺得它的速度雖然還是沒有 Visual Studio 2005 來的快,但是應該是有比 Visual Studio 2010 安裝 SP1 前快上不少了。

另外,在 SP1 也有針對編譯器在 64 位元下最佳化的問題進行修正,而這或許也解決了編譯 64 位元版 Qt 不能開啟最佳化的問題(參考),不過由於要編譯完整個 Qt 要很久的時間,Heresy 還沒有確認過就是了。

張貼者:heresy於2011/03/11 11:20 上午有0則回應,瀏覽次數:2,870次

-- TOP --

我要回應
* 身份  訪客 (暱稱:)
 本篇文章作者 (帳號:密碼:)
* 內容      
很高興 悲傷 震驚 疑惑 大笑 發瘋 傷心
* 留言密碼 (請輸入下方圖片中去除前、後位數的數字,共五碼。)
說明 1. * 表示必填欄位。
2. 不支援HTML Tag。
   

-- TOP --

© Visualization and Interactive Media Laboratory of NCHC, 2007 - 2021, All Rights Reserved. Contact E-mail