Live data from Hacker News

Bare-metal Rust in Android

security.googleblog.com

1–10 of 124 posts

Re: Bare-metal Rust in Android

#4
post #3
post #2

Is there similar effort from Apple?

I don't believe Apple has embraced Rust the same way Google has. Particularly their firmware is still very based on C.

Specifically a dialect called Firebloom (supposedly anyway)

https://saaramar.github.io/iBoot_firebloom/

Re: Bare-metal Rust in Android

#6

Ok, now enable us to let create Android Applications entirely in Rust (including the GUI). Let's get rid of Kotlin/Java monopoly in Android App development. Shall we?

What would rust achieve aside from just enabling another, entirely distinct from the existing workflow, language?

Haven’t android apps been compiled to native code since like 2012? (I actually don’t know, I left android a while ago and stopped caring what they do)

Re: Bare-metal Rust in Android

#8
post #4
post #3

Earlier quoted context omitted.

I don't believe Apple has embraced Rust the same way Google has. Particularly their firmware is still very based on C.

Specifically a dialect called Firebloom (supposedly anyway) https://saaramar.github.io/iBoot_firebloom/

Possible related to the ‘-fbounds-safety’ feature they’ve proposed for Clang

https://discourse.llvm.org/t/rfc-enforcing-bounds-safety-in-...

Re: Bare-metal Rust in Android

#10
post #2

Is there similar effort from Apple?

What benefit would Apple get from this? They want you all in on an ecosystem they control. EDIT: Thought OP was talking about writing iOS apps using Rust.

Apple does use Rust, though from job postings, we can infer it's more like network services than firmware.

Regardless though, I don't see how the implementation language of your firmware is locking you into a specific ecosystem, so this criticism seems misguided to me.

Post reply on HN