作者WPC001 (突然觉得自己是孤独的...)
站内Programming
标题[心得] Visual Studio 2010 试用
时间Sun Apr 18 19:49:40 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
1F:→ james732:看起来很棒 XD 其实 J# 在 2008 就不见了 140.117.171.46 04/18 20:37
2F:→ james732:F#是新的functional language,似乎挺有趣 140.117.171.46 04/18 20:38
3F:→ leicheong:F#是用更严格的编写方式限制, 换取更高 61.92.4.195 04/18 20:51
4F:→ leicheong:的编译器最佳化效果, 以在平行运算上得 61.92.4.195 04/18 20:53
5F:→ leicheong:到更好的效能. 61.92.4.195 04/18 20:53
6F:→ Schelfaniel:可惜没有 F# 用的 Express 版 114.32.74.159 04/18 21:48
8F:→ WPC001:/cc835251%28en-us%29.aspx 自己接起来 123.195.2.203 04/18 22:20
9F:推 AmosYang:(广告)VSTS2010可以配合TFS2010服用, 65.87.177.87 04/18 23:53
10F:→ AmosYang:完整的ALM解决方案 ;) 65.87.177.87 04/18 23:54
11F:→ AmosYang:VersionControl/WorkItem(bug) 65.87.177.87 04/18 23:54
12F:→ AmosYang:tracking 一次搞定 65.87.177.87 04/18 23:54
13F:→ AmosYang:(详细情形我忘了,但某几个MSDN 65.87.177.87 04/18 23:55
14F:→ AmosYang: subscription等级有内附TFS2010 65.87.177.87 04/18 23:55
15F:→ AmosYang:(内附5 CAL.) 可以直接安装在dev 65.87.177.87 04/18 23:55
16F:→ AmosYang: box上,不需要dedicated server) 65.87.177.87 04/18 23:55
17F:→ PsMonkey:看的我都想跳槽 VS 了 [误] 219.70.199.248 04/19 00:57
19F:→ horngsh:VC 2010 express +TortoiseSVN完美组合.112.104.191.119 04/20 09:02