Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development

    Microsoft Advances C# With the M# Language

    Written by

    Darryl K. Taft
    Published January 3, 2014
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Microsoft is working on a new high-level systems programming language known as M# (pronounced “M Sharp”) that aims to deliver type safety and performance.

      In a blog post entitled “C# for Systems Programming,” Joe Duffy, an architect and developer working on the Midori operating system incubation project at Microsoft, said the M# project is a research effort that Microsoft is working on and he welcomes technical dialogue on the language. While an M# product announcement is not imminent, Duffy said he will continue to post more about M# in the coming months – with the ultimate goal of open-sourcing the technology.

      Microsoft’s goal with M# was to deliver a language that provided developers with type safety and productivity as well as performance. Typically, you tend to get one or the other. However, as described, M# appears to be a general purpose programming language that is safe, productive and performant.

      Type safety is the extent to which a programming language discourages or prevents type errors. A type error is erroneous or undesirable program behavior caused by a discrepancy between differing data types for the program’s constants, variables and methods.

      “With respect to M#, I think we should keep in mind that there has been an age-old struggle in computer science to deliver highly productive development models that are also efficient and high-performance,” said Al Hilwa, an analyst with IDC. “As automation becomes more sophisticated and we head towards driverless cars for example, it stands to reason that automated code generation should improve. So it makes sense that Microsoft should try to keep pushing to bridge the divide of productivity and performance.”

      According to this report, which highlighted M#, Microsoft has been working on the Midori OS since 2008. Midori is a non-Windows operating system project that stems from Microsoft Research’s “Singularity” effort to deliver a microkernel-based operating system written as managed code. The Midori project required a new language and the team decided to base it on C#.

      “The next question is, ‘Why base it on C#?’” Duffy said in his post. “Type safety is a non-negotiable aspect of our desired language, and C# represents a pretty darn good ‘modern type-safe C++’ canvas on which to begin painting. It is closer to what we want than, say, Java, particularly because of the presence of modern features like lambdas and delegates.”

      He noted that there are other candidate languages in this space, including the D language and Rust, and Go. “But when we began, these languages had either not surfaced yet, or had not yet invested significantly in our intended areas of focus,” Duffy said. “And hey, my team works at Microsoft, where there is ample C# talent and community just an arm’s length away, particularly in our customer-base.”

      Aleks Bromfield, a Google engineer who previously worked on M# at Microsoft, posted about the language’s error model. “Like the rest of the language, the error model was designed with the goal of being safe, fast and easy,” Bromfield said. “By safe, I mean that the language should prevent as many bugs as possible. By fast, I mean that the error model should impose the smallest possible burden on the runtime performance of programs that use it. By easy, I mean that the error model should help programmers be more productive, rather than getting in their way.”

      Meanwhile, Duffy said before Microsoft can open source the M# language the team needs to “button up a few aspects of the language” move to the company’s Roslyn compiler as a service codebase “so the C# relationship is more elegant.”

      “That a new operating system needs to be accompanied by a new programming model through a new language or a framework is common in the industry, but it is also risky,” IDC’s Hilwa warned. “OS and programming language designers should keep in mind that coming up with new metaphors for constructing applications may find a skills gap in the industry which can detract from adoption. Additionally, dealing with developer issues is not alone a key for success, but it is required to have developers on your side to be successful.”

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×