Skip to content

Commit

Permalink
Merge pull request #4786 from jiyan135960/fix_4772
Browse files Browse the repository at this point in the history
fix #4772
  • Loading branch information
jiyan135960 authored Nov 17, 2024
2 parents a0ecb08 + 6509ec4 commit 0fd90e7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Reports/2024/#313-2024.11.25.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,26 @@

[@AidenRao](https://weibo.com/AidenRao):在构建应用程序时,在主线程上执行 UI 更新任务是至关重要的,而使用多个后台线程时可能会遇到点麻烦。使用 @MainActor 属性将有助于确保您的 UI 总是在主线程上更新。文章详细解释了什么是 MainActor,全局 actor 的概念,以及如何在 Swift 中使用 MainActor。

### 🐎 [Flutter vs. Kotlin Multiplatform: Which Should You Choose for Cross-Platform Development?](https://medium.com/@rushabhprajapati20/flutter-vs-kotlin-multiplatform-which-should-you-choose-for-cross-platform-development-4bcf28358918)

[@Crazy](https://github.com/jiyan135960):从 React Native 开始,移动端的开发就发起了跨平台的改革,如今 Flutter,KMP,C++,都进入了跨平台的研发序列。本文主要对 Flutter 与 Kotlin 两个现今比较火的跨平台框架进行了对比。

Flutter 平台的优点主要为:

1. 统一代码库
2. 富有表现力和灵活的用户界面
3. 快速的开发周期
4. 强大的社区支持

KMP 平台的优点:

1. 原生一般的性能
2. 高互用性
3. 高代码共享能力
4. Google 的支持

总结一下:Flutter 主要用于项目启动、 MVP 功能、项目原型、有 UI 统一化的需求开发。KMP 主要用于大项目和已有代码库、需要高性能、需要多平台逻辑分享的功能开发。

## 工具

> 开发过程中常用的工具,及一些新工具的介绍
Expand Down

0 comments on commit 0fd90e7

Please sign in to comment.