Olive (Mono) 如何实现 (W)PF?
在阅读维基百科上的 关于 Mono 的文章时,我发现有一个 Mono 子/副项目名为Olive 旨在将 .NET 的剩余部分引入 Mono - 目前专注于 Workflow Foundation 和 WPF - 尽管它们很明显原因只是称其为“演示基础”。
这让我想到:WPF 与 DirectX 紧密相连,而 DirectX 又与 Windows 紧密相连。他们计划如何让它在更广泛的操作系统上运行?他们根本不使用任何 GPU 加速?或者他们是基于 OpenGL 的吗?或者其他什么?
另外 - 如果有人对这个项目有更多的了解(网上关于这个主题的信息非常稀疏),他可以回答:该项目的当前状态是什么?我真的可以期待 Mono 在中期得到 WPF 的合理支持吗?
While reading an article about Mono on Wikipedia, I found out there is a Mono sub/side-project called Olive which aims to bring the remaining bits of .NET to Mono - currently focusing on Workflow Foundation and WPF - though they for obvious reason call it only "Presentation Foundation".
This made me think: WPF is closely tied to DirectX, which in turn is closely tied to Windows. How do they plan to make it run on wider variety of OSes? They don't use any GPU acceleration at all? Or do they base it on OpenGL? Or something else?
Also - if there is someone who has a little bit more of an insight into the project (information on the web is very sparse in this subject) who could answer: What is the current state of the project? Can I really look forward to Mono having reasonable support of WPF in mid-term future?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
考虑一下月光的例子。
Mono 团队已经使用 OpenGL 来实现 Silverlight 的功能(GPU 加速等)。因此,使用 OpenGL 为其他操作系统完全实现 PF 在技术上是可能的。
我认为最明显的问题是支持这么多操作系统需要付出太多的努力,而 Mono 团队本身无法提供。
Consider the Moonlight case.
Mono team already uses OpenGL to achieve what Silverlight does (GPU acceleration and so on). So it is technically possible to fully implement PF for other OS using OpenGL.
The most obvious problem I think is that supporting so many OS needs too much effort that Mono team itself cannot offer.
我不会对 Mono 的 WPF 屏住呼吸。我见过开发人员 50 年努力的估计,但对 Novell 来说并不值得那么多。据我所知,他们的目标是手机和游戏。似乎没有其他人会做出这样的努力。
一个可能的替代方案是 Moonlight,它是 Linux 上的 Silverlight。关于使用 Moonlight 构建桌面应用程序的讨论很多。编程模型与WPF类似。
I would not hold my breath for WPF from Mono. I have seen estimates of 50 developer years of effort and it is not worth that much to Novell. They are targeting mobile and games as far as I can tell. It seems unlikely that anybody else will step-up for that kind of effort.
A possible alternative is Moonlight which is Silverlight on Linux. There has been a lot of talk about using Moonlight to build desktop apps. The programming model is similar to WPF.