You ask: Should Silverlight use BAML?
On a comment for our XAML Futures PDC09 talk, vplusplus asked:
…curious to know why MSFT chose a design approach of "not-using" BAML in Silverlight space? The compiler could have done the heavy-lifting as against the runtime...
Why do you ask?
I’m curious why vplusplus (and perhaps others of you) would ask for BAML. Why do you want Silverlight to do that performance optimization? Or are you interested in any and all perf optimizations, including BAML?
Thoughts?
My take
I believe that we’ll consider adding BAML into Silverlight in future releases if the benefit (perf gain) outweighs the cost (extra runtime code, etc…). Silverlight has started small and only added features for specific scenarios…if BAML becomes important based on this methodology, I’m sure we’d consider adding perf optimizations, like BAML, to Silverlight.