Comments (2)
Hi @Arthur-Milchior, thanks for raising this!
You have a great point. As I've written here and there, I work on Android — I'm part of Android Security we promote Rust in AOSP to improve security. My teams had written extensively about this on the Google Security Blog.
I wrote the course to help other Android engineers onboard with Rust. I've never done any Android application development and I didn't take into account how the course would be received by the huge amount of application developers.
Do you think it would make sense to describe Rust from the point of view of Android application developers? Are there established techniques for using Rust in Android apps? If so, we could consider adding content about this. I won't be able to teach it in my classes — but that could be okay!
I'm thinking that we'll need to make the course customizable anyway. So we could perhaps have a number of building blocks that people can mix into a course that works for their use case.
from comprehensive-rust.
There are some explanations on line about how to use Rust in Android app. But yeah, it’d be nice to have an official one by Android team/Google. Android updates regularly, on the other hand, it’s not always clear whether a medium post found by searching online will be up to date. Whether it follows best practice.
Admittedly, I don’t expect we need an introduction to Rust specifically for Android devs, unless you eventually plan to add API call that can be done from Rust without going through the JVM. But something such as https://developer.android.com/studio/projects/add-native-code , that assumes that the reader knows already C++, CMake, would really be helpful. Because it would ensure that there is one set of best practice that each software don’t have to invent by themselves.
Personally, I know that, on AnkiDroid, a software I maintain, I would not even know what to give reader to read if they want to understand how Rust and Kotlin interact. Our decision was to have the rust part in a different repository https://github.com/ankidroid/Anki-Android-Backend , include it in the Kotlin part https://github.com/ankidroid/Anki-Android/ and ensure that most of our contributors don’t need to know anything about rust. And even if they ever need to call a Rust function, they just need to know protobuf and call our API. That actually works greatly, but does not help that much grows the knowledge of our contributors.
By the way, if you want to chat this more, don’t hesitate to add a meeting on my calendar after I come back from holiday.
from comprehensive-rust.
Related Issues (20)
- `From` and `Into` slide should emphasize losslessness and infallibility
- `let`...`else` example should demonstrate denesting HOT 1
- syntax: explain that rust pervasively allows separators to be used as terminators
- Call out `Neg` trait in speaker notes
- cortex-m-rt 0.7.4 has been yanked
- Possible clarification in chapter "6.2.1. for" HOT 1
- Page `Exercise: Iterator Method Chaining` rust code not rendering HOT 1
- Most code snippets don't work anymore HOT 2
- Dead link found in the glossary.md translations HOT 1
- Korean (ko): Catch-up with EN version
- Spanish (es): Catch-up with EN version HOT 15
- Brazilian Portuguese (pt-BR): Catch-up with EN version
- Chinese Simplified (zh-CN): Catch-up with EN version
- Chinese (Traditional) (zh-TW): Catch-up with EN version
- Make `Fork` useful in Dinning Philosopher exercises HOT 1
- The language switching menu requires clicking on the text, not elsewhere in the menu item HOT 5
- dprint fmt failing HOT 2
- Local `dprint` and `dprint` in CI want opposite things HOT 1
- Rust
- Automated slide size analysis with a new slide scoring tool
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comprehensive-rust.