DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

Mono 2.8 - New GC, C# 4.0, and LLVM

Mitch Pronschinske user avatar by
Mitch Pronschinske
·
Oct. 07, 10 · · Interview
Like (0)
Save
Tweet
10.66K Views

Join the DZone community and get the full member experience.

Join For Free
Ten months worth of development has brought plenty of major updates and new features to the open source implementation of the .NET framework, Mono.  Today, Mono 2.8 adds support for C# 4.0, a new Garbage Collection engine, System.XAML, the Parallel Framework, ASP.NET MVC 2, ASP.NET 4.0, OpenBSD, and more.  Mono 2.8 has also graduated LLVM support to 'stable' and made large performance improvements.

ABI/API Embedding

Mono 2.8 no longer depends on the GLIB library.  2.8 has removed internal methods from the public API and replaced GLIB types with integer data types from stdint.h.  Project developers also depreciated some methods that were limited and not intended for external use.

New GC

Mono has been using an excellent GC written by Hans Boehm for years, but with 2.8 the developers wanted to add less conservative features like generational garbage collection.  The project decided to change its GC to SGen: a generational, copying, heap precise, stack conservative garbage collector. SGen can repack the data in memory and it can also move data around in a way that reduces heap fragmentation.  The .NET-based graph database, Sones, did some benchmarking of SGen vs. Mono's old garbage collector:



The blue line is the time it takes SGen to fulfill a request while the red line is the Boehm GC.  SGen is supported on ARM, x86, x86-64 and the s390x platforms.

New MS-PL or Apache v2-licensed Microsoft Libraries


  • ASP.NET MVC2
  • Managed Extensibility Framework (MEF)
  • System.Data.Services.Client
  • Dynamic Language Runtime

LLVM

Support for the Low-Level Virtual Machine compiler infrastructure is now stable in 2.8.  Users can write a mono-llvm command to make server applications run with an LLVM backend.  However, JIT compilation with this release is still quite slow, so the backend is currently suitable for long server processes only.

Other new features

Mono 2.8 introduces a partial implementation of Code Contracts, a preview code implementation of PLinq, the Managed Extensibility Framework, and the Dynamic Language Runtime.  XBuild is also available now for building Silverlight projects and WCF routing has been added.

Miguel De Icaza, the Mono project lead, reminds us that Mono 2.6 is still the long term support release.  The next long term version will be Mono 3.0.
LLVM garbage collection Mono (software)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Don't Underestimate Documentation
  • Autowiring in Spring
  • Which JVM Version Is the Fastest?
  • DZone's Article Submission Guidelines

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo