Welcome to WindowsClient.net | Sign in | Join

Rob Relyea - XAMLified

WPF, Silverlight and XAML

Syndication

Sponsors





  • advertise here
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.

Published Wednesday, October 28, 2009 4:26 PM by Rob_Relyea
Filed under: ,

Comments

# Dew Drop – October 29, 2009 | Alvin Ashcraft's Morning Dew@ Thursday, October 29, 2009 8:41 AM

Pingback from  Dew Drop – October 29, 2009 | Alvin Ashcraft's Morning Dew

# You ask: Should Silverlight use BAML?@ Thursday, October 29, 2009 5:26 PM

DotNetBurner - burning hot .net content

# re: You ask: Should Silverlight use BAML?@ Friday, October 30, 2009 9:49 AM

If BAML would enable xaml encryption, i.e. from plain text(in tools like silverlight spy at runtime) to unreadable, I would vote for top priority! It means a lot for anyone who cares about IP.

by David

# re: You ask: Should Silverlight use BAML?@ Friday, October 30, 2009 4:10 PM

@David-

BAML does have decompilers that people have wrote and published, so it is not an encryption solution.  It was created as a performance optimization.

Thanks, Rob

# You ask: Should Silverlight use BAML? - Rob Relyea - XAMLified Silverlight Web@ Saturday, October 31, 2009 11:29 AM

Pingback from  You ask: Should Silverlight use BAML? - Rob Relyea - XAMLified Silverlight Web

# You ask: Should Silverlight use BAML? - Rob Relyea - XAMLified Silverlight Blog@ Saturday, October 31, 2009 12:34 PM

Pingback from  You ask: Should Silverlight use BAML? - Rob Relyea - XAMLified Silverlight Blog

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Page view counter