Xen meets its Omega


I got a surprise in my inbox this morning.   An email from Erik Meijer read:


The impossible has happened: X# became Xen, Xen became Comega, and Comega has shipped.


http://www.research.microsoft.com/research/downloads/default.aspx.


Enjoy


Matt

Comments (9)

  1. Alexander Neumann says:

    What’s really impossible is to install it without having Visual Studio.net 2003 on your machine.

  2. Sam Gentile says:

    > What’s really impossible is to install it without having Visual Studio.net 2003 on your machine.

    That has not been my experience. I am using it from the command line and TextPad. See above link.

  3. Microsoft ha hecho pblico bajo Shared Source Licensing Terms, el C-Omega, un nuevo lenguaje diseado para unir SQL, XML y Object Oriented Programming Model. Link para bajar aqui Algunos delos bloggers de Microsoft ya han empezado a poner post al…

  4. Dan says:

    This is OT. Since I don’t know where to ask this question I am asking here.

    Can someone tell me how to create instances of Content classes using constuctor. (I know the xml literal way)

  5. Matt says:

    The content classes usually just have a default constructor. The Xml literals construct them using these and then assign fields/properties individually.

    instead of :

    A a = <A x = "foo" />;

    You could use:

    A a = new A();

    a.x = "foo";

  6. Dan says:

    Thanks Matt. I’ll slightly reformat the question. Can you tell me how can I have a non-default constructor that initializes x in the following class A

    public class A

    {

    struct

    {

    int x;

    }

    }

    (Basically I want to initialize all the fields inside the constructor)

    Outside the constructor I can access x as

    A a = new A();

    a.x = 5;

    But inside the constructor, I coudn’t do

    this.x

    because of the anonymoust struct

    Is it by design that all content classes has to be initialized from outside of constructors?

  7. Matt says:

    That’s probably a bug.

Skip to main content