BT

InfoQ Homepage News Two New Microsoft Compilers Written in VB

Two New Microsoft Compilers Written in VB

Bookmarks

In the past there have been many complaints about Visual Basic being a second-class citizen to C# and that Microsoft never uses it internally. Those complaints are being addressed by SilverLight in numerous ways.

First of all, C# won't be fully supported in Silverlight. Unlike VB, Python, Ruby, and JavaScript, C# does not support the Dynamic Language Runtime and cannot be hosted for runtime compilation in Silverlight.

In more recent news, it was revealed that Visual Basic 10 would have a compiler written in Visual Basic. While Mono has a self-hosting compiler for VB, this is the first time in the history of Visual Basic that Microsoft released a VB compiler written in VB.

Even more interesting, the next version of Microsoft's JavaScript compiler, known by the brand name JScript, was also written in Visual Basic.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • No C# on Silverlight?

    by Werner Schuster /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I'm not sure I understand this part about C# not being available on Silverlight... does that mean the C# compiler doesn't run on Silverlight? LINQ and other libs are available for Silverlight, so I'm a bit confused;

  • Re: No C# on Silverlight?

    by Jonathan Allen /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Silverlight can certainly use libraries compiled with C#.

    What Silverlight cannot do is grab a block of C# source code and compile it in the browser at runtime using the DLR. How important this is remains to be seen, but if you are a fan of code that writes itself (e.g. LISP, JavaScript) it is a consideration.

  • Re: No C# on Silverlight?

    by Werner Schuster /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    OK, that clears that up. Thanks.
    Of course, as long as it ships with the CodeDOM (I think that's their name) libraries, then generating code is still possible (see vistasmalltalk.wordpress.com/ for an impressive example of that).

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.