Windows 8和F# [英] Windows 8 and F#

查看:76
本文介绍了Windows 8和F#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,由于无法使用F#构建Metro风格的应用程序,并且无法从Metro风格的应用程序中引用F#库,因此F#在Windows 8中的位置在哪里? 我的意思是它的未来是什么?

一段时间后,F#的命运不会和Silverlight一样吗?微软是否有意愿进一步发展?

我知道,我仍然可以使用F#开发asp.net,WCF和桌面应用程序,但问题是Microsoft的长期计划是什么?

它会消亡一天,还是将永远存在?


好吧,我不能在F#中构建Metro风格的应用程序.我认为它的Lightweight \ Verbose语法以及缩进的需要使得编写XAML预处理程序或编写VS模板变得很困难.问题是,这是一个实验性项目,目的是将其中的最佳部分包含到C#中,还是F#在Windows生态系统中有未来?

解决方案

我认为您的假设是错误的-如果您创建便携式库 Visual Studio 11中的项目.

因此,F#无疑将继续作为开发Windows应用程序困难"部分的语言,在其中您实现域模型,算法,网络通信等.

此外,还有诸如(或商业 解决方案

I think your assumptions are wrong - it should be possible to reference F# library from a C# Metro-style application if you create Portable Library project in Visual Studio 11.

So, F# will definitely continue to be useful as a langauge for developing the "difficult" part of Windows application where you implement your domain model, algorithms, network communication etc.

Moreover, with projects like Pit (or commercial WebSharper), it is possible to write F# applications that will be truly portable and can run not just on Windows 8, but also on Android tablets or on the iPad as JavaScript applications.

这篇关于Windows 8和F#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆