博客
关于我
【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/

你可能感兴趣的文章
MySQL8修改密码的方法
查看>>
Mysql8在Centos上安装后忘记root密码如何重新设置
查看>>
Mysql8在Windows上离线安装时忘记root密码
查看>>
MySQL8找不到my.ini配置文件以及报sql_mode=only_full_group_by解决方案
查看>>
mysql8的安装与卸载
查看>>
MySQL8,体验不一样的安装方式!
查看>>
MySQL: Host '127.0.0.1' is not allowed to connect to this MySQL server
查看>>
Mysql: 对换(替换)两条记录的同一个字段值
查看>>
mysql:Can‘t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock‘解决方法
查看>>
MYSQL:基础——3N范式的表结构设计
查看>>
MYSQL:基础——触发器
查看>>
Mysql:连接报错“closing inbound before receiving peer‘s close_notify”
查看>>
mysqlbinlog报错unknown variable ‘default-character-set=utf8mb4‘
查看>>
mysqldump 参数--lock-tables浅析
查看>>
mysqldump 导出中文乱码
查看>>
mysqldump 导出数据库中每张表的前n条
查看>>
mysqldump: Got error: 1044: Access denied for user ‘xx’@’xx’ to database ‘xx’ when using LOCK TABLES
查看>>
Mysqldump参数大全(参数来源于mysql5.5.19源码)
查看>>
mysqldump备份时忽略某些表
查看>>
mysqldump实现数据备份及灾难恢复
查看>>