博客
关于我
【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 时间操作(当天,昨天,7天,30天,半年,全年,季度)
查看>>
MySQL 是如何加锁的?
查看>>
MySQL 是怎样运行的 - InnoDB数据页结构
查看>>
mysql 更新子表_mysql 在update中实现子查询的方式
查看>>
MySQL 有什么优点?
查看>>
mysql 权限整理记录
查看>>
mysql 权限登录问题:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
查看>>
MYSQL 查看最大连接数和修改最大连接数
查看>>
MySQL 查看有哪些表
查看>>
mysql 查看锁_阿里/美团/字节面试官必问的Mysql锁机制,你真的明白吗
查看>>
MySql 查询以逗号分隔的字符串的方法(正则)
查看>>
MySQL 查询优化:提速查询效率的13大秘籍(避免使用SELECT 、分页查询的优化、合理使用连接、子查询的优化)(上)
查看>>
mysql 查询数据库所有表的字段信息
查看>>
【Java基础】什么是面向对象?
查看>>
mysql 查询,正数降序排序,负数升序排序
查看>>
MySQL 树形结构 根据指定节点 获取其下属的所有子节点(包含路径上的枝干节点和叶子节点)...
查看>>