{"id":7526,"date":"2013-07-18T12:08:06","date_gmt":"2013-07-18T11:08:06","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=7526"},"modified":"2013-07-18T12:08:06","modified_gmt":"2013-07-18T11:08:06","slug":"anders-hejlsberg-says-c-6-0-to-use-roslyn-compiler-coming-in-next-visual-studio-after-vs-2013","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/7526-anders-hejlsberg-says-c-6-0-to-use-roslyn-compiler-coming-in-next-visual-studio-after-vs-2013.html","title":{"rendered":"Anders Hejlsberg says C# 6.0 to use Roslyn compiler, coming in next Visual Studio after VS 2013"},"content":{"rendered":"<p>A disappointment at Microsoft\u2019s Build conference last month was lack of news about the next version of C#, version 6.0. C# architect Anders Hejlsberg did present a session, but it was on TypeScript, a language which compiles to JavaScript.<\/p>\n<p>Aside: Hejlsberg talks about the new Xbox music app in Windows 8.1 (and Xbox One) which is written in JavaScript. It is a large app with 500,000&#160; lines of code, and new features are now implemented in TypeScript (30,000 lines so far). <\/p>\n<p>However, Hejlsberg did also talk about C# 6.0 at Build, during <a href=\"http:\/\/channel9.msdn.com\/Events\/Build\/2013\/9-006\" target=\"_blank\">this Channel 9 Q&amp;A<\/a>, though you have to scroll through to reach the C# content (about 34 minutes in).<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2013\/07\/image5.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline\" border=\"0\" alt=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2013\/07\/image_thumb5.png\" width=\"244\" height=\"208\" \/><\/a> <\/p>\n<p>He confirmed that C# in Visual Studio 2013 is the same as before, but there will be new previews of the forthcoming \u201cRoslyn\u201d compiler soon, and that C# 6.0 will be in the \u201cnext Visual Studio after\u201d which suggests Visual Studio 2014, presuming Microsoft sticks to its annual release cycle.<\/p>\n<p>\u201cWe are at a point where the Roslyn compilers are done,\u201d he said.<\/p>\n<p>Roslyn, Hejlsberg explained, is the new compiler for \u201cC#, and VB, and the language services in the IDE.\u201d<\/p>\n<p>Roslyn performance will be at least as good as the existing native compiler, says Hejlsberg. It is better suited to parallel processing so will take advantage of multi-core machines, \u201cparticularly for large projects.\u201d<\/p>\n<p>You can read more about Roslyn <a href=\"http:\/\/msdn.microsoft.com\/en-us\/vstudio\/roslyn.aspx\" target=\"_blank\">here<\/a>. Microsoft describes it as \u201copening up the Visual Basic and C# compilers as APIs.\u201d Practical benefits include features like instant porting of VB code to and from C#, and the use of C# and VB as macro languages within a .NET application.<\/p>\n<p>Hejlsberg also says that Roslyn will enable a faster pace of evolution for C# in future. <\/p>\n<p>Another aside: <a href=\"http:\/\/xamarin.com\/\" target=\"_blank\">Xamarin<\/a>, which provides a compiler for C# targeting iOS and Android, gets a nod of approval from Hejlsjberg. \u201cI\u2019m a great fan of their work,\u201d he says.<\/p>\n<p>Blogger (and former Microsoft Excel developer) Wesner Moise <a href=\"http:\/\/wesnerm.blogs.com\/net_undocumented\/2013\/07\/anders-on-c-60-at-build-2013.html\" target=\"_blank\">provides a transcript<\/a> of the key points.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A disappointment at Microsoft\u2019s Build conference last month was lack of news about the next version of C#, version 6.0. C# architect Anders Hejlsberg did present a session, but it was on TypeScript, a language which compiles to JavaScript. Aside: Hejlsberg talks about the new Xbox music app in Windows 8.1 (and Xbox One) which &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/7526-anders-hejlsberg-says-c-6-0-to-use-roslyn-compiler-coming-in-next-visual-studio-after-vs-2013.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Anders Hejlsberg says C# 6.0 to use Roslyn compiler, coming in next Visual Studio after VS 2013<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,26,55,67,80,94],"tags":[142,236,586,955],"class_list":["post-7526","post","type-post","status-publish","format-standard","hentry","category-net","category-development","category-microsoft","category-professional","category-software-development","category-visual-studio","tag-anders-hejlsberg","tag-c","tag-microsoft","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/7526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=7526"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/7526\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=7526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=7526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=7526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}