WPF的OS兼容性
突然想到一个问题,WPF程序是否可以在Linux或者其他的OS下运行?
于是,Google了一番,答案是:WPF不行(呵呵,理由很明显,WPF需要DirectX的支持,而其他的OS基本都没有),但是轻量级的WPF-Silverlight可以在Linux或者MacOS上运行(mono)。
mono:"Silverlight implement a subset of the WPF APIs and is available on Windows, MacOS X and through our own open source effort Moonlight it is available on Linux and other Unix systems."
Link:
http://stackoverflow.com/questions/421764/is-wpf-on-linux-already-possible
http://social.msdn.microsoft.com/Forums/en/wpf/thread/0a4c924d-ef24-45a9-a552-6d58e5578e3a
那么,WPF是否可以在Linux上运行(理论上)?未来是否会有人做这样的事?
Link:
http://www.mono-project.com/WPF
Mono项目组的回答是:"At this point, no group in the Mono project has plans to implement Windows Presentation Foundation APIs as part of the project."
那么是否可行呢?从项目组的另一句话可见端倪:We do not have any plans because the project is too large and there has not been any serious interest from the community to make this effort move forward.
项目组的说法是too large而不是impossible,呵呵,所以还是有可行性的。
浙公网安备 33010602011771号