博客
关于我
【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 /*! 50100 ... */ 条件编译
查看>>
mudbox卸载/完美解决安装失败/如何彻底卸载清除干净mudbox各种残留注册表和文件的方法...
查看>>
mysql 1264_关于mysql 出现 1264 Out of range value for column 错误的解决办法
查看>>
mysql 1593_Linux高可用(HA)之MySQL主从复制中出现1593错误码的低级错误
查看>>
mysql 5.6 修改端口_mysql5.6.24怎么修改端口号
查看>>
MySQL 8.0 恢复孤立文件每表ibd文件
查看>>
MySQL 8.0开始Group by不再排序
查看>>
mysql ansi nulls_SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON 什么意思
查看>>
multi swiper bug solution
查看>>
MySQL Binlog 日志监听与 Spring 集成实战
查看>>
MySQL binlog三种模式
查看>>
multi-angle cosine and sines
查看>>
Mysql Can't connect to MySQL server
查看>>
mysql case when 乱码_Mysql CASE WHEN 用法
查看>>
Multicast1
查看>>
MySQL Cluster 7.0.36 发布
查看>>
Multimodal Unsupervised Image-to-Image Translation多通道无监督图像翻译
查看>>
MySQL Cluster与MGR集群实战
查看>>
multipart/form-data与application/octet-stream的区别、application/x-www-form-urlencoded
查看>>
mysql cmake 报错,MySQL云服务器应用及cmake报错解决办法
查看>>