# Android의 Rust 도입의 현주소

> Clean Markdown view of GeekNews topic #7939. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=7939](https://news.hada.io/topic?id=7939)
- GeekNews Markdown: [https://news.hada.io/topic/7939.md](https://news.hada.io/topic/7939.md)
- Type: news
- Author: [mastotron](https://news.hada.io/@mastotron)
- Published: 2022-12-02T09:42:48+09:00
- Updated: 2022-12-02T09:42:48+09:00
- Original source: [security.googleblog.com](https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html)
- Points: 26
- Comments: 3

## Topic Body

* 안드로이드 팀은 Android 11부터 Rust를 도입하기 시작  
  * Rust 코드의 비중은 점점 늘어나 최신 버전인 Android 13에서 새로 작성된 Rust 코드의 비중은 거의 C 언어에 근접  
* 이 결과 메모리 취약점은 2019년 223개에서 2022년 85개로 크게 감소  
* unsafe한 코드의 비율과 실제 발생하는 취약점 수를 비교해 보니 상관관계가 있는 것으로 드러남. 실제로 memory safe 언어를 사용하는 것이 취약점 감소에 도움이 되는 것으로 보고 있음.  
* 현재까지 Rust로 작성된 코드에서 발생한 메모리 취약점은 **0개**

## Comments



### Comment 13570

- Author: ifmkl
- Created: 2022-12-02T15:25:13+09:00
- Points: 1

아아 이것은 러스트라는 것이다. 인건가요 ㅎㅎ

### Comment 13567

- Author: lformula
- Created: 2022-12-02T13:24:16+09:00
- Points: 1

아아... 이것이 러스트인가...

### Comment 13564

- Author: kyc1682
- Created: 2022-12-02T11:13:11+09:00
- Points: 1

멋져요
