1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-12-22 06:47:49 +02:00

More speaker notes about Android (#1501)

Helps with https://github.com/google/comprehensive-rust/issues/1083
This commit is contained in:
gurchetansingh
2023-11-28 11:19:04 -08:00
committed by GitHub
parent 6de9413ac3
commit d2aab63d15
3 changed files with 49 additions and 6 deletions

View File

@@ -1,10 +1,25 @@
# Welcome to Rust in Android
Rust is supported for native platform development on Android. This means that
you can write new operating system services in Rust, as well as extending
existing services.
Rust is supported for system software on Android. This means that
you can write new services, libraries, drivers or even firmware in Rust
(or improve existing code as needed).
> We will attempt to call Rust from one of your own projects today. So try to
> find a little corner of your code base where we can move some lines of code to
> Rust. The fewer dependencies and "exotic" types the better. Something that
> parses some raw bytes would be ideal.
<details>
The speaker may mention any of the following given the increased use of Rust
in Android:
- Service example: [DNS over HTTP](https://security.googleblog.com/2022/07/dns-over-http3-in-android.html)
- Libraries: [Rutabaga Virtual Graphics Interface](https://crosvm.dev/book/appendix/rutabaga_gfx.html)
- Kernel Drivers: [Binder](https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-0-08ba9197f637@google.com/)
- Firmware: [pKVM firmware](https://security.googleblog.com/2023/10/bare-metal-rust-in-android.html)
</details>