博客
关于我
【Rust日报】2020-03-05 在 Flutter 插件上运行原生 Rust!
阅读量:690 次
发布时间:2019-03-17

本文共 1397 字,大约阅读时间需要 4 分钟。

在 Flutter 插件上运行原生 Rust!

该项目是一个 flutter 的插件模板,它对所有可用的 iOS 和 Android 架构提供了交叉编译原生 Rust 代码的开箱即用支持,Dart 语言可以通过 FFI(Foreign Function Interface) 调用它。

该项目提供了一流的FFI支持,表现如下:

  • No Swift or Kotlin wrappers

  • No message channels

  • No async calls

  • No need to export aar bundles or .framework's

更多了解更看项目地址:https://github.com/brickpop/flutter-rust-ffi

reddit上参与讨论:https://www.reddit.com/r/rust/comments/fdzgc8/found_this_to_be_extremely_interesting/

chip8.rs

chip8.rs 博文主要讲述如何使用 Rust 实现 PineTime 智能手表的 CHIP-8 游戏模拟器。

原文地址:https://lupyuen.github.io/pinetime-rust-mynewt/articles/chip8

Serverless + Rust 的尝试

I lightly documented my experience with Rust serverless using Cloudflare Workers.

TL;DR There is a lot of promise, but the overall state of Rust on serverless is pretty immature. This is likely to change in the next 12 months.

UPDATE: For Cloudflare workers you can access the Workers KV API directly using wasm_bindgen. This improves performance significantly. A full example can be found here: https://github.com/jRiest/the-best-goats/

reddit: https://www.reddit.com/r/rust/comments/fdmzyh/serverless_rust_i_tried_it_with_cloudflare_workers/

半小时学习 Rust

Rust 学起来不是很难么?半小时怎么可能...让我们一起来看看这位小哥写的博客,30 分钟速览 Rust 语法的概要,博客地址:https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

timetill.rs 项目

timetill.rs 是一个社区项目,致力于收集来自世界各地的 Rust 会议。Timetill.rs 是一个开放项目,社区中的任何人都可以参与。

详情请看:https://timetill.rs/#/


From 日报小组 @Jancd

转载地址:http://qwohz.baihongyu.com/

你可能感兴趣的文章
MySQL 添加列,修改列,删除列
查看>>
mysql 添加索引
查看>>
MySQL 添加索引,删除索引及其用法
查看>>
mysql 状态检查,备份,修复
查看>>
MySQL 用 limit 为什么会影响性能?
查看>>
MySQL 用 limit 为什么会影响性能?有什么优化方案?
查看>>
MySQL 用户权限管理:授权、撤销、密码更新和用户删除(图文解析)
查看>>
mysql 用户管理和权限设置
查看>>
MySQL 的 varchar 水真的太深了!
查看>>
mysql 的GROUP_CONCAT函数的使用(group_by 如何显示分组之前的数据)
查看>>
MySQL 的instr函数
查看>>
MySQL 的mysql_secure_installation安全脚本执行过程介绍
查看>>
MySQL 的Rename Table语句
查看>>
MySQL 的全局锁、表锁和行锁
查看>>
mysql 的存储引擎介绍
查看>>
MySQL 的存储引擎有哪些?为什么常用InnoDB?
查看>>
Mysql 知识回顾总结-索引
查看>>
Mysql 笔记
查看>>
MySQL 精选 60 道面试题(含答案)
查看>>
mysql 索引
查看>>