{"id":10191,"date":"2018-02-03T12:15:44","date_gmt":"2018-02-03T12:15:44","guid":{"rendered":"https:\/\/www.itwriting.com\/blog\/?p=10191"},"modified":"2018-02-03T12:15:44","modified_gmt":"2018-02-03T12:15:44","slug":"c-and-net-good-news-and-bad-as-python-rises","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/10191-c-and-net-good-news-and-bad-as-python-rises.html","title":{"rendered":"C# and .NET: good news and bad as Python rises"},"content":{"rendered":"<p>Two pieces of .NET news recently:<\/p>\n<p>Microsoft has published a .NET Core 2.1 roadmap and says:<\/p>\n<blockquote>\n<p>We intend to start shipping .NET Core 2.1 previews on a monthly basis starting this month, leading to a final release in the first half of 2018.<\/p>\n<\/blockquote>\n<p>.NET Core is the cross-platform, open source implementation of the .NET Framework. It provides a future for C# and .NET even if Windows declines.<\/p>\n<p>Then again, StackOverflow has just <a href=\"https:\/\/www.stackoverflowbusiness.com\/uk\/talent\/resources\/developer-ecosystem-2018-predictions\">published a report<\/a> on the most sought-after programming languages in the UK and Ireland, based on the tags on job advertisements on its site. C# has declined to fourth place, now below Python, and half the demand for JavaScript:<\/p>\n<p><a href=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2018\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"display: inline; background-image: none;\" border=\"0\" alt=\"image\" src=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2018\/02\/image_thumb.png\" width=\"510\" height=\"271\" \/><\/a><\/p>\n<p>To be fair, this is more about increased demand for Python, probably driven by interest in AI, rather than decline in C#. If you look at traffic on the StackOverflow site C# is steady, but Python is growing fast:<\/p>\n<p><a href=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2018\/02\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"display: inline; background-image: none;\" border=\"0\" alt=\"image\" src=\"https:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2018\/02\/image_thumb-1.png\" width=\"577\" height=\"570\" \/><\/a><\/p>\n<p>The point that interest me though is the extent to which Microsoft can establish .NET Core beyond the Microsoft-platform community. Personally I like C# and would like to see it have a strong future. <\/p>\n<p>There is plenty of goodness in .NET Core. Performance seems to be better in many cases, and cross-platforms is a big advantage.<\/p>\n<p>That said, there is plenty of confusion too. Microsoft has three major implementations of .NET: the .NET Framework for Windows, Xamarin\/Mono for cross-platform, and .NET Core for, umm, cross-platform. If you want cross-platform ASP.NET you will use .NET Core. If you want cross-platform Windows\/iOS\/macOS\/Android, then it\u2019s Xamarin\/Mono.<\/p>\n<p>The official line is that by targeting a specification (a version of .NET Standard), you can get cross-platform irrespective of the implementation. It\u2019s still <a href=\"https:\/\/docs.microsoft.com\/en-gb\/dotnet\/standard\/net-standard#net-implementation-support\">rather opaque<\/a>:<\/p>\n<blockquote>\n<p>The specification is not singular, but an incrementally growing and linearly versioned set of APIs. The first version of the standard establishes a baseline set of APIs. Subsequent versions add APIs and inherit APIs defined by previous versions. There is no established provision for removing APIs from the standard.<\/p>\n<p>.NET Standard is not specific to any one .NET implementation, nor does it match the versioning scheme of any of those runtimes.<\/p>\n<p>APIs added to any of the implementations (such as, .NET Framework, .NET Core and Mono) can be considered as candidates to add to the specification, particularly if they are thought to be fundamental in nature.<\/p>\n<\/blockquote>\n<p>Microsoft also says that plenty of code is shared between the various implementations. True, but it still strikes me that having both Xamarin\/Mono and .NET Core is one cross-platform implementation too many.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two pieces of .NET news recently: Microsoft has published a .NET Core 2.1 roadmap and says: We intend to start shipping .NET Core 2.1 previews on a monthly basis starting this month, leading to a final release in the first half of 2018. .NET Core is the cross-platform, open source implementation of the .NET Framework. &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/10191-c-and-net-good-news-and-bad-as-python-rises.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">C# and .NET: good news and bad as Python rises<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,55,67,80,1519,94,97],"tags":[104,236,586],"class_list":["post-10191","post","type-post","status-publish","format-standard","hentry","category-development","category-microsoft","category-professional","category-software-development","category-tech","category-visual-studio","category-windows","tag-net","tag-c","tag-microsoft"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/10191","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=10191"}],"version-history":[{"count":1,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/10191\/revisions"}],"predecessor-version":[{"id":10192,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/10191\/revisions\/10192"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=10191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=10191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=10191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}