What's new in CLR via C#, 4th Edition as compared to the 3rd Edition
与第三版相比,《CLR via C#》第四版有什么新内容?
The 4th edition of my CLR via C# book is coming out next month and you can order it here. The new edition is updated for Visual Studio 2012, .NET 4.5, and C# 5; there is also some coverage of Windows 8. As the book focuses on the CLR & C#, the majority of the book is the same as in the previous edition since little has changed from the developer's perspective. As always, I do review each and every chapter, I apply any reported errata improvements, fix any bugs, typos, or improve wording if a reader reported that something was confusing. I also update version numbers, screen shots, and any current thinking that differs from thinking in the past.
《CLR via C#》第四版将会在下个月(2013.1)发布,你可以从这里买到。这个版本基于Visual Studio 2012, .NET 4.5和C# 5进行了更新,书中还有一些内容涉及了Windows 8。与之前的版本一样,这本书主要关注CLR和C#语言,并针对开发者的期望做了一些小的更改。我一如既往地对每一章每一节进行了检查,更新了所有勘误表中的内容,修正了很多逻辑错误和印刷错误,同时对读者反馈的书中比较令人困惑的表述进行了修改。我还把版本号、截图,所有我当前所想的,与以前不同的想法进行了更新。
However, I have also made some significant enhancements to the 4th edition. I have rewritten the Garbage Collection chapter so the material is updated and presented in more organized fashion. Second, the chapter on Reflection has been rewritten because Microsoft has redesigned the Reflection APIs and the new API is the one that will survive into the future. The old Reflection API still exists for backward compatibility but it will eventually fade away (I removed all content related to the old API). The new Reflection API MUST be used when building Windows Store Apps. The new Reflection APIs have affected other chapters too (such as the delegates chapter where I talk about how to dynamically create delegate instances at runtime).
除此之外,我还在第四版中增加了一些比较重要的东西。我重写了“垃圾回收”章节,现在这一章的相关内容经过更新整理后变得更加新潮了。第二,“反射”章节也已经经过重写,因为Microsoft已经重新设计了反射相关的API,并且我们以后使用的将会是这些新的API。旧的API仍将为了向后兼容性而继续存在,不过它们会逐渐消逝(我已经移除了所有有关旧API的内容)。当你编写Windows Store应用时必须要使用新的反射API。相应的,本书中其他使用新的反射API的地方也进行更新(例如“委托”这一章节中我谈论的“怎样在运行时使用反射动态创建委托的实例”)。
Speaking of Windows Store Apps, I have updated many of the chapters with considerations when building Windows Store Apps. And, I have added a brand new chapter entitled "Interoperating with WinRT Components" that describes how to consume WinRT components from C#. The chapter also shows how to produce C# WinRT components which can be consumed from other languages (such as JavaScript or native C++).
提到Windows Store应用,我在考虑创建Windows Store应用的场景下更新了多个章节的内容。并且,我还加入了一个标题为“与WinRT组件进行交互”的全新章节,描述了怎样在C#中使用WinRT组件。这一章还展示了如何创建可以被其他语言(例如JavaScript或非托管C++)所使用的C# WinRT组件。
The only language feature new to C# 5.0 is the support for a new and simplified asynchronous programming model. This model is very similar to the model I produced years ago via my AsyncEnumerator class which has been freely available as part of my Power Threading library. To address C#'s asynchronous programming model, I have completely rewritten the "I/O Bound Asynchronous Operations" chapter. OK, C# has introduced another tiny language feature via Callee custom attributes and I also show how to use them in the same chapter.
C# 5.0中唯一的语言新特性是一个新的易于使用的异步编程模型。这个模型与我在多年以前创建的Power Threading库中的AsyncEnumerator类十分相似。为了专注于新的C#异步编程模型,我已经彻底重新编写了“I/O限制的异步操作”这一章节。然后,C#还通过Callee自定义属性引入了另外一个小的语言特性,我会在这一章中介绍怎么使用它。
When the book goes to the printer, I will post the source code on the Wintellect website.
当这本书送到印刷厂之后,我会在Wintellect网站中发布书中的相关源代码。
渣翻译by Kaedei
原文地址http://www.wintellect.com/cs/blogs/jeffreyr/archive/2012/10/19/what-s-new-in-clr-via-c-4th-edition-as-compared-to-the-3rd-edition.aspx
本文转自http://blog.sina.com.cn/s/blog_58c506600101ia6l.html
《CLR via C#》第四版的新增内容(转)
《CLR via C#》热门书评
-
推荐CLR via C# 3rd Edition
38有用 1无用 prowyh 2010-05-06
.NET技术领域有两位世界级专家。一位是Don Box。他以《Essential COM》确立了自己COM专家的地位,在.NET时代,Don Box又以《Essential .NET》(Volume I The Common Language Runtime)确立了自己.NET专家的地位。2002年...
-
CLR via C#(第3版)序言赏读
4有用 1无用 FreshAIR 2010-10-11
Kristin Trace (Jeffrey之妻)写的序 刚开始,当Jeff要我给他的新书作序时,我还觉得挺高兴!我想,他肯定是尊重我。但我错了。女士们,这是我们因为想当然而常犯的错误之一——相信我,他并不是尊重你。在他的候选序言作者列表中,我排在大概是第14位吧。他最后找上我,完全是迫不得已。显然...
-
知其然,知其所以然
2有用 0无用 Alanmars 2015-04-14
本书的作者对C#的设计理念和设计细节了解透彻,他不仅教会你C#语言的各种细节,同时还把发生在背后的各种原理娓娓道来,细读本书之后,你学到的不仅仅是C#语言,同时还能够洞悉C#的本质,让你不仅仅是写出可以执行的代码,而是写出可以高效运行的代码。本书的译者不仅是一位技术大牛,同时也是一位对语言大牛,读本...
-
入门
2有用 0无用 Sam 2010-08-24
第一次看感觉好难,但硬着头皮看下去后,感觉又不是很难了,从这本书可以学习到更多的知识,用Keni的话,这是一本入门的书,因为读完后,你会有很多的疑问,带着这些疑问,你会不断的去研究...
-
有空看看技术书~
2有用 0无用 城南屠狗客 2012-03-12
看点学业相关大体很有必要...虽然是多线程逼得不行了才下狠心看了看,结果到最后一章混合锁实在翻不下去,草草了事了。作者不愧是搞内核的大牛,讲起原理来头头是道,作为.net必读书目,恰如其分,不过如果不是专业程序员,大约看起来颇为鸡肋。要看这本书,大约还是需要点基础的,俺半年前刚开始看和现在看感觉都略...
书名: CLR via C#
作者: [美] Jeffrey Richter
出版社: 清华大学出版社
原作名: CLR via C# (Dev-Pro)
译者: 周靖
出版年: 2010-9
页数: 777
定价: 99.00元
ISBN: 9787302232599