This post originated from an RSS feed registered with .NET Buzz
by Sam Gentile.
Original Post: Setting the Record Straight on XAML
Feed Title: Sam Gentile's Blog
Feed URL: http://samgentile.com/blog/Rss.aspx
Feed Description: .NET and Software Development from an experienced perspective - .NET/CLR, Rotor, Interop, MC+/C++, COM+, ES, Mac OS X, Extreme Programming and More!
Drew sets the record straight on XAML with a great technical post, “XAML is indeed a language, but it is never compiled into C# or IL. In fact, let's not even talk in terms of C# because XAML can be used from/in conjunction with any language that supplis a CodeDom implementation and some MSBuild target files. Right now Microsoft supplies these for both of their flagship languages: VB and C#. Let's get back to XAML though. The truth is, it's not "compiled" at all. If anything you can say it is "compacted" and that only happens in scenarios where it is turned into a BAML stream. That, however, is an optimization and not a necessity for XAML to work. XAML can be interpreted purely in it's raw XML text form, using Parser::LoadXml. Even BAML is interpreted, it's just a far more compact and efficient representation of the object graph than raw XML text.” Read the whole thing.