# CXX - Rust와 C++간의 안전한 Interop 라이브러리

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6127](https://news.hada.io/topic?id=6127)
- GeekNews Markdown: [https://news.hada.io/topic/6127.md](https://news.hada.io/topic/6127.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-03-12T09:56:50+09:00
- Updated: 2022-03-12T09:56:50+09:00
- Original source: [cxx.rs](https://cxx.rs/)
- Points: 7
- Comments: 0

## Topic Body

- Rust 에서 C++을, C++에서 Rust 코드를 안전하게 호출하는 메커니즘을 제공   
→ Safe Binding을 위한 저수준 작업들을 처리   
→ 타입 및 함수 시그니처를 정적 분석하고, 한쌍의 코드 생성기로 양쪽 경계를 채움   
→ 생성된 FFI(foreign function interface) 브릿지 코드는 거의 오버헤드 없음 (no copying, no serialization, no memory allocation, no runtime checks)

## Comments



_No public comments on this page._
