Exercises

๋งˆ์ง€๋ง‰ ์—ฐ์Šต๋ฌธ์ œ๋Š” ๋‹น์‹ ์˜ ํ”„๋กœ์ ํŠธ ์ค‘ ํ•˜๋‚˜๋ฅผ FFI๋กœ ๋Ÿฌ์ŠคํŠธ์™€ ์—ฐ๊ณ„ ํ•ด๋ณด๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋ช‡๊ฐ€์ง€ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค:

  • ๋‹น์‹ ์˜ AIDL์„œ๋น„์Šค๋ฅผ ๋Ÿฌ์ŠคํŠธ ํด๋ผ์ด์–ธํŠธ์—์„œ ํ˜ธ์ถœํ•ด๋ด…๋‹ˆ๋‹ค.
  • ๋‹น์‹ ์˜ ํ”„๋กœ์ ํŠธ์˜ ํ•จ์ˆ˜๋ฅผ ๋Ÿฌ์ŠคํŠธ๋กœ ์˜ฎ๊ธฐ๊ณ  ํ˜ธ์ถœํ•ด๋ด…๋‹ˆ๋‹ค.

For the last exercise, we will look at one of the projects you work with. Let us group up and do this together. Some suggestions:

  • Call your AIDL service with a client written in Rust.

  • Move a function from your project to Rust and call it.