comprehensive-rust
ndk
comprehensive-rust | ndk | |
---|---|---|
32 | 14 | |
26,092 | 1,884 | |
4.5% | 1.1% | |
9.8 | 3.0 | |
7 days ago | 21 days ago | |
Rust | ||
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
comprehensive-rust
- Comprehensive Rust V2
-
Scaling Rust Adoption Through Training
Thanks! We do include speaker notes on some pages (but not yet all[1]). We would love to expand this and PRs are very welcome for this :-)
I think videos will end up being made by someone other than me since I feel it takes too much effort when you don't have the right setup already. We have an issue and I'll update it as soon as I hear more about videos.[2]
[1]: https://github.com/google/comprehensive-rust/issues/1083
A bit more detail: we've been expanding our Rust training at Google over the last year. We've now had more than 500 Googlers go through Comprehensive Rust and they tell us that they really like it — also when we ask them again three months later :-)
The post is a huge Thank You! to the many people who have helped with the course, both inside and outside of Google. More than 30 Googlers (who already knew Rust) have picked up the course and taught it around the world.
People have used the material for [university classes](https://mo8it.com/blog/teaching-rust/) and there will soon be [online classes](https://twitter.com/mrtngslr/status/1696601520412783052) as well. I hope it will become a good resource for people to teach Rust in many different contexts!
Pull requests are always welcome, the whole thing is open source: https://github.com/google/comprehensive-rust/.
-
Any open source projects willing to take in juniors?
Yes, I would love to have more contributors to https://github.com/google/comprehensive-rust and https://github.com/google/mdbook-i18n-helpers!
- Comprehensive Rust: course used by the Android team at Google
- GitHub - google/comprehensive-rust: This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust to everyone.
- The Rust course used by the Android team at Google
-
google developed course on Rust
That's done with a bit of JavaScript. It's not super elegant... I would love to have someone with current JavaScript skills improve it :D
ndk
- Android NDK finally support C++20
-
CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
Android folks are thinking about using WASM for NDK, with compilation to native code on the PlayStore.
https://github.com/android/ndk/issues/1771
-
New Rust course by Android: Comprehensive Rust 🦀
We have looked into what work would be required to support Rust in the NDK, but even if we did it (which is not certain!) it's a lot of work. Today, we're mainly investing in the lower-level work (compiler changes for some of the complexity around linkage on android, etc.). Feel free to follow along / make suggestions here: https://github.com/android/ndk/issues/1742
-
Ocrmypdf stopped working in termux with python 3.10
If it used to work then you probably just need to reinstall(/recompile) it with something like pip3 install ocrmypdf --force. Most likely issue happens because some library it links against had a major upgrade, which caused the mentioned symbol to disappear (could also be a variant of https://github.com/android/ndk/issues/1614, but seems unlikely)
- Roadmap for supporting Rust in Android apps
-
Ask HN: Pros and Cons of Switching from Linux to M1 MacBook in 2022
I have an M1. I compile Android apps in Android Studio a lot. For a small Android app without many bells and whistles M1 compiles fast (even faster than my Ubuntu laptop). However some Android apps I compile have some C/C++ code compiled with the NDK and accessed via JNI - and which now have to compile on an ARM chip - and that is a rigmarole currently ( https://github.com/android/ndk/issues/1299 ) to the extent that I am just sticking with Ubuntu on x86-64 until ARM is fully supported in Android Studio full release (not some alpha/canary version).
Also, I have never used the MacOS Active Trader Pro app, but I downloaded it to my M1 and it did not work, and online old Macbook users say it works and people with M1s say it has problems on M1.
So my experience is look to see what apps support M1 and ARM. I can tell you that Rosetta does not work for everything.
Apps were not working, and I put Rosetta in, and now some apps work and some don't. So this is another thing to look into.
-
Apple’s risky, yearslong effort to design its own silicon is paying off
> The new architecture also doesn't make much difference. Stuff just works, though homebrew needs to be told it's not on Intel anymore (terraform breaks weirdly if you don't do this). There seem to be plenty of M1 versions for your generic coder stuff.
I bought an MBP with M1 recently. The main reason was to run video conferencing software, which so far it has done well at. That it is a powerful machine yet small and lightweight was a plus for it as well - its easy portability.
I bought it for some secondary reasons, but those have not panned out yet. In mid-February I tried to compile a program with the release version of Android Studio, the project had NDK (C language) components. Even with Rosetta it was not working ( https://github.com/android/ndk/issues/1299 ). Google said they had M1 support coming down in Android Studio canary version and other fixes coming out as well in the future. I'm not in a rush, but it compiles on my Ubuntu box and on Intel-based Macs, but not M1 out of the box yet (not without having to fiddle around to do it any how).
For my Android projects that were fully Java/Kotlin based, the M1 did compile fast though.
Also, Fidelity said they have an application called Active Trader Pro that works on Macs. It's not something I ever used, or that I would probably use regularly, but I decided to check it out. It would not work for me either, and support forums made mention of difficulties it has on M1.
One thing I haven't tried yet is loading Unity 3d and futzing around with it, hopefully when I have the time to do that it will be working.
Still happy with my purchase as it's working for my primary need, and more Android Studio support seems to be coming, and it is not a big rush to me. It's probably good that Apple is pulling software into a world where it supports ARM (kind of weird Android code primarily targets ARM devices, yet has trouble compiling on ARM devices). I had heard about how fast things compile on it, but it was even faster than I expected. So all in all I like it, and hopefully more software will be supported as time goes on.
-
Linux Developer Laptops: Dell's Precision 5500 series reigns supreme
> And ARM compatibility issues not really helping
There were two things I wanted to try on my MBP w/ M1 - compiling an Android app that has some C code, and also to run Fidelity's Active Trader Pro program (not that I would use it that actively). I also installed the Rosetta stuff it prompted for.
The Active Trader Pro program would not run.
In Android Studio, the production version can not compile with CMake as it can on Intel-based Macs yet ( https://github.com/android/ndk/issues/1299 ). They say there is stuff in the beta/alpha/canary branches where it is working, but I am not in a rush and will wait for that to make its way into production.
> It’s good, fast
Yes, I did see the speed, especially with a normal Kotlin/Java Android Studio compile, on 16GB RAM.
-
CANNOT LINK EXECUTABLE "findimagedupes"
Could you open an issue at github.com/termux/termux-packages? Miiight be a variant of https://github.com/android/ndk/issues/1614, but we haven't seen that for golang packages before
-
Anyone tried the M1 Pro/Max with AS yet?
NDK development is not supported, but my understanding is that everything else is good to go.
What are some alternatives?
book - The Rust Programming Language
kotlin-wasm-examples - Examples with Kotlin/Wasm
mdbook-i18n-helpers - Translation support for mdbook. The plugins here give you a structured way to maintain a translated book.
disable-webassembly - Browser hacks to disable WebAssembly (WASM)
k8s-openapi - Rust definitions of the resource types in the Kubernetes client API
pybind11 - Seamless operability between C++11 and Python
teach-rs - A modular, reusable university course for Rust
jvm-alternatives-to-js - Repository comparing JVM alternatives to JS: CheerpJ, GWT, JSweet, TeaVM, Vaadin Flow, bck2brwsr (bonus: React, Dart)
velo - App for brainstorming & sharing ideas 🦀 Learning Project
termux-packages - A package build system for Termux.
paat
Bytecoder - Framework to interpret and transpile JVM bytecode to JavaScript, OpenCL or WebAssembly.