With C++

CXX ํฌ๋ ˆ์ดํŠธ๋Š” ๋Ÿฌ์ŠคํŠธ์™€ C++ ์‚ฌ์ด์˜ ์•ˆ์ „ํ•œ ์ƒํ˜ธ์šด์šฉ์„ฑ์„ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•ด์ค๋‹ˆ๋‹ค.

์ „์ฒด์ ์ธ ์ ‘๊ทผ ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

The CXX crate makes it possible to do safe interoperability between Rust and C++.

The overall approach looks like this:

์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ๋Š”CXX ํŠœํ† ๋ฆฌ์–ผ ๋ฅผ ์ฐธ์กฐํ•ฉ๋‹ˆ๋‹ค.

See the CXX tutorial for an full example of using this.