博客
关于我
【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 中开启二进制日志(Binlog)
查看>>
MySQL 中文问题
查看>>
MySQL 中日志的面试题总结
查看>>
mysql 中的all,5分钟了解MySQL5.7中union all用法的黑科技
查看>>
MySQL 中的外键检查设置:SET FOREIGN_KEY_CHECKS = 1
查看>>
Mysql 中的日期时间字符串查询
查看>>
mysql 中索引的问题
查看>>
MySQL 中锁的面试题总结
查看>>
MySQL 中随机抽样:order by rand limit 的替代方案
查看>>
MySQL 为什么需要两阶段提交?
查看>>
mysql 为某个字段的值加前缀、去掉前缀
查看>>
mysql 主从
查看>>
mysql 主从 lock_mysql 主从同步权限mysql 行锁的实现
查看>>
mysql 主从互备份_mysql互为主从实战设置详解及自动化备份(Centos7.2)
查看>>
mysql 主从关系切换
查看>>
MYSQL 主从同步文档的大坑
查看>>
mysql 主键重复则覆盖_数据库主键不能重复
查看>>
Mysql 事务知识点与优化建议
查看>>
Mysql 优化 or
查看>>
mysql 优化器 key_mysql – 选择*和查询优化器
查看>>