F#: is there no UI (like WPF) for it?

后端 未结 7 952
梦毁少年i
梦毁少年i 2021-01-30 18:41

i recently saw some videos on F#. it seems it used mainly for Service or Classes only? i see no \"F# WPF\" app in VS2010 Beta?

7条回答
  •  长发绾君心
    2021-01-30 19:00

    Updated according to the link by James Hugard

    For now F# will not be used much for GUIs because it is not the most important use case for it. From Don Syme's blog:

    In this first supported release, our aim has to be to focus on the core strengths of F# for exploratory programming with F# Interactive, programming with data and implementing parallel and asynchronous components.

    Although you can theoretically use F# and the standard GUI libraries if you need a GUI you should use VB or C#:

    F# users should use the Visual Studio designer tools to generate C# or Visual Basic code and incorporate those components into their F# applications.

    In the longer term "presentation-oriented designer tools that generate F# code" are, according to Syme, "definitely feasible".

提交回复
热议问题