Yet another Hello World

Posted by Jb Evain Wed, 30 Jan 2008 20:51:00 GMT

Statue

using System;
using System.Linq.Expressions;

class HelloWorldOfTrees {

    static void Main ()
    {
        var param = Expression.Parameter (typeof (string), "p");

        var cwl = Expression.Lambda<Action<string>> (
            Expression.Call (
                typeof (Console).GetMethod (
                    "WriteLine", new [] { typeof (string) }),
                param), param).Compile ();

        cwl ("Hello World !");
    }
}
[mono] /tmp @ gmcs test.cs 
[mono] /tmp @ mono test.exe 
Hello World !

Well heh, you can’t do really much more than that, but at least, that is working (sort of).

Mono presentation at Microsoft Techdays 2

Posted by Jb Evain Sun, 27 Jan 2008 12:51:00 GMT

Grand Palais

For the second year in a row, I’ll be presenting a session about Mono and Moonlight during the Microsoft Techdays that take place in Paris, on Feb 11. We’ll have the pleasure to have with me my oh so famous boss Miguel, to introduce my session, and answer a few questions.

Here’s the direct link to the session sum up: PrĂ©sentation des projets Mono et Moonlight .

Update: You can download the slides of the presentation.

Mono.Cecil 0.6

Posted by Jb Evain Fri, 05 Oct 2007 13:42:00 GMT

Yeah, time for a new release of Mono.Cecil.

New since 0.5:

  • A lot of work to read obfuscated assemblies,
  • Some precious optimizations,
  • Improved the Mono.Cecil.Binary layer to read pure native PE binaries,
  • Ability to annotate Cecil’s objects,
  • Of course fixed a handful of bugs,
  • Add a lot or helpers accessors to Cecil’s type, like IsPublic, IsVirtual, Is*,
  • Preliminary support for debugging symbols (to be blogged about).

Where to download:

Thanks to all the folks that contributed patches to this release!

Beloved users, please upgrade.

Quick Reminder

Posted by Jb Evain Wed, 03 Oct 2007 20:03:00 GMT

Hmmm, sea food

From http://www.mono-project.com/Contributing:

If you have looked at Microsoft’s implementation of .NET or their shared source code, you will not be able to contribute to Mono.

Older posts: 1 2 3 4 5 6 ... 12