3

移动开发中跨平台技术对比

 3 years ago
source link: https://xushanxiang.com/2019/12/comparison-of-cross-platform-technologies-in-mobile-development.html
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.

近几年,随着物联网时代到来、移动互联网高歌猛进,日新月异,在很多业务场景中,纯原生开发主要面临动态化和开发成本两个问题,而针对这两个问题,诞生了一些跨平台(特指Android和iOS两个平台)的动态化框架。

跨平台技术对比

技术类型UI渲染方式性能开发效率动态化框架代表H5+原生WebView渲染一般高支持Cordova、Ionicjs+原生渲染原生控件渲染好中支持RN、Weex、uni-app自绘UI+原生调用系统API渲染好Flutter高, QT低默认不支持QT、Flutter

上表中开发语言主要指UI的开发语言。
而开发效率,是指整个开发周期的效率,包括编码时间、调试时间、以及排错、兼容时间。
动态化主要指是否支持动态下发代码和是否支持热更新。值得注意的是Flutter的Release包默认是使用Dart AOT模式编译的,所以不支持动态化,但Dart还有JIT或snapshot运行方式,这些模式都是支持动态化的。

  • 《移动应用开发常见技术比较》https://www.jianshu.com/p/fc0fea667243
  • 《2019年,Flutter 和 React Native 谁主沉浮?》https://www.ucloud.cn/yun/104638.html
  • 《H5 手机 App 开发入门:技术篇》http://www.ruanyifeng.com/blog/2019/12/mobile-app-technology-stack.html

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK