[心得] Visual Studio 2010 試用
前陣子就拿到VS 2010的beta測試版, 但一直沒機會使用
今天剛好趁著NB換硬碟重灌整個OS, 就一口氣上了VS 2010
首先, 與VS 2008相比, J#被拿掉了... 而多了個F# (難道是forth?)
上了wiki看了一下... F#跟forth好像沒啥相關 (才粗學淺,我也僅熟悉C++和x86 ASM而已)
算了... F#我也不會想去用, C#都沒空去學了, 管他的咧~~
接著看到了.Net Framework 4.0了... 看起來.Net的地位在PC的地位已經不可動搖了
(x的, 我仍然是在用MFC... Orz 難道我已經是老頭子了?)
稍微又去看了一下.Net Framework 4.0到底在搞啥碗糕...
1.Democratizing Application Lifecycle Management
Application Lifecycle Management (ALM) crosses many roles within an
organization and traditionally not every one of the roles has been an equal
player in the process. Visual Studio Team System 2010 continues to build the
platform for functional equality and shared commitment across an organization
's ALM process.
2.Enabling emerging trends
Every year the industry develops new technologies and new trends. With Visual
Studio 2010, Microsoft delivers tooling and framework support for the latest
innovations in application architecture, development and deployment.
3.Inspiring developer delight (這三小?)
Ever since the first release of Visual Studio, Microsoft has set the bar for
developer productivity and flexibility. Visual Studio 2010 continues to
deliver on the core developer experience by significantly improving upon it
for roles involved with the software development process.
4.Riding the next generation platform wave
Microsoft continues to invest in the market leading operating system,
productivity application and server platforms to deliver increased customer
value in these offerings. With Visual Studio 2010 customers will have the
tooling support needed to create amazing solutions around these technologies.
5.Breakthrough Departmental Applications
Customers continue to build applications that span from department to the
enterprise. Visual Studio 2010 will ensure development is supported across
this wide spectrum of applications.
簡單來說... VS 2010把PM / Tester / Programmer的工作完整整合在一個平台上
看起來是蠻屌的... 但偏偏我自己必須要身兼PM+Tester+Programmer阿... (X的)
大部分工作都在我腦內完成... 看起來這套工具... 對我也是沒太大用處... XD
(其實大專案, 寫久了很多事情還是會忘記... 三不五時還是得看舊的code...
如果能養成良好習慣, 用這些工具建構/記錄許多資訊, 應該是相當有效的,
但偏偏我壞習慣改不了...)
安裝後進入VS 2010... UI又換了... 整個style就給別人有點不同的味道...
看了下C++有啥新東西... 呼... 多了幾個新的關鍵字
auto, decltype, static_assert, nullptr
也支援了lambda function...
看來是支援了新的C++ spec... 過陣子再來看一下
把之前寫的案子拿出來編譯一下... 首先看到的是prasing的速度變快了
IntelliSense的進度也都會顯示出來, 不會像之前的版本, 不行時什麼都不說...
IDE似乎做得比較好...
編譯時, CPU使用率還是沒辦法衝到100%... 20% ~ 90%間徘迴
不過編譯速度變快了一些
Q9500的CPU原本整個方案全部重新編譯要大約7~8分鐘...(大約12萬行程式碼)
現在大約跑個5分鐘就搞定了... (純感覺, 沒實際計時...)
稍微開了個新專案寫點新東西... IDE的editor變更聰明了...
輸入 #include "xx時... 會自動幫你把檔案名稱找出來... Intellisense變得更讚
而Class Wizard又回來了... (之前只剩ClassView)
又多了個Profile-Guided Optimize... 看起來跟thread-safe有關
(編譯器直接支援thread-safe??? 過陣子來仔細看看)
不過當我按下help時... 我臉綠了... 原本的MSDN Library咧?
怎麼變成用瀏覽器在查help?
用瀏覽器我也不介意... 但原本的index咧? 有時候我英文會打錯阿...
有時候我不能完全記得class的名稱阿... 原本的index超級好用你為啥要把他移掉?
唉... 雖然一切都很完美... 但你的MSDN Library被改成這樣後... 我一點fu都沒了...
解決方法是, 除非必要, 否則不用VS 2010的help...
而改用MSDN Library for VS 2008 SP1檔著先... (可以自行下載)
總算是暫時解決這不完美的地方了...
改天再來測試C/C++ compiler的優化效果...
總結, 寫了這麼多雜七雜八完全不搭嘎的東西, 就只是我目前看到VS 2010的一小部分
但就僅這些部分就已經讓我覺得興奮了, VS 2010是個好物阿...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.195.2.203
→
04/18 20:37, , 1F
04/18 20:37, 1F
→
04/18 20:38, , 2F
04/18 20:38, 2F
→
04/18 20:51, , 3F
04/18 20:51, 3F
→
04/18 20:53, , 4F
04/18 20:53, 4F
→
04/18 20:53, , 5F
04/18 20:53, 5F
→
04/18 21:48, , 6F
04/18 21:48, 6F
→
04/18 22:19, , 7F
04/18 22:19, 7F
→
04/18 22:20, , 8F
04/18 22:20, 8F
推
04/18 23:53, , 9F
04/18 23:53, 9F
→
04/18 23:54, , 10F
04/18 23:54, 10F
→
04/18 23:54, , 11F
04/18 23:54, 11F
→
04/18 23:54, , 12F
04/18 23:54, 12F
→
04/18 23:55, , 13F
04/18 23:55, 13F
→
04/18 23:55, , 14F
04/18 23:55, 14F
→
04/18 23:55, , 15F
04/18 23:55, 15F
→
04/18 23:55, , 16F
04/18 23:55, 16F
→
04/19 00:57, , 17F
04/19 00:57, 17F
推
04/19 19:40, , 18F
04/19 19:40, 18F
→
04/20 09:02, , 19F
04/20 09:02, 19F