@Minh: XAML is also used for the styles and animation of the UI tree. I don't know about speed, but the canvas and javascript are going to be loads more complex than the declarative model that XAML uses.