WPFfor d

Jacob Carlborg doob at me.com
Tue Feb 19 12:35:17 PST 2013


On 2013-02-17 23:29, Adam Wilson wrote:

> I think it could be easily implemented if instead of using runtime XAML
> deserialization and reflection we used a specialized GUI definition
> language that is translated into D at compile time. This would give the
> required flexibility to work around D's lack of the deep reflection
> capabilities that .NET has and make the app much quicker at runtime. I'd
> prefer to avoid reflection as much as possible due to the associated
> performance hits.
>
> I love the ideas behind WPF, but as usual at Microsoft, WPF is a very
> poor implementation of a fantastic idea.
>
> Thumbnail sketch of my vision for a WPF-like GUI Library in D, for now
> I'll call it Horizon:
> - Purpose built domain specific language for GUI declaration
> - Pluggable language compiler back-end to support different target
> languages.
> - Dependency Property system similar to WPF to support flexible
> databinding.
> - Concurrent Dependency Properties to allow multi-threaded access to the
> UI. (Needs specialized container support in Phobos.)
> - Pluggable rendering core to support multiple operating systems.

When using a custom tool kit like this. How do you handle windows, you 
do need to use native windows, right? I mean, you need to receive events 
and similar for your application.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list