当前位置:首页 > 报告详情

陈东 - 利用Rust重塑移动应用开发-230618.pptx

上传人: 2*** 编号:132052 2023-06-30 22页 2.10MB

1、第三届中国第三届中国Rust开发者大会开发者大会利用利用Rust重塑移动应用开发重塑移动应用开发陈东 Aaron ChenCTO AccountLabsRust China Conf 20232023 移动应用开发移动应用开发有那些选择?有那些选择?1.Native2.Flutter 3.React Native?利用Rust重塑移动应用开发React Native is an open-source JavaScript framework,designed for building apps on multiple platforms.-Code reusability-Hot reloa

2、d-Javascript ecosystem iconFlutter,is an open source framework by Google for building beautiful,natively compiled,multi-platform applications from a single codebase.-Single codebase-Hot reload-Rendering Engine利用Rust重塑移动应用开发跨平台开发的优势和局限性跨平台开发的优势和局限性Pros:-Fast-Single Codebase-Third-party support(Javasc

3、ript better than Dart)利用Rust重塑移动应用开发跨平台开发的优势和局跨平台开发的优势和局限性限性Cons:-Performance-Native feature utilize-Existing Codebase跨平台开发到到底跨平台开发到到底应该跨什么?应该跨什么?UI or Logic?利用Rust重塑移动应用开发Rust在移动端应在移动端应用的价值用的价值 Rust is the only advanced choice for cross platform development.利用Rust重塑移动应用开发Rust的特点的特点Why Rust?-Cross p

4、latform-Performance-Thread Safe-Memory Safe-Love利用Rust重塑移动应用开发Rust在移动应用在移动应用开发中的应用开发中的应用Why Rust?-Cross platform-Performance-Memory Safe-Love利用Rust重塑移动应用开发PhoTto/image/chartKeystoneKeystone is aiming to develop the most secure and easyuse hardware wallet for the Web3 world利用Rust重塑移动应用开发Photo/image/c

5、hart采用采用Rust重构业务逻辑重构业务逻辑的背景和动机的背景和动机 PerformanceThe same business logic will run on different platforms such as embedded devices,IOS,Android,etc.It is an inevitable choice for our business to choose a language that can support multiple platforms.Share Logic利用Rust重塑移动应用开发Keystone App is a mobile appl

6、ication developed with React native.Due to some computationally intensive tasks,using Javascript is very poor.Therefore,we plan to use Rust to provide high performance 2);Photo/image/chartRust FFIRust FFI(Foreign Function Interface)refers to the ability of Rust programming language to interface with

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文由Accountlabs的CTO陈东分享,介绍了其团队在移动端使用Rust语言进行开发的实践。Rust是一种注重性能、内存安全和并发处理能力的编程语言。陈东指出,对于重业务逻辑的应用,跨平台开发应跨越业务逻辑,而UI可以依据不同平台的特点进行开发。他们团队利用Rust重构了原本用React Native开发的Keystone应用,以提高性能。Rust的跨平台支持和性能使得它在移动应用开发中具有优势。他们通过Rust FFI接口技术,将Rust代码与iOS和Android的原生代码相结合,实现了业务逻辑的共享和性能的提升。
"Rust如何重塑移动应用开发?" Rust与React Native、Flutter相比有何优势?" "Rust在移动端应用开发中的实际应用案例分享?"
客服
商务合作
小程序
服务号
折叠