2

Xamarin 的死掉的主因恐怕不是微软

 1 year ago
source link: https://www.v2ex.com/t/950795
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

Xamarin 的死掉的主因恐怕不是微软

  ShikiSuen · 22 小时 6 分钟前 · 3218 次点击

微软迟早要全盘切换到 dotNET MAUI 。然而,论及这次宣布放弃 Xamarin 的决定的原因,窃以为 Xamarin 的死掉恐怕与 Apple 重写 Foundation 有关。

Apple 这次彻底用 Swift 重写 Foundation ,接下来要重写的可能会是整个 Cocoa 。而 Xamarin 高度依赖 C# 与 Objective-C 的绑定,且 C# 与 Swift 有生殖隔离。到现在为止,都还没有任何一个除了 RemObjects 以外的途径可以让 C# 与 Swift 彼此直接互相利用……只是这种跨语言利用是基于 .NET Core 以及 Windows 平台的 .NET Framework 的、无法用于 Apple 生态圈。就算是 macOS 系统下可以用 RemOjbects 的工具以 C# 直接做 Cocoa 编程,那也是与 Objective-C 版的 Foundation & Cocoa 对接的,同样要面对本文一开始提到的难题。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK