Live data from Hacker News

Bare-metal Rust in Android

security.googleblog.com

121–124 of 124 posts

Re: Bare-metal Rust in Android

#121
post #60

Earlier quoted context omitted.

Or dead pointers used, or race conditions

Nope. Race conditions are an ordinary fact about our universe, Rust has those. (Safe) Rust doesn't have data races which are much stranger. Race conditions are just an ordinary effect where several actors are doing things and you need to be careful to ensure that they're co-ordinated properly if that's important. If Alice and Bob both conclude there's no milk, both then go to the store and buy milk, now there is too…

Man, I used to have the terminology right. I'm slipping since not doing async stuff in a while :)

Re: Bare-metal Rust in Android

#122

Earlier quoted context omitted.

> There's a reason Chrome is mostly written in C++ Yea, security is not a concern. Apparently.

They didn't have Rust around when they started.

That doesn't change anything. Security was simply never what chrome (or webkit to be fair) was built around compared to speed of the insanely inefficient browser stack.

Re: Bare-metal Rust in Android

#124
post #12

Earlier quoted context omitted.

Not having to use Java or any of its weird derivatives.

I implore you to try Kotlin; it’s a fantastic language and is a wonder to code in

Kotlin is what I meant by "weird derivatives"

But anyway I have used it. Didn't understand why it existed then. Still don't.

All these weird languages and UI frameworks where you write hundreds of lines of code just do simple UI layouts, no thanks.

Post reply on HN